Identity in ASP.NET Core

Identity is the main package for managing authentication and authorization in an ASP.NET Core application. This package allows user registration and login, and uses claims to control user access within the application. A new ASP.NET Core application can be initialized with Identity through the Visual Studio project creation wizard. This process provides additional UI elements … Read more

Razor Pages and Entity Framework

Razor Pages provide a simplified approach to front end route handling and view provision. Combined with Entity Framework, the development of ASP.NET Core applications can be streamlined. This example use three models: Enquiries, Media and Reporters. A custom database context, AppDbContext is then defined, with a DbSet<T> declared for each resource collection and additional constraints … Read more

Learning C# and ASP.NET Core

In a bid to break into the enterprise programming space, I have decided to embark on a learning journey through the world of C# and the ASP.NET Core framework. The first application I have developed uses a test-driven development approach and demonstrates the use of some basic services including static files, web and api endpoints, … Read more