试题详情
- 多项选择题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.List
B、In the context menu for the service reference in the ASP.NET project, select the Update Service Reference comma
C、Change the service interface and implementation to return a List
D、Edit the address property of the endpoint element in the web.config file to use the new service address
- A,D
关注下方微信公众号,在线模考后查看
热门试题