About 120 results
Open links in new tab
  1. Best practice to avoid double request from View in ASP.NET

    Nov 22, 2016 · The only reliable way to prevent double submits is to disable the submit button on submit using JavaScript. Then, the user can effectively only click once, even if they double-click.

  2. Preventing Duplicate Web Requests To ASP.NET Core

    Jun 8, 2021 · This post saw two approaches with Entity Framework Core and ASP.NET Core to reduce the chances of processing the same request twice. The code here is a starting point, but anyone can …

  3. Designing Idempotent APIs in ASP.NET Core | ByteCrafted

    2 days ago · A practical guide to implementing idempotency in ASP.NET Core APIs. Learn how to prevent duplicate charges, handle race conditions, and build resilient distributed systems using …

  4. How to implement idempotent APIs in ASP.NET Core - InfoWorld

    Mar 20, 2025 · Idempotent APIs protect your application from duplicate requests caused by network issues or even client-side mistakes. Here’s how to create them in ASP.NET Core.

  5. Implementing Idempotent REST APIs in ASP.NET Core

    Oct 26, 2024 · Learn how to implement idempotency in ASP.NET Core Web APIs to improve reliability and prevent duplicate operations in distributed systems.

  6. c# - Avoid duplicate POSTs with .NET Core - Stack Overflow

    Mar 21, 2019 · Because the same form data is being submit for both requests, the same id is present in both submissions. The one that makes it first ends up saving the record to the database, while the …

  7. 7 Effective Techniques to Prevent Duplicate Requests in Your ...

    Apr 15, 2025 · Let’s explore some of the most effective techniques to prevent duplicate requests and mitigate their impact on your application. Preventing duplicate requests should start from the...

  8. Designing Idempotent APIs in ASP.NET Core: Idempotency Keys, …

    Sep 6, 2025 · We’ll explore how idempotency keys, the Outbox pattern, and exactly-once semantics come together to protect critical workflows. Along the way, you’ll see practical .NET implementations, …

  9. [.NET Core] Best way to prevent duplicate web requests?

    You should make the submit button disable as soon as it's clicked, before you send the API request. If you don't control the UI, then you're limited in what you can do, because you can't distinguish the …

  10. Prevent Repeated Requests Using ActionFilters In ASP.NET MVC

    In this article you will learn about how to prevent repeated requests using ActionFilters in ASP.NET MVC.