.NET tutorials

Create CRUD API endpoints with ASP.NET Core & Entity Framework

Create CRUD API endpoints with ASP.NET Core & Entity Framework

We use an ASP.NET Core API to create generic CRUD Endpoints. Using Entity Framework's DbContext & Migrations, as well as Reflection & Controllers.
How to publish an ASP.NET Core & React SPA to IIS

How to publish an ASP.NET Core & React SPA to IIS

Using Visual Studio to publish an ASP.NET Core app, integrated with a React SPA. Then, using ASP.NET Core Runtime's Hosting Bundle to run in IIS.
Using SignalR in ASP.NET Core & React to send messages

Using SignalR in ASP.NET Core & React to send messages

Integrating React TypeScript and ASP.NET Core to send messages. Create a MVC API Controller to send a POST request through JSON to use with SignalR.
Which date and time type to use in SQL Server 2019?

Which date and time type to use in SQL Server 2019?

Examining the precision, storage bytes and accuary of the different SQL Server 2019 Date and Time Types, including date, datetime datetime2 and datetimeoffset.
ASP.NET Core MVC API: How to perform a partial update using HTTP PATCH verb

ASP.NET Core MVC API: How to perform a partial update using HTTP PATCH verb

Using a ASP.NET Core API application to create a PATCH method within a controller. Test in Postman to partially update the record using the PATCH HTTP verb.
Create a small blog in Blazor - Part 4 - Build category and page Razor components

Create a small blog in Blazor - Part 4 - Build category and page Razor components

We build up our Blazor blog, building up our NavMenu, Category and Post Razor components, using @page and OnParametersSetAsync to do this.
Create a small blog in Blazor - Part 3 - Build Entity Framework queries

Create a small blog in Blazor - Part 3 - Build Entity Framework queries

We create services, with methods that contain Entity Framework queries for our blog before adding the services to Dependency Injection.
Create a small blog in Blazor - Part 2 - Entity Framework integration

Create a small blog in Blazor - Part 2 - Entity Framework integration

We set up our entities and DbContext to integrate Entity Framework into our Blazor Server app. We also create the SQL Server database required.
Create a small blog in Blazor - Part 1 - Create application in Visual Studio

Create a small blog in Blazor - Part 1 - Create application in Visual Studio

We get Visual Studio to create our Blazor Server App. Afterwards, we examine what files have been created and run through the demo Razor Components created.
Using Entity Framework in a Blazor Server application

Using Entity Framework in a Blazor Server application

Find out how to change Entity Framework's scope to Transient and how to create new service scopes to use Entity Framework in Blazor.