Tutorials on ASP.NET Core, Blazor, jQuery, JavaScript, Entity Framework, Identity, WordPress, SQL, HTML & more


Host ASP.NET Core on Nginx in Linux

Last Updated: April 6, 2024

Nginx is the king of Web Servers and can be used to host ASP.NET Core apps on a Linux system. Nginx acts as a reverse proxy server to redirect traffic to an ASP.NET Core web app running on Kestrel server. In this tutorial we are going to host ASP.NET Core app on Ngnix in Ubuntu Linux from start and so kindly read this tutorial on one go to understand the full process.

(more…)

Host ASP.NET Core app on IIS

Last Updated: March 30, 2024

In this article we will host our ASP.NET Core app on Internet Information Services (IIS) in Windows. Make sure you have .NET SDK installed in your system. You can download it from here.

(more…)

How to Host ASP.NET Core App in a Windows Service

Last Updated: March 27, 2024

We can host ASP.NET Core apps on Windows as a Windows Service. Note that this approach does not need IIS, Apache or Nginx. So the app automatically starts whenever the system restarts.

(more…)

How to use Self Signed Certificate in ASP.NET Core

Last Updated: March 21, 2024

In this article we will learn how to use Self-Signed Certificate (SSL) in ASP.NET Core app. This app is running in Kestrel Web Server and we will create our SSL from Powershell commands.

Create and Publish .NET app

We create a new ASP.NET Core MVC app by running the below command on command prompt.

(more…)

Implementing Clean Architecure by Steve “Ardalis” Smith GitHub Repository

Last Updated: March 21, 2024

Clean Architecture is a popular software development architecture which can be used in .NET apps. In this tutorial we are going to implement the Clean Architecure GitHub Repository by Steve "Ardalis" Smith, it can be downloaded from the GitHub Link.

(more…)

How to perform CRUD Operations in Dapper

Last Updated: March 15, 2024

In this Dapper CRUD operations tutorial we will be building CREATE, READ, UPDATE & DELETE features for 3 tables in a database. These tables are:

  1. School
  2. SchoolDetail
  3. Teacher
(more…)

How to Seed Database with Dapper

Last Updated: March 15, 2024

Dapper can be used to seed database with some initial set of data. This includes creating tables in the database, inserting records to the tables and so on. In this tutorial we will be seeding a database with Dapper. So let's start with the seeding process.

(more…)

Host ASP.NET Core on Apache in Windows

Last Updated: March 16, 2024

Apache Web Server can be used to host ASP.NET Core apps. Here Apache is used as a reverse proxy server to redirect traffic to an ASP.NET Core web app running on Kestrel server. We will set the whole process in Windows 10 Operating System.

(more…)

Dapper One-to-Many Relationship

Last Updated: March 15, 2024

In a relational database, 2 tables can be related with a Primary-Foreign key constraints. A very common relationships is One-to-Many where each record of one table are related to zero or more records of another table. In dapper we execute SQL JOIN Query with Dapper Query Method to retrieve records from the two table which are in One-to-Many relationship.

(more…)

Dapper One-to-One Relationship

Last Updated: March 15, 2024

In relational database, a table can be connected to another table using Primary-Foreign key constraints. In order to retrive connected records we apply SQL JOIN command. In Dapper we can apply the Dapper Query method to execute SQL query having JOIN command in order to get related records.

(more…)