单项选择题

Certkiller.com has employed you as a Web Application Developer. You are in the process ofcreating an ASP.NET application. In order to create the application you make use of Microsoft.NET Framework v3.5. 
The Web application makes use of ASP.NET AJAX. You receive a request from management todeploy thid application in a Web farm environment. You thus decide to configure the SessionStatefor the application. 
How can this be accomplished?()

A.A
B.B
C.C
D.D

相关考题

Certkiller.com has employed you as a Web Application De...


单项选择题

Certkiller.com has employed you as a Web Application Developer. You are in the process ofcreating an ASP.NET application using Microsoft .NET Framework v3.5. You decide to create acustom Web user control for the application. 
You name this control TestShare. TestShare will be compiled as a library. The code below iswritten for TestShare. (The line numbers is included for reference purposes)
1 Protected Overloads Overrides Sub OnInit(ByVal e As EventArgs)
2 MyBase.OnInit(e)
3
4 End Sub 
The master pages in the application contains the directive below:<%@ Master Language="VB" EnableViewState="false" %>
You receive an instruction from management to make sure that the state of TestShare is able tocontinue on the pages that reference a master page. You thus need to determine the appropriatecode that should be added at line 3. 
What should you identify?()

A.You should consider adding the Page.RegisterRequiresControlState(Me) code fragment.
B.You should consider adding the Page.UnregisterRequiresControlState(Me) code fragment.
C.You should consider adding the Page.RegisterStartupScript("TestShare", "server") codefragment.
D.You should consider adding the Page.RegisterRequiresPostBack(Me) code fragment.

You work as a Web Developer at Certkiller.com. You make...


单项选择题

You work as a Web Developer at Certkiller.com. You make use of Microsoft ASP.NET 3.5 in orderto create a Web Site. 
In a separate code file you create the following class: 
public static class _Colors
{ 
public static Color NormalActivityColor = Color.Green; 
public static Color WarningActivityColor = Color.Yellow; 
public static Color ErrorActivityColor = Color.Red;   
public static Color GetRandomColor() 
{ 
Random random = new Random((int)DateTime.Now.Ticks); 
int randomArgbValue = random.Next(); 
Color color = Color.FromArgb(255, Color.FromArgb(randomArgbValue)); 
return color; 
} 
} 
You need to ensure that the class is consumed by the Web Site. You have to configure the WebSite project. 
What should you do?()

A.You should add the file to the App_Code folder of the project.
B.You should add a Register directive that will reference the file to every page that makes use ofthe class.
C.This can be accomplished by referencing the file in the assemblies segment of the Web.configfile.
D.This can be accomplished by referencing the file in the httpHandlers segment of the Web.configfile.