.NET tutorials

Use ASP.NET Core's TestServer in xUnit to test Web API endpoints: TestServer - Part 1

Use ASP.NET Core's TestServer in xUnit to test Web API endpoints: TestServer - Part 1

Configure an instance of WebHostBuilder and use it in ASP.NET Core's TestServer to test Web API endpoints in an xUnit test project.
Allow your users to login to your ASP.NET Core app through Facebook

Allow your users to login to your ASP.NET Core app through Facebook

Use Facebook Login to authenticate users to your ASP.NET Core application. Create a Facebook app, using the App Id and App Secret.
Four reasons why your ASP.NET Core application is not working in IIS

Four reasons why your ASP.NET Core application is not working in IIS

ASP.NET Core Application Not Working in IIS? We fix Interval Server Errors 500.19 & 500.21, plus 500.30 ANCM In-Process Start Failure
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.