PrepAway - Latest Free Exam Questions & Answers

You are developing an ASP.NET MVC web application in Visual Studio 2012. The application requires several thou

You are developing an ASP.NET MVC web application in Visual Studio 2012. The application requires several thousand content files. All content is hosted on the same IIS instance as the application.

You detect performance issues when

the application starts.

You need to resolve the performance issues.

What should you do?

A. Implement HTTP caching in the ASP.NET MVC controllers.

B. Combine the content files by using ASP.NET MVC bundling.

C. Install a second IIS instance.

D. Move the c

ontent to a Windows Azure CDN.

Explanation:

Bundling is a new feature in ASP.NET 4.5 that makes it easy to combine or bundle multiple files into a single file. You can create CSS, JavaScript and other bundles. Fewer files means fewer HTTP reques

ts and that can improve first page load performance.

References: https://www.asp.net/mvc/overview/performance/bundling-and-minification

One Comment on “You are developing an ASP.NET MVC web application in Visual Studio 2012. The application requires several thou

  1. kaggelpiep says:

    I do not agree with B. It is not being specified what the content is. Can be CSS, Javascript files, individual images, pdf files, whatever. You don’t bundle images and pdf files.
    I think it should be D.




    2



    0

Leave a Reply