简述调用Web Service设计ASP.NET应用程序的基本步骤?
简述调用Web Service设计ASP.NET应用程序的基本步骤?
相关考题:
论Web Service技术的应用与发展趋势随着Internet技术的发展,一种新的分布式计算模型--WebService应运而生。在支持基于Web的新型应用方面,Web Service体系结构具有独特的优势和广泛的应用前景,但在实际应用中仍然存在一些问题。请围绕Web Service技术的应用与发展趋势论题,依次从以下3个方面进行论述:①简述你参与的此类应用项目,以及你在其中所担任的主要工作。②论述你所参与的应用项目的特点及选用Web Service体系结构的准则,结合实例详细叙述WebService技术在你参与的项目中的应用、所带来的好处及遇到的问题。③分析并讨论WebService技术的特点、应用前景及其存在的主要问题,并简要展望WebService技术的发展趋势。
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)来调用
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还可以在后台运行
Web Service的应用领域中,()是指面向企业应用的服务,包括企业内部的ERP系统、企业间的SCM、CRM等系统。A、面向商业的Web ServiceB、面向消费者的Web ServiceC、面向设备的Web ServiceD、面向系统的Web Service
默认情况下,在 Microsoft Windows XP 系统上,IIS 通过匿名用户请求资源的时候,ASP.NET 使用什么安全上下文?()A、Guest 账号B、Network Service 账号C、请求 Web 页的账号D、ASP.NET 账号
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
单选题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
单选题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.
单选题Web Service的应用领域中,()是指面向企业应用的服务,包括企业内部的ERP系统、企业间的SCM、CRM等系统。A面向商业的Web ServiceB面向消费者的Web ServiceC面向设备的Web ServiceD面向系统的Web Service
单选题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还可以在后台运行