Reputation: 2396
I created a ASP.NET project which calls a DAL class I wrote, to retrieve data to display on the page, most of the heavy lifting is in the DAL class.
As you can see, it pretty straightforward, although I do have some minor validation code in my aspx page.
Question here is that: how can I convert this project into a MVC pattern?
Upvotes: 1
Views: 1564
Reputation: 22760
If this is a large project you are converting it may pay to integrate MVC into your existing Web Application and converting bit by bit.
We're in the process of doing that and it seems to be working quite well.
Upvotes: 1
Reputation: 180787
Have a look at the NerdDinner tutorial, and understand the patterns first, before attempting to do a conversion.
There really isn't an automated way of doing it, AFAIK. There are too many moving parts.
Upvotes: 2