.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions

Where and how can you register the HTTP Handlers and HTTP Handler Factories

Posted By :nishithraj     Posted Date :November 27, 2009    Points :10   Category :ASP.Net 
The information about HTTP Handlers and HTTP Handler Factories are registered in both machine.config & web.config. It is registered with the tag <httpHandler> as follows.

<httpHandlers>
<add verb="supported http verbs" path="path" type="namespace.classname, assemblyname" />
<httpHandlers

You can also find related Interview Question to Where and how can you register the HTTP Handlers and HTTP Handler Factories  below: 

Can you add a Cutsom Http Handler in SharePoint ?

  
Ans. Yes, a Custom httphandler can be deployed in _layouts folder in SharePoint. Also, we need to be register the handler in the webapp's webconfig file. (More...)

Can you add a Cutsom Http Handler in SharePoint ?

  
Yes, a Custom httphandler can be deployed in _layouts folder in SharePoint. Also, we need to be register the handler in the webapp's webconfig file. (More...)

What are the HTTP Handlers and HTTP Modules

  
HttpModule and HttpHandler are two components which comes with the HttpPipeLine while moving the request to HttpPipeLine. here HttpModule is used to check the request authentication and then routing so that it should be received by the correct handler(HttpHandler) for the process and then after processing , it validates the request and then route it back to the client. (More...)

How to send XML file on server using HTTP protocol?

  
Using SOAP we can send XML file on Serevr (More...)

What is a HTTP Module?

  
HTTP modules are .NET components that implement the System.Web.IHttpModule interface. These components plug themselves into the ASP.NET request processing pipeline by registering themselves for certain events. Whenever those events occur, ASP.NET invokes the interested HTTP modules so that the modules can play with the request (More...)

Whether Http maintain states by default?

  
No. Http is a stateless protocol. Inorder to maintain the state we need either of the following in the pages.

View state
Session
Cookies
Cache
Query string or Request.Form (More...)

What are all the differences between http and https?

  
The "S" in HTTPS indicates a secure site. The server browser communication is unsecured in ordinary http where as in https, it needs to be secured in order to prevent unauthorized access.

HTTP is Hyper Text Transport Protocol and is transmitted over the wire via PORT 80(TCP) by default and it is not secured.

HTTPS (Hypertext Transfer Protocol over Secure Socket Layer, or HTTP over SSL) is a Web protocol developed by Netscape and built into its browser that encrypts and decrypts user page requests as well as the pages that are returned by the Web server. (More...)

How do I detach an event handler?

  
In the same way you attach an event handler, except using the -= operator.
For example:

button1.Click -= new EventHandler (button1_Click); (More...)

Where do you add an event handler?

  
Add an OnMouseOver attribute to the button. Example: btnSubmit.Attributes.Add("onmouseover","someClientCodeHere();"); (More...)

List the event handlers that can be included in Global.asax?

  
o Application start and end event handlers
o Session start and end event handlers
o Per-request event handlers
o Non-deterministic event handlers (More...)

Suppose you want a certain ASP.NET function executed on MouseOver for a certain button. Where do you add an event handler?

  
Add an OnMouseOver attribute to the button. Example: btnSubmit.Attributes.Add("onmouseover","someClientCodeHere();"); (More...)

How can we register a custom server control to a web page ?

  
we can register a custom server control to a web page using

@Register directive (More...)

What is Instruction Register(IR)?

  
Instruction Register or IR holds the instruction that is currently being executed. Its output is available to the control circuits which generates the timing signals that control various processing elements involved in the execution of instructions. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend