Why Multi-Tab Browsing Can Silently Corrupt Data in ASP.NET Applications
Learn how ASP.NET Session state can cause multi-tab bugs, why record-specific data should not rely on Session, and how to use request context and server-side validation.
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.
Learn how ASP.NET Session state can cause multi-tab bugs, why record-specific data should not rely on Session, and how to use request context and server-side validation.

This article provides a sample of creation of Captcha codes in an ASP.Net application.

Master senior .NET/Solution Architect interviews with expert answers on performance, resilience, scalability, microservices, and more.

Master ASP.NET Core graceful shutdown to prevent data loss, ensure reliable deployments, and minimize service interruptions during restarts.

Master ASP.NET Core 10 request timeouts to prevent slow requests from crashing your app. Learn configuration, policies, and cancellation for resilient APIs.

Run classic ASP.NET WebForms, MVC, and Web API on .NET 10 with Kestrel. A host swap, not a rewrite, for modern platforms.

Learn how to set a default value in ASP.NET DropDownList for both static and dynamic data sources. Step-by-step guide with code examples to bind grids based on selected values.

Learn ASP.NET Core Endpoint Filters with practical examples. Understand validation, logging, endpoint interception, and best practices for Minimal APIs.

Learn how to fix the "Maximum Request Length Exceeded" error in ASP.NET and IIS. Configure maxRequestLength and maxAllowedContentLength settings to support large file uploads up to 100 MB or more.

Explore JSON Web Tokens (JWT): structure, validation, and advantages. Learn how JWTs enhance security in APIs, microservices, and modern web applications.

Master custom model binding in ASP.NET Core! Learn to handle complex data, parse custom formats, and gain full control over data mapping with our step-by-step guide.

Learn how to track user login and logout times in ASP.NET MVC using an audit log. Enhance security, analyze user behavior, and debug authentication issues effectively.

Protect your ASP.NET Core 10 API from abuse! Learn to implement built-in rate limiting with fixed/sliding windows, token buckets, and concurrency limiters for enhanced security.

Master ASP.NET Core Web API status codes! Learn to return 200, 400, 401, 404, 500 & more for robust APIs. Improve debugging, frontend integration & SEO.

Discover WebSocket, the real-time communication protocol, and its differences from HTTP. Learn when to use each for efficient web application development. Ideal for chat apps!

Ensure data integrity in ASP.NET Core Web APIs using Data Annotations. Learn to validate models with attributes like Required, Range, and EmailAddress for robust applications.

Protect your Node.js apps from SQL Injection! Learn practical techniques like parameterized queries, ORM, and input validation to secure your database and prevent data breaches.

Build a real-time weather dashboard using APIs! Display current conditions, forecasts, and climate data. Learn to integrate backend services with a dynamic frontend for interactive weather monitoring. Perfect for developers!

Unlock optimal .NET data access! Compare ADO.NET, Dapper, and Entity Framework Core for performance, productivity, and control. Choose the right tool for the job!

Learn how to connect SQL Server to your ASP.NET Core application using Entity Framework Core. This guide covers setup, configuration, migrations, and security best practices for efficient database operations.

Enhance web forms with JavaScript validation! Learn to implement onchange, blur, alpha, and numeric checks for improved user experience and data integrity. Validate text boxes, phone numbers, and names effectively.

Enhance your ASP.NET web applications with robust client-side validation! Learn how to validate email and mobile number inputs in a Contact Us form using JavaScript, ensuring data accuracy and a better user experience. Prevent errors and improve data quality.

Fix the "varchar to datetime out-of-range" error in ASP.NET when interacting with SQL Server. Learn quick fixes and the best practice of using parameterized queries for robust date handling and SQL injection prevention.

Explore ASP.NET JWT generation using two methods: a specific implementation and a generic one. Understand their differences, advantages, and which suits your project best for secure API integration.

Unlock the power of ASP.NET MVC Filters! This guide covers Authorization, Action, Result, Exception, and Authentication Filters with practical examples. Learn to streamline your code and handle cross-cutting concerns effectively for cleaner, more maintainable applications.

Build a secure digital membership card system with ASP.NET Core! Learn API design, JWT authentication, data encryption, and CRM integration for scalable solutions.

Master active button states in ASP.NET WebForms! Learn a robust backend approach using ViewState to maintain UI consistency across postbacks. Enhance user experience!

Master ASP.NET security with DAST! This guide covers how to run dynamic scans, find vulnerabilities like XSS and injection flaws, and choose the right tools. Secure your web apps now!

Fix ASP.NET file logging errors caused by incorrect Server.MapPath usage and missing directories. Learn how to properly handle paths and create directories for reliable logging.

Implement a dynamic three-toggle filter (All, Pending, Replaced) in ASP.NET WebForms using CASE statements in SQL. Streamline data filtering with a single query and Repeater.
Everything on ASP.NET, not only its articles: the ASP.NET page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article