1. Question: You need to have ASP.NET dynamically generate Microsoft Word documents when a web browser requests a file ending in a .docx extension. How can you do this?

    A
    Implement the IPartitionResolver interface.

    B
    Implement the IHttpModule interface.

    C
    Implement the IHttpHandler interface.

    D
    Implement the IHttpHandlerFactory interface.

    Note: Not available
    1. Report
  2. Question: You are writing a custom HTTP handler to be hosted in IIS 7.0 integrated mode. You intend to register the handler by using the Web.config file. What should you do? (Choose all that apply.)

    A
    Define an <add/> element inside the <httpHandlers/> element.

    B
    Define an <add/> element inside the <handlers/> element.

    C
    Add a <httpHandlers/> element to the <system.Web/> element.

    D
    Add a <handlers/> element to the <system.WebServer/> element.

    Note: Not available
    1. Report
  3. Question: You want to create custom code that will be run for each request made to a website. What steps should you take? (Choose all that apply.)

    A
    Create a class file that implements the IHttpHandler interface.

    B
    Override the Init method to connect your code to specific application events.

    C
    Override the ProcessRequest method to wire up your code to specific application events.

    D
    Create a class file that implements the IHttpModule interface.

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd