Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
Using Dapper for CRUD operations in ASP.NET Core is straightforward and efficient. Dapper is a micro ORM that provides simple methods to execute SQL queries and map results to objects. Here's a basic example of how you can perform CRUD operations with Dapper in ASP.NET Core.

Day One of Continuous Integration and Deployment (CI/CD) involves setting up Jenkins to automate the build, test, and deployment processes for an ASP.NET Core Application onto an Azure Web App. This ensures rapid and reliable delivery of updates to the web application.

Today in this article I will discuss about _Layout, ViewStart and ViewImports file in ASP.Net MVC Core 3.0. These are the file place in views folder. We will understand all 3 files step by step.

Explore the comprehensive guide to leveraging Jenkins for continuous integration and deployment (CI/CD) of ASP.NET Core web applications on Azure. Learn to integrate Jenkins with Azure Active Directory and Service Principal, essential for seamless automation.

Learn how to serve static CSS, JavaScript, images, and fonts from the wwwroot folder in ASP.NET Core 3.0, and manage client-side libraries with LibMan.

In this article, we will learn how to optimize your web application's performance with bundling and minification in ASP.NET Core 3.0.

Create a sleek Register Form in ASP.NET MVC Core 3.0 utilizing HTML, Razor syntax for dynamic content, Bootstrap for styling, and jQuery for interactivity. Enable smooth navigation with a responsive navbar and ensure validation for a seamless user experience.

On the topic of "Security in ASP.NET Core MVC (C#): Encryption and Decryption," Ziggy Rafiq has written an insightful article. As Ziggy explores encryption and decryption techniques, he offers valuable insights for developers as well as security enthusiasts about how to secure web applications built on ASP.NET Core MVC.

Explore 15 effective methods meticulously curated by Ziggy Rafiq to enhance performance in ASP.NET Core applications, ensuring optimal efficiency and scalability for your projects

Discover a clean architecture approach for ASP.NET Core MVC web applications in C#, guided by Ziggy Rafiq for optimal design and development. ASP.NET Core MVC is a robust framework for constructing web applications, and when combined with the Clean Architecture pattern, it can result in manageable and expandable solutions. In this piece, we will explore how to organise an ASP.NET Core MVC project using Clean Architecture principles, with code samples written in C#.

Learn best practices for developing ASP.NET Core REST APIs using OpenAPI. Follow Ziggy Rafiq's expert guidance to streamline your API development process and ensure optimal performance and scalability

ViewComponent in ASP.NET Core enables the creation of reusable UI components, enhancing code modularity and separation of concerns. Leveraging Razor syntax, it facilitates rendering dynamic content and supports dependency injection for easy integration into MVC architecture.

In this post, we will see how to create an error handling middleware in ASP.NET Core application and handle all the exceptions in the app globally. We will write the error log details into a text file using NLog library.

Integrate custom user data seamlessly into ASP.NET Core 3.0 Identity Core's register form. Utilize UserManager and SignInManager for efficient user management, authentication, and authorization. Enhance IdentityUser with additional fields, leveraging Entity Framework Core for data persistence.

Learn how to set constraints globally for JSON serialization in ASP.NET Core, avoiding manual decoration of every property. Customize data formatting using converters, and fallback to default settings selectively. Enhance code efficiency and maintainability effortlessly.

Learn how to establish communication between microservices using RabbitMQ and MassTransit in ASP.NET Core. Understand the concepts of message brokers, RabbitMQ setup, and advantages. Configure MassTransit using NuGet packages, create publisher and consumer components and test the application for message delivery.

In this article, I’d like to present how to implement RabbitMQ message consumption in ASP.NET Core. Explore asynchronous messaging patterns using RabbitMQ, a robust message broker, for inter-service communication.

Middleware in ASP.NET Core orchestrates request handling, response generation, and cross-cutting concerns. It's a pivotal concept enabling structured application development with reusable components and custom middleware integration.

Learn to add Microsoft Identity to an ASP.NET Core Web API and build controllers for user registration and password-based login.

Learn about HTTP compression techniques like Gzip, Deflate, and Brotli to reduce payload sizes and expedite data transmission. Configure response compression in ASP.NET Core, control compression over HTTPS, and understand client-server interaction for efficient data exchange.

Get ready to learn how to pass data from ASP.NET MVC to JavaScript with ease. In this comprehensive guide, Ziggy Rafiq will show you exactly how to use ViewBag and ViewData to make the process seamless. Don't miss out on this opportunity to enhance your skills and take your web development to the next level.

The System.Web.Mvc namespace in ASP.NET MVC is crucial for authentication routes, aiding in code organization, readability, and integration with framework features for seamless authentication and authorization tasks.

Publishing a website on IIS using AppCmd involves command-line deployment and configuration management. With AppCmd, administrators can efficiently host and administer websites on the Internet Information Services platform.

Learn to create your first ASP.NET Core application using Visual Studio 2019 and .NET Core 3.1. Explore ASP.NET Core's features like cross-platform support, built-in dependency injection, Kestral web server, and unified programming model. Follow step-by-step instructions to set up your project and understand the basics of ASP.NET Core development.

Anchor, Link, and Script Tag Helpers in ASP.NET Core 3.1 simplify HTML generation and ensure correct URL generation, script inclusion, and CSS referencing, enhancing productivity and maintainability in web development.

Learn how to create and manage areas in ASP.NET Core 3.1 MVC applications. Areas help organize modules, enable separate routing, and allow multiple controllers and views with the same names. Follow steps to create areas, configure routing, and call them from views efficiently.

Learn how to validate uploaded files in ASP.NET Core MVC by checking file extensions, MIME types, and file size on the server.

Exception handling is crucial for robustness in ASP.NET Core Web API. Learn about global handling, custom middleware, action filters, and ProblemDetails for effective error management and client communication.

In ASP.NET Core, you can restrict the uploaded file size using the RequestSizeLimit attribute in the Program.cs file or by configuring it in the appsettings.json file. Additionally, you can set the maximum file size programmatically in your controller actions.

Creating unit tests for an ASP.NET Core API controller involves service mocking and exception handling. Set up your project, install packages, create a test project, mock the service, write tests, handle exceptions, and run tests.
Everything on ASP.NET Core, not only its articles: the ASP.NET Core page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article