HTTPHandler vs .aspx

What are the benefits of using HTTPHandler and .aspx? Does it have the same features easier and faster?

What are some of the disadvantages?

+5
source share
4 answers

Aspx uses a full-featured web form with a complex page life cycle and a lot of extra processing. HttpHandler - clean and easy. It has only the functionality that you implement.

+2
source

, .aspx- , , System.Web.UI.Page, ( "code-behind", , , Page.

Page IHttpHandler, IHttpHandler.

Page . , ( .aspx ). , , .aspx, "" .

, . , , , , . , , , .

, , , ( ) , .aspx, , . .aspx.

+1

.aspx System.Web.UI.Page, , , IHttpHandler - ( ) HttpHandler ( ) , .

, , (viewstate, control-ness, ..) , , , , , , .

HttpHandler , , - XML, JSON, - , HTML- .

- MVC - :)

0

, /, 5-15% - , json .., ajax-, , .

, html - , html, .

, , - ouput - , , , , aspnet , -, .

0
source

All Articles