单项选择题
You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.
The Web site uses C# as the programming language. You plan to add a code file written in Microsoft VB.NET to the application. This code segment will not be converted to C#. You add the following code fragment to the Web.config file of the application.
<compilation debug="false">
<codeSubDirectories>
<add directoryName="VBCode"/>
</codeSubDirectories>
</compilation>
You need to ensure that the following requirements are met:
¡;¤The existing VB.NET file can be used in the Web application
¡;¤The file can be modified and compiled at run time
What should you do?()
A.A
B.B
C.C
D.D
相关考题
-
单项选择题
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. | English | Chinese | Japan | Korean | - 163 - Test Information Co., Ltd. All rights reserved. The application uses Session objects. You are modifying the application to run on a Web farm. You need to ensure that the application can access the Session objects from all the servers in the Web farm. You also need to ensure that when any server in the Web farm restarts or stops responding, the Session objects are not lost. What should you do?()
A.A
B.B
C.C
D.D -
单项选择题
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application uses Session objects. You are modifying the application to run on a Web farm. You need to ensure that the application can access the Session objects from all the servers in the Web farm. You also need to ensure that when any server in the Web farm restarts or stops responding, the Session objects are not lost. What should you do?()
A.A
B.B
C.C
D.D -
单项选择题
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application must redirect the original URL to a different ASPX page. You need to ensure that the users cannot view the original URL after the page is executed. You also need to ensure that each page execution requires only one request from the client browser. What should you do? ()
A.Use the Server.Transfer method to transfer execution to the correct ASPX page.
B.Use the Response.Redirect method to transfer execution to the correct ASPX page.
C.Use the HttpContext.Current.RewritePath method to transfer execution to the correct ASPX page.
D.Add the Location: new URL value to the Response.Headers collection. Call the Response.End() statement. Send the header to the client computer to transfer execution to the correct ASPX page.
