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.
Unlock the power of cross-platform development with ASP.NET Core! This article explores how to build and deploy high-performance web applications on Windows, Linux, and macOS using .NET Core. Learn about its architecture, CLI tools, hosting options (Kestrel, Nginx), deployment models (FDD, SCD), and CI/CD integration. Discover how to leverage containers and cloud deployments for ultimate flexibility and cost savings. Embrace the 'build anywhere, run everywhere' paradigm!

This article dives into authentication, authorization, data protection, HTTPS enforcement, CSRF/XSS protection, and more. Learn how ASP.NET Core's middleware and integrated tools empower developers to build secure, compliant web applications ready for modern threats and secure deployment.

Learn the basics of building an ASP.NET Core Web API, including controllers, endpoints, HTTP GET and POST methods, and responses through a simple job portal example.

Explore ASP.NET Core's trifecta of success: performance, security, and quality. Discover how version 10 and beyond empowers developers to build scalable, secure, and reliable applications. Dive into AOT compilation, caching strategies, robust authentication, and automated testing for enterprise-grade solutions.

Learn how to build independent, scalable services using minimal APIs, gRPC, and API Gateways (Ocelot). Discover best practices for database per service, observability with OpenTelemetry, and containerization with Docker. Unleash the power of cloud-native apps with this comprehensive guide. Dive into practical examples and elevate your development skills!

This article dives into building lightweight, well-documented, and secure APIs with minimal boilerplate. Discover how to leverage route groups, filters, SSE, and OpenAPI security definitions for improved developer productivity and seamless integration. Learn to auto-generate documentation, streamline API design, and enhance interoperability with tools like Swagger UI and client SDK generators.

Deploy ASP.NET Core apps to the cloud effortlessly! This guide provides a step-by-step walkthrough for deploying the same application to both Azure App Service and AWS Elastic Beanstalk. Compare ease of setup, scaling options, and monitoring tools. Learn best practices for CI/CD, security, and autoscaling to optimize your cloud deployments. Choose the best PaaS for your needs or embrace a multi-cloud strategy for resilience.

Discover faster startup times, persistent component state, improved Blazor Hybrid integration, validation enhancements, QuickGrid updates, and robust security features. Learn how these advancements make Blazor a top choice for full-stack .NET development, rivaling JavaScript frameworks and enabling enterprise-grade applications across web, desktop, and mobile platforms.

This article guides you through creating a CI/CD pipeline with Zip Deploy, automated health checks, and SQLite database persistence, all without paid tools. Learn modern DevOps practices accessible to students, freelancers, and indie developers, proving enterprise-grade automation is achievable for $0.

Learn how to implement passkey registration and sign-in in ASP.NET Core Identity using WebAuthn, including server-side configuration and JavaScript browser integration.

This article demonstrates how to implement age-based restrictions on specific endpoints with Action Filters and application-wide blacklist checks using Middleware. Learn to control access, enhance security, and build robust APIs by combining these powerful techniques. Choose the right approach for fine-grained or global restrictions and protect your valuable resources.

ASP.NET Core 10.0 delivers significant enhancements across Blazor, OpenAPI, and Minimal APIs. Blazor benefits from performance boosts, improved validation, and QuickGrid updates. OpenAPI 3.1 support and streamlined Minimal API development simplify web service creation. Enhanced security includes Passkey support and Kestrel optimizations boost performance, making applications faster and more secure.

This article provides a step-by-step approach to detect, contain, eradicate, and recover from incidents. Learn how to implement security logging, automated alerts, IP blocking, and post-incident analysis. Strengthen your application's resilience and minimize damage with proactive monitoring and structured response strategies.

Enhance your ASP.NET Core application security by implementing robust logging and monitoring practices. This guide covers structured logging with Serilog, NLog, and built-in providers. Learn to detect suspicious activities, trace API calls, and identify unauthorized access. Discover how to set up alerts for brute-force attacks, secure log data, and comply with security standards like GDPR. Improve incident response and strengthen your application's defense posture with real-time monitoring using Application Insights, ELK, or SIEM tools.

Learn how to security-test ASP.NET Core applications with static and dependency scans, secure configuration, security headers, input validation, file-upload checks, CSRF protection, and integration tests.

Learn how to use OpenAI in .NET 9 with C#. Explore examples for ChatGPT, embeddings, image generation, and streaming. Includes best practices for dependency injection, AOT, minimal APIs, and production deployment.

Unlock the secrets of launchSettings.json in ASP.NET Core! This essential file dictates how your application behaves during development, streamlining debugging and environment configuration. Learn how to define profiles, set environment variables, and control application URLs for consistent and efficient development workflows across teams. Master this file for seamless ASP.NET Core development!

.NET 10, the next LTS release, arrives around November 2025 with performance enhancements like array devirtualization and AVX 10.2 support. Expect improved JSON serialization, post-quantum cryptography, and C# 14 features. ASP.NET Core and Blazor get efficiency boosts, while .NET MAUI enhances cross-platform UI. Watch out for potential breaking changes and AOT/trimming impacts.

Learn how to implement GDPR requirements in ASP.NET Core, including consent, data export and deletion, encryption, breach logging, and retention policies.

Learn how to use User Secrets for development, environment variables for staging, and Azure Key Vault or AWS Secrets Manager for production. Discover encryption techniques and database-level security measures to safeguard sensitive information. Implement best practices like secret rotation and access auditing to fortify your application's security posture and prevent unauthorized access to critical data.

Learn how to implement the ASP.NET Core Data Protection API (DPAPI) for secure cryptographic operations. This guide covers encrypting/decrypting data, key management, and tamper resistance. Discover how to set up data protection, persist keys in production using file system, Azure Blob Storage, or Redis, and manage key rotation.

Secure your ASP.NET Core applications by encrypting sensitive data! Learn best practices for protecting connection strings, API keys, and personal information using the Data Protection API and AES encryption. Discover how to store keys securely in Azure Key Vault, encrypt database fields, and implement key rotation for enhanced security. Protect user data and comply with regulations like GDPR and PCI DSS by implementing robust encryption strategies.

This article provides step-by-step instructions on integrating these cloud-based secret management solutions, preventing hardcoding and ensuring robust security, access control, and auditing. Learn how to protect connection strings, API keys, and other critical data, enhancing compliance and operational simplicity in your cloud-native applications.

Secure your ASP.NET Core gRPC and SignalR applications with this article! Learn practical strategies for authentication, authorization, and transport security using TLS/mTLS and JWT/OAuth2. Protect against unauthorized access, data leakage, and DoS attacks. Implement input validation, rate limiting, and connection limits for robust real-time communication security.

Unlock the power of database connectivity in ASP.NET Core MVC with EF Core's DB-First approach! This article simplifies connecting your application to SQL Server, offering a step-by-step walkthrough from project setup to data retrieval. Learn to scaffold models, register DbContext, and leverage LINQ for efficient database interactions, avoiding raw SQL.

This article covers essential mitigation strategies, including rate limiting, input validation, request size limits, and caching. Learn how to use reverse proxies, CDNs, and WAFs for robust defense. Implement monitoring and logging for early threat detection and ensure application resilience under attack.

This article explores authentication, authorization, rate limiting, and input validation techniques using Ocelot, YARP, and cloud solutions like Azure API Management. Centralize security, reduce attack surface, and improve resilience with best practices for JWT, OAuth2, TLS/HTTPS, and centralized logging. Implement a zero-trust approach for robust protection.

Explore the ASP.NET Core application lifecycle, from startup and middleware pipeline to routing, controller execution, model binding, and result execution. Understand how each stage contributes to handling HTTP requests and delivering responses. Learn how to configure services, manage dependencies, and build robust web applications. This comprehensive guide provides practical examples and insights for developers.

This article explains how DTOs enhance security by preventing sensitive data exposure, improve performance through optimized data transfer, and decouple your API from database models. Learn to implement DTOs for cleaner, more maintainable, and robust ASP.NET Core applications. Discover practical examples and best practices for effective data handling.

This article explores implementing these crucial techniques using .NET 7's built-in middleware, custom solutions, and best practices. Learn to configure fixed window, token bucket, and sliding window limiters. Discover how to handle exceeded limits, implement per-user throttling, and ensure fair resource distribution for optimal API performance and reliability. Includes practical code examples and configuration tips.
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