多项选择题

You are developing an ASP.NET Web service. The following code segment implements the service.

You need to ensure that both GetProduct methods can be called from a Web client. Which two actions should you perform?()

A.Remove line 01.
B.Add the static modifier on lines 05 and 11.
C.Add the following attribute before line 10. [SoapDocumentMethod(Action="GetProductById")]
D.Modify the attribute on line 10 as follows. [WebMethod(MessageName="GetProductById")]


您可能感兴趣的试卷

你可能感兴趣的试题

3.单项选择题

You are developing an ASP.NET Web page. The page contains the following markup. 
The pages code-behind file includes the following code segment. 
You need to get a reference to the Image named img. Which code segment should you add at line 06?()

A.Image img = (Image)Page.FindControl("img");
B.Image img = (Image)e.Row.FindControl("img");
C.Image img = (Image)gvModels.FindControl("img");
D.Image img = (Image)Page.Form.FindControl("img");

4.单项选择题

You are implementing an ASP.NET Web site that uses a custom server control named Task. Task is defined as shown in the following list.   
Class name: Task  
Namespace: DevControls  
Assembly: TestServerControl.dll  
Base class: System.Web.UI.WebControls.WebControl   
You copy TestServerControl.dll to the Web site‟s Bin folder.  You need to allow the Task control to be declaratively used on site pages that do not contain an explicit @ Register directive.  Which configuration should you add to the web.config file?()

A.<appSettings> <add key="Dev:Task" value="DevControls, DevControls.Task"/> </appSettings>  
B.<compilation targetFramework="4.0" explicit="false"> <assemblies> <add assembly="TestServerControl" />      </assemblies> </compilation>
C.<pages> <controls> <add assembly="TestServerControl" namespace="DevControls" tagPrefix="Dev"/>      </controls> </pages>
D.<pages> <tagMapping> <add tagType="System.Web.UI.WebControls.WebControl"  mappedTagType="DevControls </tagMapping> </pages>  

6.单项选择题Gridview: How to change the image of an image control place in each row in a gridview:()

A.ItemDataBound
B.Init 
C.Prerender 
D.<something I don‟t remember>

最新试题

A library called contosobuisness.dll has been created and u need to accept it in a page.. all options had the <%assembly tag but the att differed.()

题型:单项选择题

You have a master page custom.master ... u create a nested.master page using it ... and then u have content page that uses the nested.master as its master page ...  to get a string prop from custom.master into a label in content page the code u wud use()

题型:单项选择题

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. The Web application connects to a SQL Server database. You use the ADO.NET Entity Framework to handle persistence-ignorant entities. You create an ObjectContext object named ObjContext. Subsequently, you change properties on numerous entities. You are required to save the changed entity values in the SQL Server database. Which of the following code segments will you use?()

题型:单项选择题

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 create a Web page in the application. The Web page will get large sets of data from a data source.  You add a DataPager control to the page. You are required to display navigation controls that enable you to create a custom paging Ul for the DataPager control. What will you do?()

题型:单项选择题

Which of the following is the correct collection of build events?()

题型:单项选择题

Which tool is used to simplify the migration, management and deployment of IIS Web servers, Web applications and Web sites?()

题型:单项选择题

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0. Now, you are deploying the ASP.NET Web application to a remote server. You are required to select a deployment method that will make sure that all Internet Information Services (IIS) settings, in addition to the Web content, are deployed to the remote server. Which of the following deployment methods will you select to accomplish this?()

题型:单项选择题

You have migrated a web application from .net 3.5 to 4.0. the application hat to render same as in .net 3.5.()

题型:单项选择题

Which class is used to specify a set of features to support on the XrnlReader object created by the Create method?()

题型:单项选择题

You are perfoming security testing on an existing asp.net web page.You notice that you are able to issue unauthorised postback requests to the page. You need to prevent unauthorised post back requests. which page directive you use?()

题型:单项选择题