Cookie Authentication in ASP.NET Core

Login Web Application using Cookie Authentication in ASP NET Core

In this tutorial, we will create a login web application using Cookie Authentication in ASP NET Core. We will also complete user registration and logout functionality and use dapper for the database connectivity. What is Cookie Authentication? Cookie authentication is one of the ways to implement login authentication. The cookie stored the identity of the … Read more

JWT Authentication In ASP.NET Core

JWT Authentication In ASP.NET Core

JWT’s are one of the best ways to transmit information between the client and server securely. In this article, we are going to learn how to implement JWT Authentication In ASP NET Core. Using JWT’s, we can make sure that the request comes from a user that is authenticated. What is JWT? JWT stands for … Read more

Secure Web API using Basic Authentication in ASP NET MVC

Secure Web API using Basic Authentication in ASP NET MVC

In this tutorial, we will secure Web API using Basic Authentication in ASP NET MVC. There are multiple ways to implement authentication in ASP.NET MVC WEB API. You can handle the authentication using the built-in security of IIS(through Windows Security), where you deploy your WEB API Application, or you can create your own authentication inside … Read more

Add Claims to a Form Authentication in ASP.NET MVC

Add Claims to a Form Authentication in ASP NET MVC

In this tutorial, we will add claims to a Form Authentication in ASP NET MVC. Adding claims will help us store additional information about the users like address, phone number, etc. This way, we can retrieve this information later if we need it wherever in our Web App. What is Claims Identity? Claims Identity is … Read more

Login App using Form Authentication in ASP.NET MVC

Form Authentication in ASP NET MVC

In this tutorial, we will create a login, signup and logout using form authentication in ASP NET MVC. This functionality is very common to every application that we created and maybe just a piece of cake. If you are new to software development, this tutorial will guide you and hopefully help you. What is Form … Read more

How to use Attribute Routing in ASP.NET MVC 5

How to use Attribute Routing in ASP.NET MVC 5

In this tutorial, we will learn how to use attribute routing in ASP NET MVC 5. We will create an actual project and then enable and apply attribute routing. This way, we can understand how attribute routing can help us control our website’s structure. What is Routing in MVC? Routing maps URL to an Action … Read more

Use JWT Bearer Authorization in Swagger OpenAPI

JWT Authentication with swagger

In this tutorial, we will implement a CRUD functionality with JWT Authentication in ASP NET Core WEB API and use JWT Bearer Authorization in Swagger for testing. In the past, we’ve created an article that uses JWT Authentication in ASP.NET Core, which can be found here. This tutorial is just an extension of that topic … Read more