问答题简述调用Web Service设计ASP.NET应用程序的基本步骤?

问答题
简述调用Web Service设计ASP.NET应用程序的基本步骤?

参考解析

解析: 暂无解析

相关考题:

ASP.NET应用程序中,Web配置文件的扩展名是:( ) A、aspxB、csprojC、slnD、config

在Web Service中,通过(16)来执行服务调用。A.SOAPB.UDDIC.XML SchemaD.HTTPS

You are creating an ASP.NET web application that hosts several Windows Communication Foundation (WCF) services.The services have ASP.NET Compatibility Mode enabled. Users authenticate with the Web application by using a cookie-based ASP.NET Forms Authentication model.You add a service file named Authentication.svc that contains the following code segment:%@ ServiceHost Service=System.Web.ApplicationServices.AuthenticationServiceFactory=System.Web.ApplicationServices.ApplicationServicesHostFactory %You need to ensure that users can access the WCF services without having to re-authenticate.Which two configuration settings should you add? (Each is part of a complete solution. Choose two.)()A. In the system web. Extensions scripting/webServices/authenticationService element, set the enabled attribute to true.B. In the system web. Extensions scripting/webServices/profileService element, set the enabled attribute to true.C. Add a service endpoint with basicHttpBinding for the contract System.Web.ApplicationServices.AuthenticationService.D. Add a custom service behavior named AuthenticationService Type Behaviors with a service AuthenticationManager element that has service AuthenticationManagerType set to System.Web.Security.SQL Membership Provider

下列关于Web服务说法错误的是( )。A.Web Service是由URI标识的软件应用程序B.Web服务就是可以通过Web描述、发布、定位和调用的模块化应用。一旦Web服务被部署,其他的应用程序或是Web服务就能够发现并且调用这个部署的服务C.Web服务是在Windows操作系统上可获取的服务的总称。Web服务使用标准的XML消息接发系统,并且不受任何编程语言的束缚D.Web服务通过简单对象访问协议(Simple Object Access Protocol,SOAP)来调用

在Web Service中,通过__________来执行服务调用。A.HTTPSB.SOAPC.XML SchemaD.UDDI

You are planning to migrate an existing web application to Windows Azure.  The application consists of an ASP.NET web application and a set of native Win32 Windows Services that provide data to the application by using named pipes. The Windows Services cannot be modified.  You need to recommend a strategy for migrating the application to Windows Azure.  What should you recommend?()A、 Define a Windows CommunicationFoundation (WCF) contract for the services.B、 Deploy each Windows Service to a separate worker role.  Deploy the ASP.NET application to a web role.C、 Deploy the application and Windows Services in a Windows Azure VM role.D、 Upload service binaries to a web role by using the Windows Azure Service Management API.

下列关于Service描述不正确的是()。A、启动Service的组件被销毁时,Service也将被销毁B、当Activity通过调用startService()方法启动Service时,它处于started状态C、当应用程序组件通过调用bindService()方法绑定到Service时,Service处于bound状态D、其他应用程序组件能启动Service并且即便用户切换到另一个应用程序,Service还可以在后台运行

在ASP.NET中,下面说法正确的是()A、machine.config用来保存Asp.net的当前计算机所有应用程序的配置B、web.config通常用来保存一个站点信息的配置信息C、web.config在一个web应用程序中可以有多个D、以上说法都正确

简述调用Web Service设计ASP.NET应用程序的基本步骤?

ASP.NET的Web应用程序项目中的所有后台代码类文件会被编译成一个()。A、.xmlB、.htmlC、.docD、.dll

某组织计划自动化其业务流程并以服务的方式对外开放,请问在SOA环境下应怎样与上述服务交互?()A、可能有某种Web应用程序扮演服务消费者的角色,它允许自动调用服务流程,而且任何一种服务流程中的活动都可能是如此被调用B、可能有某种Web应用程序扮演服务消费者的角色,它允许从浏览器中自动调用服务流程,所有服务流程中的活动都是如此被调用C、可能有某种Web应用程序扮演服务消费者的角色,它允许自动调用服务流程,只有特殊的步骤可能采取上述方式D、所有活动都应该以自动服务的方式对外开放

简述设计Web站点的一般步骤。

下面关于XML Web Services的说法,错误的是()。A、XML Web Service的核心概念是基于Java的应用程序能够在基于标准的环境中创建,并作为服务将内容传递给客户端B、XML Web Service为基于web的专用应用程序在Internet上的传输提供了一种方式C、XML Web Service利用XML和其他Internet标准,使得服务的使用者能够通过XML得到它们的服务D、XML Web Service的例子包括税收计算服务,验证服务和各种购物和电子商务服务等等其他各种服务

You create a Visual Studio 2010 solution that includes a WCF service project and an ASP.NET project. The service includes a method named GetPeople that takes no arguments and returns an array of Person objects. The ASP.NET application uses a proxy class to access the service. You use the Add Service Reference wizard to generate the class. After you create the proxy, you move the service endpoint to a different port. You need to configure the client to use the new service address. In addition, you must change the implementation so that calls to the client proxy will return a List instead of an array. Which two actions should you perform?()A、In the context menu for the service reference in the ASP.NET project, select the Configure Service Reference commSystem.Collections.Generic.ListB、In the context menu for the service reference in the ASP.NET project, select the Update Service Reference commaC、Change the service interface and implementation to return a ListD、Edit the address property of the endpoint element in the web.config file to use the new service address

多选题You create a Visual Studio 2010 solution that includes a WCF service project and an ASP.NET project. The service includes a method named GetPeople that takes no arguments and returns an array of Person objects. The ASP.NET application uses a proxy class to access the service. You use the Add Service Reference wizard to generate the class. After you create the proxy, you move the service endpoint to a different port. You need to configure the client to use the new service address. In addition, you must change the implementation so that calls to the client proxy will return a List instead of an array. Which two actions should you perform?()AIn the context menu for the service reference in the ASP.NET project, select the Configure Service Reference commSystem.Collections.Generic.ListBIn the context menu for the service reference in the ASP.NET project, select the Update Service Reference commaCChange the service interface and implementation to return a ListDEdit the address property of the endpoint element in the web.config file to use the new service address

单选题你正在为一家公司的Internet网站创建ASP.NET应用程序。你想创建一个在网站的每个页面的顶部都显示的工具条,此工具条仅包括静态HTML代码,只能在你的应用程序中使用。你计划创建的工具条可以被你的应用程序重复使用,而且你必须尽快的完成这个工具条,你该怎么做?()A创建一个新的Web控件库项目,在一个Web自定义控件中创建工具条B将一个新的Web窗体添加到你的ASP.NET项目,使用HTML服务器控件在WEB窗体内设计该工具条,并用.ascx扩展名保存该web窗体C将一个新的Web用户控件添加到你的ASP.NET项目,在Web用户控件中创建工具条D将一个新的组件类添加到你的ASP.NET项目,使用HTML服务器控件在该组件类的设计程序中设计该工具条

单选题You are planning to migrate an existing web application to Windows Azure.  The application consists of an ASP.NET web application and a set of native Win32 Windows Services that provide data to the application by using named pipes. The Windows Services cannot be modified.  You need to recommend a strategy for migrating the application to Windows Azure.  What should you recommend?()A Define a Windows CommunicationFoundation (WCF) contract for the services.B Deploy each Windows Service to a separate worker role.  Deploy the ASP.NET application to a web role.C Deploy the application and Windows Services in a Windows Azure VM role.D Upload service binaries to a web role by using the Windows Azure Service Management API.

单选题你为一家公司创建了一个ASP.NET的应用程序。公司配置了一个XMLWeb服务来返回百科全书的文章清单以及需要请求的关键字。你需要创建一个类来调用XMLWeb服务。你该怎么做?()A在Visual Studio .NET的Project菜单上选择Add Web Service,并浏览XML Web serviceB在Visual Studio .NET的Project菜单上选择Add Reference,并浏览XML Web servicC在Visual Studio .NET的Project菜单上选择Add Web Reference,并浏览XML WebservicD运行Tlbimp.exe,为XML Web service提供他的URLE运行Disco.exe,为XML Web service提供他的URL

单选题下面关于XML Web Services的说法,错误的是()。AXML Web Service的核心概念是基于Java的应用程序能够在基于标准的环境中创建,并作为服务将内容传递给客户端BXML Web Service为基于web的专用应用程序在Internet上的传输提供了一种方式CXML Web Service利用XML和其他Internet标准,使得服务的使用者能够通过XML得到它们的服务DXML Web Service的例子包括税收计算服务,验证服务和各种购物和电子商务服务等等其他各种服务

单选题You manage a server that runs Windows Server 2008. The server has the Web Server (IIS) role installed. The Web developer at your company creates a new Web site that runs an ASP.NET 3.0 Web application.  The ASP.NET Web application must run under a security context that is separate from any other ASP.NET application on the Web server.  You create a local user account and grant account rights and permissions to run the ASP.NET Web application.  You need to configure authentication for the new Web site to support the Web application. What should you do?()AConfigure the Windows Authentication setting to Enabled.BConfigure the Forms Authentication setting to Enabled by using all the default settings.CConfigure the ASP.NET State service to log on to the new local user account by using the Services console.DConfigure the ASP.NET Impersonation setting to Enabled. Edit the ASP.NET Impersonation setting by specifying the new local user account.

单选题创建ASP.NET应用程序用于运行某公司内部的Web站点,这个应用程序包含了50个页面。想要配置这个应用程序以便当发生一个HTTP代码错误时它可以显示一个自定义的错误页面给用户。想要花最小的代价完成这些目标,应该怎么做?()A在这个应用程序的Web.config文件中创建一个applicationError节去处理ASP.NET代码错误B在这个应用程序的Global.asax文件中创建一个CustomErrors事件去处理HTTP错误C在这个应用程序的Web.config文件中创建一个CustomErrors节去处理HTTP错误D在这个应用程序的每一页中添加一个Page指示符去处理ASP.NET代码错误

单选题You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  This application will be part of a solution that contains a Windows Communication Foundation (WCF) service project. The Web application will be used to make calls to a service identified in theWCF service project. Management is planning to host the Web application on a separate serverfrom the WCF service. They want the WCF service to perform remotely. You need to add areference to the WCF service.  What should you do?()AYou should add an assembly reference to the project.BYou should add a project reference to the project.CYou should add a Web reference to the project.DYou should add a service reference to the project.

单选题You work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services, and configuring aweb services infrastructure. You are in charge of a server that runs Windows Server 2008. The server hasthe Web Server (IIS) server role installed. The Web developer at your company creates a new Web sitethat runs an ASP.NET 3.0 Web application. The ASP.NET Web application must run under a securitycontext that is separate from any other ASP.NET application on the Web server. You create a local useraccount and grant account rights and permissions to run the ASP.NET Web application. Authentication forthe new Web site should be configured to support the Web application. What action should you perform?()AThe ASP.NET Impersonation setting should be configured to Enabled. Edit the ASP.NET Impersonation setting by specifying the new local user account.BThe Windows Authentication setting should be configured to Enabled.CThe Forms Authentication setting should be configured to Enabled by using all the default settings.DThe ASP.NET State Service should be configured to log on to the new local user account by using the Services console.

多选题You are creating an ASP.NET web application that hosts several Windows Communication Foundation (WCF) services. The services have ASP.NET Compatibility Mode enabled. Users authenticate with the Web application by using a cookie-based ASP.NET Forms Authentication model. You add a service file named Authentication.svc that contains the following code segment: You need to ensure that users can access the WCF services without having to re-authenticate. Which two configuration settings should you add? (Each is part of a complete solution. Choose two.)()AIn the system web. Extensions scripting/webServices/authenticationService element, set the enabled attribute to true.BIn the system web. Extensions scripting/webServices/profileService element, set the enabled attribute to true.CAdd a service endpoint with basicHttpBinding for the contract System.Web.ApplicationServices.AuthenticationService.DAdd a custom service behavior named AuthenticationService Type Behaviors with a service AuthenticationManager element that has service AuthenticationManagerType set to System.Web.Security.SQL Membership Provider

单选题使用WebService通常按3个步骤进行,下列不属于三个步骤中的选项是()。A创建Web ServiceB发布Web ServiceC调用Web ServiceD调试Web Service

单选题您管理着一台运行 Windows Server 2008的服务器。该服务器上安装了Web服务器(IIS)角色。公司的 Web 开发人员创建了一个新的网站,上面运行了一个ASP.NET 3.0 Web应用程序。该ASP.NET Web应用程序必须在与Web服务器上的任何其他ASP.NET应用程序分开的安全上下文中运行。您创建了一个本地用户账户,并授予该账户运行此 ASP.NET Web 应用程序的权利和权限。您需要配置新网站的身份验证,以支持该Web应用程序。该怎么做?()A将“Windows 身份验证”设置配置为“已启用”。B使用所有默认设置,将“Forms 身份验证”设置配置为“已启用”。C使用“服务”控制台将 ASP.NET 状态服务配置为用这个新的本地用户账户登录。D将“ASP.NET 模拟”设置配置为“已启用”。编辑“ASP.NET 模拟”设置,指定这个新的本地用户账户。

单选题下列关于Service描述不正确的是()。A启动Service的组件被销毁时,Service也将被销毁B当Activity通过调用startService()方法启动Service时,它处于started状态C当应用程序组件通过调用bindService()方法绑定到Service时,Service处于bound状态D其他应用程序组件能启动Service并且即便用户切换到另一个应用程序,Service还可以在后台运行