Free Microsoft 70-523 Exam Dumps Questions & Answers
| Exam Code/Number: | 70-523Join the discussion |
| Exam Name: | UPG:Transition MCPD.NET Frmwrk 3.5 Web Dev to 4 Web Dev |
| Certification: | Microsoft |
| Free Question Number: | 118 |
| Publish Date: | Aug 06, 2026 |
| # of views: | 2435 |
|
|
|
You are consuming a Windows Communication Foundation (WCF) service in an ASP.NET Web application. The service interface is defined as follows. [ServiceContract] public interface ICatalog {
[OperationContract]
[WebGet(UriTemplate = "/Catalog/Items/{id}",
ResponseFormat = WebMessageFormat.Json)]
string RetrieveItemDescription(int id); } The service is hosted at /Catalog.svc. You need to call the service using jQuery to retrieve the description of an item as indicated by a variable named itemId. Which code segment should you use?
You need to design a solution for programmatically adding reusable user-interface code to views and allowing the user-interface code to be rendered from the server side. Which approach should you recommend
You are adding a Windows Communication Foundation (WCF) service to an existing application. The
application is configured as follows. (Line numbers are included for reference only.)
01 <configuration>
02 <system.serviceModel>
03 <services>
04 <service name="Contoso.Sales.StockService"
05 behaviorConfiguration="MetadataBehavior">
06 <host>
07 <baseAddresses>
08 <add baseAddress="http://contoso.com:8080/StockService" />
09 </baseAddresses>
10 </host>
11 </service>
12 </services>
13 <behaviors>
14 <serviceBehaviors>
15 <behavior name="MetadataBehavior">
16 </behavior>
17 </serviceBehaviors>
18 </behaviors>
You need to configure the service to publish the service metadata.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
You use Microsoft Visual Studio 2010 and Microsoft. NET Framework 4 to create an application. The application connects to a Microsoft SQL Server database. You use Entity SQL of the ADO.NE Entity Framework to retrieve data from the database. You need to define a custom function in the conceptual model. You also need to ensure that the function calculates a value based on properties of the object. Which two XML element types should you use? (Each correct answer presents part of the solution. Choose two.)