Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5936605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:25:20+00:00 2026-05-22T15:25:20+00:00

I have a small application developed in ASP.NET 2.0 WebForms. For learning purpose, I

  • 0

I have a small application developed in ASP.NET 2.0 WebForms. For learning purpose, I am thinking to convert this application to MVC 3 + Entity Framework. Below is the simplest example to simulate my application. Nothing fancy.

Application Layout:

(image should read “input fields” and not “files”)

enter image description here

Architecture:

enter image description here

Key points:

  1. Methods in Service layer is using ADO.NET SqlCommand ExecuteReader method to execute stored procedures

  2. Most of the manipulation etc. logic is done in stored procedures. Hardly any manipulation of data in Service layer

Now I want to convert this application to MVC.

Questions:

  1. What benefit do I get (technically) if I convert this application into MVC + Entity Framework?

  2. How do I go about it?

  3. I have looked at some basic MVC3 tutorials but they all talk about EF code-first, which I don’t think will fit in my case since I want to use the existing stored procedures. Is that correct?

Note: I want to use the existing stored procedures. Say I don’t have control on DB structure changes.

Update 1:

  1. There isn’t a single inline query in my application. Even the smallest little query is a stored procedure. Tons of them.

  2. Using SQL Server and almost nil chances of changing to any other DBS.

Update 2:

My webforms application is 99% complete and can go live anytime but due to some business hurdles it hasn’t. In mean while I thought if I can convert (i.e. develop) this to MVC, I will learn plus if it works out can go live (my first MVC) instead of the webforms one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T15:25:21+00:00Added an answer on May 22, 2026 at 3:25 pm

    Before answering the specific questions I’ll point out that you should probably seperate the choices into 2:

    1. Converting the presentation layer to use MVC instead of WebForms.
    2. Converting the data layer to use EF instead of ADO.NET.

    Now for your questions

    1. Benefits of MVC include better control over HTML, better testability, etc. Benefits of EF include abstracting away DB-specific things (you could theoretically replace SQL Server with MySQL, assuming an appropriate MySQL provider), LINQ support, etc. Of course there are also costs to such a transition.
    2. Divide and conquer. As stated earlier you don’t have to do everything at once. Start with the presentation layer and convert it to MVC. Remember that you can have mixed WebForms and MVC applications so you don’t have to transition all your pages at the same time. Then convert your data layer to EF. Or start in the reverse order, whatever makes sense for your project.
    3. [Not an expert in this topic] if you rely heavily on SPs than consider traditional EF. If you have only a few SPs then you could consider code first + handling the SPs with DataSets (potentially wrapped in custom built classes) to make everything work, though that might get complicated. As before, you don’t have to move to EF if the cost is too high.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small application to convert several file formats, with a main windows
I have a small VB.NET application that I'm working on using the full version
I have small problem with my .net 2.0 winforms application. I want to embed
I have a small application I am working on that at one point needs
I have a small lightweight application that is used as part of a larger
I have a small AJAX application, written in PHP that I did not secure
I have a small ajax application built with php. Using phpMyAdmin I have set
I have created a small application which opens,reads and creates Excel files. The app
I have written a small java application for which I need to obtain performance
I'm writng a small application in PHP + MySQL and have come to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.