Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Http handler in asp.net core

Tags:

asp.net-core

Now i have asp mvc 5 .net framework project and handlers (ashx files with custom logic) to process customer needs (i.e. pricelists in custom format).

I intend to move to asp core, and the question : is there an equivalent to handler? Articles on internet suggest to put logic to middleware, but this is inconvenient way in my case.

like image 618
Lapenkov Vladimir Avatar asked Mar 02 '26 23:03

Lapenkov Vladimir


1 Answers

Can you explain what you need that a middleware cannot provide for you?

Middleware are built in a way so that you can completely migrate from old Http Handlers/Modules to them.

Migrating to Middleware

like image 195
Moien Tajik Avatar answered Mar 05 '26 01:03

Moien Tajik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!