ASP.NET Core

ASP.NET Core Blogs & Tutorials

Step-by-step guides, source code examples and in-depth articles

63
Articles
557,736
Total Views
25,948
Top Article Views

Showing 63 of 63 articles

24
Mar
2026
Implementing Custom Middleware in ASP.NET Core: A Comprehensive Guide
6 views

This blog post will provide an in-depth understanding of creating custom middleware in ASP.NET Core, explaining its importance in request processing and how it can enhance application functionality. Readers will learn about various use cases, coding examples, and best practices to implement middleware effectively. Familiarity with ASP.NET Core and C# is recommended before diving into this topic.

24
Mar
2026
Understanding Middleware in ASP.NET Core: A Comprehensive Guide
6 views

This article provides an in-depth exploration of middleware in ASP.NET Core, detailing its architecture, use cases, and implementation strategies. Understanding middleware is crucial for building flexible and maintainable applications, as it serves as a pipeline for request processing. Readers should have a basic understanding of ASP.NET Core and C# before diving into this topic.

05
May
2024
How to Integrate Google Sign in Asp.net Core 8.0
7,917 views Video

Hello everyone, in today's digital landscape, integrating Google authentication login using Google API has become increasingly essential. In this article, we will delve into the process of seamlessly integrating Google SignIn into Asp.Net Core 8.0, the latest framework in the .NET Core ecosystem. Let's explore how to streamline user authentication and elevate the security standards of your web applications by Integrating Google SignIn in Asp.Net Core 8.0.

04
Mar
2024
Authentication for swagger UI in production in ASP.Net Core 6.0
4,515 views

In a production environment, securing your Swagger UI is essential to prevent unauthorized access. You can use authentication middleware to protect the Swagger UI endpoint. Below is an example of how you can configure authentication for Swagger UI in an ASP.NET Core application.

04
Mar
2024
Integrating Google Translate into ASP.NET Webpage
4,147 views Video

Expanding the reach of your ASP.NET webpage by making it accessible to users from diverse linguistic backgrounds is essential for enhancing user experience and increasing engagement. One effective way to achieve this is by integrating Google Translate into your Asp.Net webpage, enabling users to translate the content into their preferred language effortlessly.

24
Feb
2024
How to Create Subscriptions in Paypal in Asp.Net Core
8,624 views Video

In this article, we'll dive into integrating PayPal subscriptions into an ASP.NET Core application. PayPal offers a robust API that allows developers to create and manage subscription plans seamlessly. We'll walk through a sample code snippet that demonstrates how to create a subscription plan, add a product, and initiate a subscription for a user.

18
Jan
2024
CRUD Operations Using Dapper In ASP.NET Core Web API
4,594 views

Dapper is a simple Object Mapper and is nothing but Object-relational mapping (ORM) and is responsible for mapping between database and programming language and also it owns the title of King of Micro ORM in terms of speed. It is virtually as fast as using a raw ADO.NET data reader and also Entity Framework.

05
Dec
2023
Integrate Razorpay Payment Gateway in ASP.NET Core 8.0
11,344 views Video

We will discover how to integrate the Razorpay payment gateway with ASP.Net Core in this tutorial. Here, we go over Razor Pay and show you how to incorporate it into ASP.Net Core MVC. Please read through my earlier post, "Build CRUD REST APIs with EF Core." You can view the result of our integration of Razorpay with ASP.Net Core MVC at the conclusion of this post.

29
Nov
2023
Error-An error occurred while processing your request in .Net core IIS
11,005 views Video

Hello guys we will see how to fix Error An error occurred while processing your request.Swapping to Development environment will display more detailed information about the error that occurred.The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development. In asp.net core IIS

23
Nov
2023
Integrate Stripe Payment Gateway In ASP.NET Core 8.0
12,094 views Video

This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core 8.0 application built with C# . The application uses Checkout to accept credit cards from the end user and send tokens to a back-end API. The back-end controller uses the Stripe .NET library to create a charge. We are using latest version on Stripe.Net api in this. Check out complete steps to Integrate Stripe Payment Gateway In ASP.NET Core 8.0

23
Oct
2023
How to fix CWE-23 Path Traversal vulnerability (Snyk)
9,040 views Video

Hello guys, in this article we will see how to fix CWE-23 Path Traversal vulnerability Unsanitized input from an HTTP parameter flows into global::System.IO.Directory.CreateDirectory, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to create arbitrary directories when we scan our code with snyk.

11
Sep
2023
How to use api with proxy url in Asp.Net for CORS
4,801 views

In modern web development, it's common to interact with external APIs or services to retrieve data for your application. However, when your web application runs in a browser and makes requests to a different domain or origin, you may encounter Cross-Origin Resource Sharing (CORS) restrictions. We will see how to use api with proxy url in Asp.net website. This also helps us to resolve CORS errors.

01
Aug
2023
How to implement JWT Token in Asp.Net core 7
7,335 views Video

Hello, readers, and welcome to Code2Night! In this blog post, we will focus on the latter and explore how to implement JWT Token Authentication in ASP.NET Core 7.0 Web api and .net core 7 web application. So we will see how we will generate jwt token and how we will verify the token using authorize attribute.

22
Jul
2023
Integrate Stripe Payment Gateway In ASP.NET Core 7.0
10,251 views Video

This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core 7.0 application built with C# . The application uses Checkout to accept credit cards from the end user and send tokens to a back-end API. The back-end controller uses the Stripe .NET library to create a charge. We are using latest version on Stripe.Net api in this. Check out complete steps to Integrate Stripe Payment Gateway In ASP.NET Core 7.0

01
Jul
2023
Implement Stripe Payment Gateway In ASP.NET Core
16,753 views Video

This tutorial demonstrates how to accept payments with Stripe Checkout in an ASP.NET Core application built with C# and Web Forms. The application uses Checkout to accept credit cards from the end user and send tokens to a back-end API. The back-end controller uses the Stripe .NET library to create a charge. We are using latest version on Stripe.Net api in this. Check out complete steps to Implement Stripe Payment Gateway In ASP.NET Core

20
Nov
2022
Hangfire in ASP.NET Core 3.1 – Background Jobs
8,685 views Video

Hangfire is an open-source library to schedule and execute background jobs in .NET applications. You'll be able to create a simple background process inside the same application pool or thread without creating separate applications. Hangfire creates background jobs in persistence storage, like MS SQL Server, Redis, MongoDB, and others, that may prevent you from losing the job on recycling IIS pools or exception prevalence.

13
Aug
2022
Asp.Net Core MVC Publish using FTP
8,979 views Video

Publish Website using FTP in Visual Studio If we use FTP (File Transfer Protocol) to publish web applications, we need to enter all credentials provided by the FTP hosting company, and application files will upload directly to our FTP hosting space.

15
Aug
2021
Real Time Chat using SignalR with .Net core and Vue.js
6,322 views

Hello guys, We often found ourself in the need of a realtime chat app . For two way communication in your webapp. We will see how to implement real time chat using SignalR with .Net core and Vue.js. SignalR is basically used for any sort of realtime functionalities. We will use .Net core for managing chathub . You can see complete steps in the article.

04
Mar
2021
Globalization and localization in ASP.NET Core With Resource Files
10,911 views

In this article we will focus on implementing Globalization and localization in ASP.NET Core With Resource Files . We will be trying to implement culture in Asp.Net core 3.1.So if your are struggling in using you Asp.Net Resource Files in .net core have a look at the article in detail.

05
Aug
2020
Exception Handling Asp.Net Core
20,725 views

Error Handling in Asp.Net Core has changed a bit from what we used to use in Asp.Net Mvc. Before .Net Core We used to use OnException Methods to handle Exceptions while executing actions But it doesn't' see working in .Net Core as many features are changed.So In this Article we will see how to make exception handling work in Asp.Net Core.

Code2Night

A community platform for sharing programming knowledge, tutorials, and blogs. Learn, write, and grow with developers worldwide.

Panipat, Haryana, India
info@code2night.com
© 2026 Code2Night. All Rights Reserved.
Made with for developers  |  Privacy  ·  Terms
Translate Page