Geek Culture
Published in

Geek Culture

How to support the HTTP request cancelation in .net core

© Davis Sanchez @Pexels

In some cases your users will navigate to your application. Then it will create an API call to your service. the user then decide to left the page, but the request will be executed onto the server until it is ready. So you must be able to cancel this request then to get not into resource troubles

Using CancellationToken to Cancel Requests Sent…

--

--

--

A new tech publication by Start it up (https://medium.com/swlh).

Recommended from Medium

Build JavaScript knowledge

Snippets in Google Chrome

How To Add Schema JSON-LD to Your Hugo Blog/Site

How To: Vue SSR with Nuxt.js on Firebase

Adding Routes To An Express Server Part 2

React vs. Angular — Architecture Comparison

Part 2: How to build a Job Board with Vue js and the Laravel 5.5 API ?

Deep Dive into React’s JSX

Deep Dive into React’s JSX

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sascha Peter Bajonczak

Sascha Peter Bajonczak

Father, Developer,IOT passionist and urban beekeper 🍯🐝

More from Medium

Isolated end to end tests with docker-compose

What is “Asynchronous” technique ?

How to use pub/sub in C# .NET to build a chat app

Minimal API in dotnet