1

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?

2 Answers 2

2

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.

Sign up to request clarification or add additional context in comments.

Comments

1

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.

1 Comment

What was your reasoning for performing the conversion? We are developing an MVC site right now, but some of our devs still long for the webforms style.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.