.NET tutorials

How to install an ASP.NET Core .NET 5 app on Ubuntu 20.04

How to install an ASP.NET Core .NET 5 app on Ubuntu 20.04

Run an ASP.NET Core Web API in .NET 5 on Ubuntu 20.04. Using A2 Hosting to purchase a Linux VPS. Run on Kestrel and proxy to Apache.
Blazor Server vs. Blazor WebAssembly: Four ways in which they differ

Blazor Server vs. Blazor WebAssembly: Four ways in which they differ

Blazor Server versus WebAssembly (Wasm). Four ways on how the Blazor hosting models differ, including performance & offline support.
Four useful tips when using ASP.NET Core's TestServer in xUnit: TestServer - Part 2

Four useful tips when using ASP.NET Core's TestServer in xUnit: TestServer - Part 2

Learn to change the DbContext lifetime, fire a POST request & add a Authorization header with ASP.NET Core's TestServer in xUnit.
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.