单项选择题
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. -
单项选择题
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application contains a mobile Web page. You add the following StyleSheet control to the Web page: <mobile:StyleSheet id="MyStyleSheet" runat="server"> <mobile:Style Name="StyleA" Font-Name="Arial" Font-Bold="True" Wrapping="NoWrap"> </mobile:Style> </mobile:StyleSheet> You need to add a Label control named MyLabel that uses the defined style in the MyStyleSheet StyleSheet control. Which markup should you use?()
A.A
B.B
C.C
D.D
