Developing ASP.NET MVC Web Applications — Question 52
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some questions sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop an ASP.NET web application that is self-hosted using Open Web Interface for .NET (OWIN) in a Microsoft Azure Worker role.
The web application throws exceptions.
You need to resolve the exceptions.
Solution: Change the HTTP Endpoints to use port 80.
Does the solution meet the goal?
Answer options
- A. Yes
- B. No
Correct answer: A
Explanation
Changing the HTTP Endpoints to port 80 can resolve potential issues related to the handling of HTTP requests and exceptions in a self-hosted environment, as port 80 is the standard port for HTTP traffic. Other ports might not be properly configured or accessible, leading to exceptions, so this solution is appropriate. The option 'No' does not recognize the benefits of utilizing the standard port for HTTP communications.