[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:

ASP.NET web app to MVC

I'm looking to migrate (or integrate) my ASP.NET web applications  (to/with) MVC.

I found a blog that says adding references System.Web.Abstractions, System.Web.Routing and System.Web.MVC generates the MVC folder structure.
I added these references but they didn't generate the MVC folder structure required.

How can I get this done?
Thanks in advance.
0
foxbari
Asked:
foxbari
  • 2
1 Solution
 
Sammy AgeilCommented:
You will have to create the folder structure.
Adding the references will prevent your project from failing to build.
Structure is your responsibility
0
 
Daniel Van Der WerkenIndependent ConsultantCommented:
Microsoft recently published an article about this topic here:
http://msdn.microsoft.com/en-us/magazine/jj991978.aspx

It's a bit complex, but I hope this information is helpful.
0
 
Sammy AgeilCommented:
There is no way to have Visual Studio create the structure for you.
This article details how to migrate your code from web forms form to html driven simple form.
Also, Adding these references will not magically change your code from Webforms to MVC views and controllers nor it will cause visual studio to add the solution structure for you.

The article you read is for using a hybrid MVC/web forms application not for migrating applications from one to the other
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now