Thursday, September 10, 2015

Differences in OneASP.NET Project Templates

If you are creating a OneASP.NET Project using Visual Studio 2013 or Visual Studio 2015, you may be very surprised as to how the project templates are generated!

The project templates are basically using an order-of-operations methodology!!

Therefore, if you select an ASP.NET MVC Project Template FIRST and then you select ASP.NET Web Forms, you will get a Project Template which contains absolutely NO ASPX Web Form Pages but a Home Controller and several Razor Views!!





However, if you instead select an ASP.NET Web Forms Project Template FIRST and then you select ASP.NET MVC, you will get a Project Template which contains ASPX Web Form Pages but no Controllers or Razor Views!!




Therefore, when you are using Visual Studio, you have to carefully decide which piece of functionality is of primary importance to you because even in OneASP.NET, you only get 1 or the other!!


No comments:

Post a Comment