I read about it, but still confused which use cases I will write with the http handler, not the http module (and vice versa). A few use cases for each will help.
HTTP Handlers and HTTP Modules Overview
Typical uses for custom HTTP handlers include the following:RSS feeds . To create an RSS feed for a website, you can create a handler that emits an XML format in RSS format. You can then associate a file name extension, such as .rss, with a custom handler. When users submit a request to your site that ends in .rss, ASP.NET calls the handler to process the request.Image server . If you want a web application to serve images of different sizes, you can write your own handler to resize the images, and then send them to the user as a response from the handler.Typical applications for HTTP modules include the following:. , HTTP- , - XML . Internet Information Services (IIS) 7.0, , .. HTTP- , , .. , , , XML- -.
Typical uses for custom HTTP handlers include the following:
RSS feeds . To create an RSS feed for a website, you can create a handler that emits an XML format in RSS format. You can then associate a file name extension, such as .rss, with a custom handler. When users submit a request to your site that ends in .rss, ASP.NET calls the handler to process the request.
Image server . If you want a web application to serve images of different sizes, you can write your own handler to resize the images, and then send them to the user as a response from the handler.
Typical applications for HTTP modules include the following:
. , HTTP- , - XML . Internet Information Services (IIS) 7.0, , .
. HTTP- , , .
. , , , XML- -.
HTTP ASPX. web.config URL-, "*.css" "MyHandler.xyz".
HTTP- . - , , HTTP-. .
Source: https://habr.com/ru/post/1788600/More articles:Is there a way to end recording after writing the file in response? - c #As a developer, how do I uninstall an application from the AppStore that you previously submitted and is available through iTunes? - app-storeΠΠ°ΠΊ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ RealVNC? - vncBasic data relationship - iphoneandroid, sound recording with emulator - androidHow can I access the iOS WiFiManager Framework? - objective-chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1788602/visual-studio-2010-double-click-to-select-whitespace-is-too-aggressive&usg=ALkJrhhb05LQrldze_gt8U5H9FioZH08FwiPhone - Facebook message to friend wall - iosCreate a lava lamp-like animation - animationHard Gem Sheet Unbearably Slow on Ruby 1.9.2 - ruby ββ| fooobar.comAll Articles