Although ASP. NET Web Forms is not part of the vNext plan, it is not ignored. As part of Visual Studio 2013 Update 2, it restarts to support new tools, EF integration, and Roslyn.
Why Web Forms is not part of ASP. NET vNext
In the beginning, Let's explain the bad news first. To improve performance and cross-platform portability, ASP. NET vNext is eliminating dependency on System. Web. Compared with OWIN, it is slow and huge, making the test work much more unnecessary.
Although they have tried to separate it multiple times, Web Forms is very closely related to other parts of System. Web. That's just the beginning of the problem. System. Web and System. Design have circular dependencies, which should not happen. More complex, System. Design also involves System. Windows. Forms.
All in all, the Web Forms code is like a piece of pasta that cannot be solved. However, it will continue to be used, so Microsoft will still provide support for it.
Support for Roslyn
As part of its deployment policy, Web Forms always includes runtime compilation. This remains unchanged, but as an alternative, developers can switch to the Roslyn-based CodeDOM provider. (CodeDOM is the compiler framework currently used by Web Forms) Pranav Rastogi writes:
We tested an application of moderate size and complexity (there are more than 600 assemblies and more than 500 User Controls & pages under the \ bin directory ), after the new CodeDOM provider is enabled, the compile cost of the Start/pre-compile stage is reduced from about 15 minutes to about 70 seconds.
Supports ASP. NET Identity 2.0
ASP. NET Identity is a new membership management system for building ASP. NET applications. Identity makes it easier to add user configuration files, such as Facebook, Twitter, Microsoft accounts, and Google, and switch the persistent layer from SqlServer to Azure Table Storage. It also provides features such as account validation, two-factor authentication, account locking, single sign-on from any location, password reset, and many other security-related features.
In this update, the Web Forms Template has been modified to include functions from ASP. NET Identity 2.0.
Supported Entity Framework 6
To support EF6, the following components have been updated:
- EntityDataSource Control
- DynamicData provider
- Universal provider
Web Forms scaffolding
Scaffolding is a code generator used for basic CRUD operations in the ASP. net mvc model. It was rewritten in Visual Studio 2013. The result of rewriting is that Microsoft can now provide Scaffolding Support for Web Forms. In particular, developers can create, replace, update, and delete views from a model object.
Readers can read the complete Web Forms announcement from the. NET Web development and tool blog.
Improvements for ASP. NET Web Forms