Category Archives: .Net Core 2.0

5 part video series on Entity Framework Core

Entity Framework Core is the recommended ORM (object to database mapper) for .NET Core platform. It provides support for LINQ queries, entity relationships, change tracking and database migrations. EF Core supports SQL Server, SQLite, MySQL and PostgreSQL. It is ideal choice for CRUD applications built using ASP.NET Core MVC and other .NET choices. Well, deep… Read More »

.NET Core Apps Integration Testing

Integration tests evaluate an application on a broader level than unit tests. Unit tests are used to test isolated software components, such as individual class methods. Integration tests confirm all layers are properly working when fully processing a request. Basically, Integration tests are used to test the app’s infrastructure including databases and file systems which… Read More »

ASP.Net Core external provider authentication using OpenID Connect + Cookie Auth middleware

OpenID Connect is an authentication protocol, built on top of OAuth 2.0, that can be used to securely sign users in to web applications. This authentication protocol allows you to perform SSO (single sign-on). It introduces the concept of an ID token, which allows the client to verify the identity of the user and obtain… Read More »

ASP.Net Core Web API Bearer Token validation with a third party federated identity provider code sample

Federated Identity is a single sign-on (SSO) service that allows users to gain access to corporate resources at enterprise level with same set of credentials. Federated Identity system implements an authentication mechanism managed by external identity provider. This can minimize administrative overhead and improve the user experience. Federated Identity has the advantage that management of… Read More »

ASP.Net MVC Core Action filter sample for parameter validation

Filters have a special place in ASP.Net MVC Framework. Filters are custom classes/middlware that provide declarative and programmatic means to add pre-action and post-action behavior to controller action methods . Filters run in the context of MVC action processing pipeline. ASP.Net MVC supports 4 different types of filters. Authorization filter – deals with authorization logic.… Read More »