相关考题

单项选择题 You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a class that implements the IHttpHandler interface. You implement the ProcessRequest method by using the following code segment. (Line numbers are included for reference only.)  01 Public Sub ProcessRequest(ByVal ctx As HttpContext)  02  03 End Sub  You need to ensure that the image named Alert.jpg is displayed in the browser when the handler is requested.  Which code segment should you insert at line 02?()

单项选择题 You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a class that implements the IHttpHandler interface. You implement the ProcessRequest method by using the following code segment. (Line numbers are included for reference only.) 01 public void ProcessRequest(HttpContext ctx) {  02  03 }  You need to ensure that the image named Alert.jpg is displayed in the browser when the handler is requested.  Which code segment should you insert at line 02? ()

单项选择题 You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You write the following code segment to create a class named MultimediaDownloader that implements the IHttpHandler interface.  Namespace Contoso.Web.UI  Public Class MultimediaDownloader Implements IHttpHandler  ...  End Class  End Namespace  The MultimediaDownloader class performs the following tasks: ¡;¤It returns the content of the multimedia files from the Web server ¡;¤It processes requests for the files that have the .media file extension The .media file extension is mapped to the aspnet_isapi.dll file in Microsoft IIS 6.0.  You need to configure the MultimediaDownloader class in the Web.config file of the application. Which code fragment should you use? ()