.NET tutorials

Why Blazor Wasm is the best choice for API integration

Why Blazor Wasm is the best choice for API integration

Why you should use Blazor WebAssembly over JavaScript frameworks for API integration. Examples of integrating a CRUD API in Blazor Wasm.
How to add Google Authentication to a ASP.NET Core application

How to add Google Authentication to a ASP.NET Core application

Setting up a new project in Google Cloud Platform and creating OAuth credentials. Then, we integrate Google Authorisation in ASP.NET Core MVC app.
Create your own logging provider to log to text files in .NET Core

Create your own logging provider to log to text files in .NET Core

Looking at the LogLevel options and the Console logging provider in .NET Core. Creating our own logging provider to write log events to text files.
Using Hosted Services in ASP.NET Core to create a "most viewed" background service

Using Hosted Services in ASP.NET Core to create a "most viewed" background service

Using ASP.NET Core's Hosted Service for background tasks. Initialising a new scope in IServiceProvider to use Entity Framework in Hosted Services.
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.