C# Corner


Entity Framework Core Migrations

Eric Vogel uses code samples and screenshots to demonstrate how to do Entity Framework Core migrations in a .NET Core application through the command line and in code.

ASP.NET Core Security, Part 2

Eric Vogel follows up on his previous post on getting started with ASP.NET Core security. Now that .NET Core 3.0 is out, he shows how to upgrade the code from Part 1 to ASP.NET Core 3.0, put pages behind login, create user roles, and use existing roles to restrict access to pages.

ASP.NET Core Security, Part 1

Eric Vogel kicks off his series on ASP.NET Core security by showing how to set up authentication to register, log in and log out a user account in an ASP.NET Core MVC application.

ASP.NET Core: Learning the Ropes, Part 3

Eric Vogel uses code samples and screenshots to demonstrate how to create and use the views and controller for an ASP.NET MVC Core CRUD application.

An Introduction to Templated Components in Blazor

Templated components expose customizable sections via parameters, and consumers then pass in their own templates for these sections that the component will use when rendering. They make it really easy to create some high-level reusable components, especially when incorporating generics.

ASP.NET Core: Learning the Ropes, Part 2

Eric Vogel provides many code samples to show how to use Entity Framework Core for an ASP.NET Core MVC application.

ASP.NET Core: Learning the Ropes, Part 1

Eric Vogel shows how to create a new ASP.NET Core Web application using Visual Studio 2017.

ServiceStack and Razor Forms

ServiceStack moves to a complete Web application framework with support for Razor forms.

What's New with .NET Framework 4.6, Part 1: API Updates

For this first in a series, Eric Vogel checks out the new IReadOnlyCollection<T> Stack<T> and Queue<T> implementations in .NET Framework 4.6.

ASP.NET MVC 6 and Tag Helpers, Part 2

Now that you know how to create tag helpers, let's create a custom one that loads a bootstrap-select dropdown via a remote URI.

ASP.NET MVC 6, Part 1: Tag Helpers

Clean up your Razor views with the new tag helpers in ASP.NET MVC 6.

Roslyn Update: The State of the .NET Compiler Platform

Now that Visual Studio 2015 is upon us, here's a brief overview of the capabilities of the .NET Compiler Platform.

TDD for ASP.NET MVC, Part 5: Client-Side JavaScript

Let's wrap up this series on TDD for ASP.NET MVC and talk about the view layer via JavaScript.

TDD for ASP.NET MVC Part 4: Unit Testing View Model Validation

How to unit test view model validation, focusing on the controller when the model is bound to a controller action.

Tips for Snagging That Senior Developer Job

You're vying for a senior developer position. Here's what you need to know to win over your interviewer.

Upcoming Events