单项选择题
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. You are planning to deploy the ASP.NET Web application to a production server by publishing the Web application in Release configuration. You must ensure that the connection string value in the Web.config file is updated to the connection string value of the production server during publishing. What will you do?()
A.Add the following code to the Web.config file.
B.Add the following code to the Web.release.config file.
C.Add the following code to the Web.config file:
D.Add the following code to the Web.release.config file.
相关考题
-
多项选择题
YouworkasanASP.NETWebApplicationDeveloperforSomeCompany.ThecompanyusesVisualStudio.NET2010asitsapplicationdevelopmentplatform.YouarecreatinganASP.NETWebapplicationusing.NETFramework4.0.TheapplicationholdsaWebpagenamedMyHome.aspx.YouarecreatingabuttonwitharolloverimageonMyHome.aspx.However,whenmousehoveredoverthebuttonimage,therolloverimageisretrievedfromtheserverinaseparaterequest.Youneedtouseanimprovedrolloverbuttoninwhichthebuttonsrolloverimageisalreadydownloadedandstoredinthebrowser’scache,asaresultwhenyouhoveroverthebutton,itisinstantlydisplayed.Whatwillyoudotoaccomplishthis?()
A.Use JavaScript Object Notation.
B.Use the RegisterClientScriptBlock method.
C.Use the RegisterClientScriptlnclude method.
D.Build a JavaScript function.
E.Use the RegisterClientScriptResource method. -
多项选择题
YouworkasanASP.NETWebApplicationDeveloperforSomeCompany.ThecompanyusesVisualStudio.NET2010asitsapplicationdevelopmentplatform.YoucreateanASP.NETWebsiteusing.NETFramework4.0.Onlyregisteredusersofthecompanywillbeabletousetheapplication.TheapplicationholdsapagenamedUserAccount.aspxthatenablesnewuserstoregisterthemtotheregistereduserslistofthecompany.TheUserAccountpageholdnumerousTextBoxcontrolsthatacceptuserspersonaldetails,suchasusername,password,homeaddress,zipcode,phonenumber,etc.OneoftheTextBoxcontrolsonthepageisnamedZipCodeinwhichauserentersazipcode.YoumustensurethatwhenausersubmitstheUserAccountpage,ZipCodemustcontainvenumericdigits.Whatwillyoudotoaccomplishthis?()
A.Use RangeValidator.
B.Use RegularExpressionValidator
C.Use RequiredValidator
D.Use CompareValidator
E.Use RequiredFieldValidator -
单项选择题
YouworkasanASP.NETWebApplicationDeveloperforSomeCompany.ThecompanyusesVisualStudio.NET2010asitsapplicationdevelopmentplatform.YoucreateanASP.NETMVC2Webapplicationusing.NETFramework4.0.YouimplementasingleprojectareaintheMVC2Webapplication.IntheAreasfolder,youaddasubfoldernamedMyTest.Youaddthefollowinglestotheappropriatesub-folders:MyController.csMyHome.aspxYouregisterarouteofthearea,settingtheroutenametoMyTest_defaultandtheareanametotest.YoucreateaviewnamedMyViews.aspxthatisoutsidethetestarea.YouneedtoaddalinktoMyViews.aspxthatpointstoMyHome.aspx.Whichofthefollowingcodesegmentswillyouuse?()
A.<%= Html.ActionLink("MyTest", "MyHome", new {area = "test"}, null)%>
B.<%= Html.RouteLink("MyHome", "MyTest", new {area = "test"}, null)%>
C.<%= Html.RouteLink("MyTest", "MyHome", "MyTest", new {area = "test"}, null)%>
D.<%= Html.ActionLink("MyTest", "MyHome", "MyTest", new {area = "test"}, null)%>
