Tim
Tim

Reputation: 7431

vb.net asp.net webforms application > c# asp.net mvc razor application

we are looking at migrating our vb.net webforms application to c# mvc. We appreciate this may need to be done in stages but was wondering if anyone else has any experience of this architectural change.

The article below appears to show a method of getting vb.mvc and vb.webforms in the same application.

http://www.devcurry.com/2013/05/adopting-aspnet-mvc-enhancements-in.html

Since we are using a web application rather than a website we cannot mix languages i believe.

Upvotes: 3

Views: 618

Answers (1)

CodeCaster
CodeCaster

Reputation: 151730

Extract the business logic out of the VB.Net project, into a separate library, and add a reference to that library to both your old VB.Net site and the new C# MVC project.

As long as the business logic doesn't change, you can manually convert the ASP.Net application into an MVC application, by rebuilding it on the same business logic, but with Models, Views and Controllers instead of masterpages, html builders and literals.

When you are done, you can optionally convert the VB.Net business logic to C#.

Upvotes: 2

Related Questions