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


Blazor WebAssembly Authentication with ASP.NET Core Identity

Last Updated: July 9, 2024

Blazor WebAssembly apps can be secured with ASP.,NET Core Identity. We can provide login and logout feature for users through Identity so that only authenticated users are allowed to access the Blazor WebAssembly app.

(more…)

Blazor WebAssemble Authentication from Google

Last Updated: June 16, 2024

In this tutorial we are going to implement Authentication from Google feature in a Blazor WebAssembly app. We will also implement Oauth 2.0 and JWT Tokens for authentication purpose.

(more…)

jQuery index() method – Get the index of an element relative to its siblings

Last Updated: May 31, 2024

The jQuery Index method is very helpful in getting the index of an element relative to its siblings. For example – suppose there are few li elements inside a ul element and you have to find what’s the index of li that is clicked. In this condition you can use the .index() method of jQuery.

(more…)

ASP.NET Core – Duende IdentityServer authentication and authorization with Identity

Last Updated: June 2, 2024

In this tutorial we are going to implement Duende IdentityServer in ASP.NET Core app with ASP.NET Core Identity to provide authentication and authorization features. So users will be able to perform login and logout on their Identity account which will be secured with Duende IdentityServer.

(more…)

ASP.NET Web Forms – Sorting GridView with jQuery Load method with no page postback

Last Updated: April 28, 2024

Did you know you can use jQuery for Sorting GridView asynchronously so that sorting takes place and also no page postback happens. This sorting technique with jQuery has the following advantages:

(more…)

Host ASP.NET Core on Apache in Linux

Last Updated: June 2, 2024

In this tutorial we will host ASP.NET Core apps on Apache Web Server in Linux. Apache will be 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 Ubuntu OS.

(more…)

Host ASP.NET Core on Nginx in Linux

Last Updated: June 2, 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: June 2, 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: June 2, 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: June 2, 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…)