Creating JWT Tokens in .NET 7 Web API: A Step-by-Step Guide with Code Snippets

JSON Web Tokens (JWT) are a popular method for securely transmitting information between parties as a JSON object. JWTs can be used for a wide range of scenarios, including authentication, authorization, and data exchange. In this tutorial, we’ll look at how to create a JWT token in .NET 7 Web API. Step 1: Install Required […]
5 Steps to Generate QR Codes in ASP.NET Core

QR codes have become an essential part of modern technology, and they are widely used in various fields, including marketing, logistics, and payment systems. In this blog post, we will explore how to generate QR codes in ASP.NET Core, a powerful framework for building web applications. Step 1: Create a new ASP.NET Core project The […]
QR Code Generator App using ASP.NET Core (.NET 6)

In this article, we will develop a QR Code Generator app using ASP.NET Core (.Net 6) MVC project. QR codes are two-dimensional barcodes that can be scanned by smartphones and other devices. QR codes can contain information such as URLs, text, or contact information. Step 1 – Create an Asp.net Core MVC application. You can […]
How to Enable Session in Asp.net Core 6 and Above

In this article, we will see how we can enable session in an Asp.net Core 6 MVC web application. What is a Session? Session is a feature in Asp.net Core that allows us to maintain or store the user data throughout the application. Session can store any type of object. In Session, you can store […]
Generate Barcode in Asp.net Core with 4 Simple Steps

In this article, we will see how to generate Barcode in the ASP.NET Core MVC project. A Barcode is a computer-readable pattern of parallel vertical lines of varying thickness. It is like a unique fingerprint for a product and is often printed on the item itself or its packaging. Organizations – such as manufacturers, distributors, […]
JWT Authentication in Asp.net Core Web API

JSON Web Tokens (JWT) are Industry Standard tokens (RFC 7519). They are self contained and can contain Credentials, Claims and Other information. The structure of JWT is basically a long string. The string is divided into 3 parts and each part is separated by “.”. First Part – This is the header of the token. […]
Startup.cs Missing in .Net 6 and Above

Let’s discuss in this article the changes in .Net 6 with the missing Startup.cs file. So let’s get started. We .Net core developers are very familiar with the Startup.cs file, the ConfigureServices & the Configure methods in the Startup.cs file. Now, Let me tell you that you will not find the Startup.cs file from .Net […]
Content Negotiation In Asp.net Core Web API

This article will discuss Content Negotiation in asp.net core web API. What is Content Negotiation? It is a mechanism where the client should be able to decide the format of the response from the server. For example, if the client wants the response in either XML, JSON, HTML, etc. When a client sends a request […]