| Exam Code/Number: | 70-492Join the discussion |
| Exam Name: | Upgrade your MCPD: Web Developer 4 to MCSD: Web Applications |
| Certification: | Microsoft |
| Question Number: | 132 |
| Publish Date: | Aug 31, 2026 |
|
Rating
100%
|
|
If the canvas element is supported by the client browser, the application must display "London 2012" in the footer as text formatted by JavaScript at the end of the _Layout.cshtml file. You need to modify the layout to ensure that "London 2012" is displayed as either formatted text or as plain text, depending on what the client browser supports. Which code segment should you add?
You are developing an ASP.NET MVC application. You need to authenticate clients by using NT LAN Manager (NTLM). Which authentication method should you implement?
The DeleteExternalOrder() method in the ExternalQueueService service is not throwing a FaultException exception as defined by the FaultContractAttribute attribute in the IExternalQueueService.cs file. You need to throw the FaultException exception. Which code segments can you insert at line EQ45 to achieve this goal? (Each correct answer presents a complete solution. Chose all that apply)
Errors occasionally occur when saving data using the FlightInfoContext ADO.NET Entity Framework context. Updates to the data are being lost when an error occurs. You need to ensure that data is still saved when an error occurs by retrying the operation. No more than five retries should be performed. Which code segment should you use as the body of the SaveChanges() method in the FlightInfoContext.es file

You need to ensure that developers can connect to a Windows Azure role by using RDP. What should you do?