You develop a new ASP.NET MVC web application.

HOTSPOT
You develop a new ASP.NET MVC web application. The application is hosted in an Azure Web Role. It
includes the following code. Line numbers are included for reference only.


For each of the following statements, select Yes if the statement is true. Otherwise, select No.

HOTSPOT
You develop a new ASP.NET MVC web application. The application is hosted in an Azure Web Role. It
includes the following code. Line numbers are included for reference only.


For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Answer:

Explanation:
The Right Way to Handle Azure OnStop Events
http://azure.microsoft.com/blog/2013/01/14/the‐right‐way‐to‐handle‐azure‐onstop‐events/



Leave a Reply 3

Your email address will not be published. Required fields are marked *


kasp

kasp

Didn’t find the second. But the first and the third look good:
“The code above checks the ASP.NET request’s current counter. As long as there are requests, the OnStop method calls Sleep to delay the shutdown. Once the current request’s counter drops to zero, OnStop returns, which initiates shutdown. Should the web server be so busy that the pending requests cannot be completed in 5 minutes, the application is shut down anyway.”

https://azure.microsoft.com/en-gb/blog/the-right-way-to-handle-azure-onstop-events/