单项选择题
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. 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.Use the InProc Session Management mode to store session data in the ASP.NET worker process.
B.Use the SQLServer Session Management mode to store session data in a common Microsoft SQL Server 2005 database.
C.Use the SQLServer Session Management mode to store session data in an individual database for each Web server in the Web farm.
D.Use the StateServer Session Management mode to store session data in a common State Server process on a Web server in the Web farm. -
单项选择题
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.A
B.B
C.C
D.D -
单项选择题
You modify an existing Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You add a theme to the ASP.NET application. You need to apply the theme to override any settings of individual controls. What should you do?()
A.In the Web.config file of the application,set the Theme attribute of the pages element to the name of the theme.
B.In the Web.config file of the application,set the StyleSheetThemeattribute of the pages element to the name of the theme.
C.Add a master page to the application. In the @Master directive,set the Theme attribute to the name of the theme.
D.Add a master page to the application. In the @Master directive,set the StyleSheetTheme attribute to the name of the theme.
