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.
Utilizing RESTSharp for CRUD operations in ASP.NET Core Web API offers a streamlined approach to interacting with APIs. This library simplifies HTTP requests and responses, allowing developers to focus on implementing functionality rather than managing low-level HTTP communication. By breaking down each operation—POST, PUT, DELETE, GET, PATCH—and providing corresponding code snippets, the process of creating, retrieving, updating, and deleting resources becomes more accessible. The RestClientHelper class encapsulates RESTSharp configuration, promoting code reusability and maintainability.

Learn how to install and use SuperInject to automatically register services and repositories with attributes in a .NET Core dependency injection container.

Unit testing Dot Net Core using CQRS Architecture. This article delves into testing .Net Core API projects using the XUnit testing framework. Demonstrating unit tests for a CQRS architecture, it covers arrangement, action, and assertion phases with mocking and examples.

Explore the world of GraphQL in .NET 6 with this comprehensive guide. Learn how to set up a GraphQL backend using HotChocolate, step by step, and unlock powerful data querying capabilities.

In web development, security is a crucial aspect that demands meticulous attention. Cross-Site Request Forgery (CSRF) is a type of attack where unauthorized commands are transmitted from a user trusted by a web application. ASP.NET Core provides a built-in defense mechanism against CSRF attacks called ValidateAntiForgeryToken.

In the realm of APIs, API keys and tokens serve distinct roles. API keys authenticate requests with simplicity, while tokens, like JWTs, offer enhanced security and access control. This article elucidates their differences through examples.

What is a dependency injection and why to embrace it as a better programming practice.

ASP.NET Core Data Protection API. In web applications, ensuring authenticity is pivotal during round trips. This article delves into the Asp.Net Core Data Protection API, discussing its implementation in web applications, API methods, and prerequisites using .Net Core 6.0 and Visual Studio 2022. Explore cryptographic solutions for data protection, key management, and rotation.

Here 4 samples of rate-limiting algorithms included in .NET 7/8.

IIS 10 - Step By Step Guide to create a Self-Signed Certificate. This article is your comprehensive guide on creating a self-signed certificate using IIS version 10. Learn about SSL, its significance, and follow a step-by-step tutorial for certificate creation.

This article will provide more details about .Net Core Middleware details, What? When? Where?. Middleware, integral in the ASP.NET Core request pipeline, manages requests and responses. Learn how middleware components handle tasks like authentication, authorization, and logging, enhancing modularity, customization, and testability in .NET applications.

How to export .pfx certificate using Microsoft Management Console (MMC).

This article will provide more details about .Net Core Middleware details, What? When? Where?. Middleware, integral in the ASP.NET Core request pipeline, manages requests and responses. Learn how middleware components handle tasks like authentication, authorization, and logging, enhancing modularity, customization, and testability in .NET applications.

This article will provide more details about .Net Core Middleware details, What? When? Where?. Middleware, integral in the ASP.NET Core request pipeline, manages requests and responses. Learn how middleware components handle tasks like authentication, authorization, and logging, enhancing modularity, customization, and testability in .NET applications.

The release of .NET 8, the latest major version of the .NET platform, has created a lot of excitement and anticipation among developers. This update includes numerous new features and enhancements, boosting. NET's reputation as a versatile and powerful development platform. In this article, we will explore some of the key highlights.

This guide provides a concise overview of working with DateTime in C#. It covers the basics of the DateTime structure, including obtaining the current date and time, representing specific dates, and manipulating dates.

This article will provide more details about .Net Core Middleware details, What? When? Where?. Middleware, integral in the ASP.NET Core request pipeline, manages requests and responses. Learn how middleware components handle tasks like authentication, authorization, and logging, enhancing modularity, customization, and testability in .NET applications.

This step-by-step guide explores integrating Azure Key Vault into a .NET Core Web API, enhancing security by securely managing sensitive information like API keys. Detailed instructions ensure a smooth implementation process.

In .NET Core, lifetime management refers to how objects are created, used, and eventually disposed of within an application. It ensures efficient resource utilization and prevents memory leaks.

CRUD Operations in ASP.NET Core MVC 5.0 with Entity Framework Core 5.0.

This article explains how you can secure your .NET Core APIs with essential practices. It covers JWT authentication, role-based authorization, HTTPS implementation, input validation, and rate limiting. By leveraging these techniques, you can ensure data integrity and prevent unauthorized access.

In this article, we will see how dependency injection works in .net core using Microsoft.Extension.DependencyInjection.

Developing a robust ASP.NET Core Web API hinges on the subtle yet pivotal details of response structuring. Leveraging AutoMapper in tandem with well-designed Data Transfer Objects (DTOs) not only ensures the separation of concerns but also orchestrates a symphony of consistent and predictable API responses. These intricacies extend beyond mere data mapping; they epitomize a strategic approach in harmonizing the internal model intricacies with the API's outward-facing facade. Unveiling the elegance of these detailed mappings and the orchestration of a uniform response structure not only enhances the developer's workflow but also augments client-side integration, presenting an intuitive and standardized communication channel. Addressing these finer points not only establishes a foundation for resilient error handling but also fuels the API's scalability and ease of maintenance, fostering an environment where agility meets reliability.

Scopes and Lifetime Management in .NET Core: A Comprehensive Guide to Dependency Injection and Object Lifespan

In this article, you will learn how to create a multi-select checkbox dropdown list in .NET core 3.1 and edit it.

The second step in adding token-based authentication to ASP.NET Core Identity is to introduce the Identity API endpoints. Basically, this is an API version of the actions that you can perform with ASP.NET Core Identity through the classic web UI. Once you enable the Identity API endpoints, you will get endpoints like /register, /login, /forgotPassword, confirmEmail, etc.

Let's check out the cool new things that .NET 8 has added to help you keep your apps secure.

Article on how to use gRPC in .Net Core. This article provides a step-by-step guide on implementing gRPC in a .NET Core project, covering essential aspects from creating proto files to adding authorization.

As a burgeoning developer delving into the SOLID principles, understanding the Liskov Substitution Principle (LSP) is pivotal for crafting robust and maintainable code. In this article, we'll demystify LSP and illustrate its application in .NET 6 Core through a familiar context—a chain of classes. We'll employ a comparable example to the ones used in our previous discussions on the Single Responsibility Principle (SRP) and the Open-Closed Principle (OCP)
Everything on .NET Core, not only its articles: the .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