Microsoft.Extensions.Identity.Core is the minimum ASP.NET Core Identity package you need to install in order to get start working with the core functionality of the library. We have seen how to do this in the Getting Started part of these ASP.NET… Read More ›
ADO.NET Entity Framework
Building REST APIs using ASP.NET Core and Entity Framework Core
The source code for this post has been updated to VS 2017 (master branch). There is also a VS2015 branch for Visual Studio 2015. ASP.NET Core and Entity Framework Core are getting more and more attractive nowadays and this post… Read More ›
Cross-platform Single Page Applications with ASP.NET Core 1.0, Angular 2 & TypeScript
The source code for this post has been updated to VS 2017 and Angular 4 (master branch). There is also a VS2015 branch for Visual Studio 2015. ASP.NET Core 1.0 and Angular 2 are probably the hottest new frameworks in… Read More ›
ASP.NET Web API Unit Testing
Unit testing can be beneficial to many aspects in software develepment, from the lowest level that is the source code to the highest level and the end user’s experience. Writing automated tests helps finding defects earlier in the development lifecycle… Read More ›
BrowseDotNET: Manage your .NET Solutions and code snippets
BrowseDotNET is an open source ASP.NET MVC Web Application I created, that can help you manage your computer’s .NET solutions and code samples (programming language indepented) in one place. What does it solve? It’s common sense for developers to have… Read More ›
Web API powerful Custom Model Validation with FluentValidation
Since DataAnnotations were introduced, developers found an easy way for setting up their database (especially those who use Code First development) while adding at the same time validation logic to their domain objects. In the Web API side, when an… Read More ›
Map CRUD Stored Procedures to Entities with Entity Framework
There are a few different ways to execute a Stored Procedure through a C# application, each of them following different principles. One of the most used approach is to use an SqlCommand object of type CommandType.StoredProcedure and invoke it’s ExecuteReader()… Read More ›
Related entities and live search with Web API and Entity Framework
Retrieving and manipulating Entities with no related data using Web API and Entity Framework is quite easy and most times, by the time you create a Web API controller using a specific Model class and a DbContext instance you won’t… Read More ›
ListView Control in ASP.NET 4.5
ListView control is probably the best among all data bind build-in controls in ASP.NET Framework. It is used extensively by ASP.NET Web Forms developers and is preferred between other similar controls, such as the GridView or the DataList. The reason… Read More ›
Retrieving data with DbContext
DbContext class is the one among others that the Entity Framework team has created, in order to facilitate developers when accessing and manipulating database data. In a nutshell, DbContext, DbSet, and DbQuery are the classes that have encapsulated the most… Read More ›