Is System.Web.Optimization part of .Net Framework 4.5?

前端 未结 2 1321
不知归路
不知归路 2021-02-05 07:03

I\'ve been using Microsoft.Web.Optimization package for some time via the Visual Studio 2012 trial. I was thinking that the Optimization Namespace would be part of .NE

相关标签:
2条回答
  • 2021-02-05 07:23

    Here is a similar question:

    • How to add reference to System.Web.Optimization for MVC-3-converted-to-4 app

    Microsoft.Web.Optimization package is now "legacy":

    • Microsoft.Web.Optimization 1.0.0-beta2

    The new package is Microsoft.AspNet.Web.Optimization:

    • Microsoft ASP.NET Web Optimization Framework 1.0.0

    Microsoft.AspNet.Web.Optimization and Microsoft.Web.Optimization are NOT part of .NET Framework 4.5.

    • .NET Framework 4.5 Class Library
    0 讨论(0)
  • 2021-02-05 07:34

    Microsoft is adopting a new strategy with VS2012 in which they are componentizing more of the new features as packages that can be downloaded via nuget. For example, Entity Framework, MVC4, WebApi, Web Optimization, etc.. are all now packages rather than part of the framework.

    The reason is that these systems can now be easily upgraded out of cycle with the rest of the framework. Thus, MVC5 can be easily released without waiting for .NET 5, and Web Optimization v2 can be released whenever it might be ready.

    0 讨论(0)
提交回复
热议问题