70-486 Exam QuestionsBrowse all questions from this exam

70-486 Exam - Question 123


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: Use standard HttpModule and HttpHandler types.

Does the solution meet the goal?

Show Answer
Correct Answer: B

Open Web Interface for .NET (OWIN) provides a standardized way to develop web applications and can be effectively self-hosted. Using standard HttpModule and HttpHandler types would not resolve the exceptions because those components are typically used within the context of IIS, not with a self-hosted OWIN application. Therefore, they are not compatible with the OWIN framework, which emphasizes decoupling the application from the server. Thus, using HttpModule and HttpHandler types does not meet the goal of resolving exceptions in an OWIN self-hosted web application.

Discussion

1 comment
Sign in to comment
arohhOption: B
Nov 28, 2020

I would say No, because OWIN is better technology than HttpModules, so why would you change it?