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 7588161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:51:17+00:00 2026-05-30T19:51:17+00:00

I started building an asp.net webform application. Gradually, I moved all the presentation logic

  • 0

I started building an asp.net webform application. Gradually, I moved all the presentation logic to javascript. I removed all the postbacks and replaced those with calls to web services that receive, process and return json data. I use javascript to generate HTML based on the json I receive from my web services: no gridview to generate tables, everything is generated on the page.

I’m at the point where the aspx pages don’t have any code behind any more. I moved all the logic into code libraries in my AppCode folder. I’m not using the viewstate. I’m left with a master page that uses several literals to inject user data on load; the master page has some code behind to manage this process. The main webform functionality I’m using is membership management: I have one login page and one button on the master page that triggers the log out on postback.

Eventually, the entire front-end will work as a one-page application.

How far am I from having an MVC application? Should I keep the structure of my application as is or is there going to be a benefit to moving to an MVC app?

  • 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-30T19:51:18+00:00Added an answer on May 30, 2026 at 7:51 pm

    The main difference between WebForms and MVC in easy terms: in WebForms you essentially call a view (“MyPage.aspx”) which has some additional logic/code attached to it. In MVC you call a remote function (action) like “products/detail” which contains logic and decides what to return to the browser (for example a view, but it could be json, javascript or whatever). So according to your description, those “remote methods” would conceptually work well as an alternative to your web services.

    But as you’re using the web forms part only for rendering the initial web page and use web services for all the rest, I doubt that there wouldn’t be that much benefit from moving to MVC now. The new WebAPI could be interesting for you, but if you already have your services in place I don’t know if you should move now.

    Membership isn’t any different between WebForms and MVC, so there’s no need to change anything here.

    I’d say: if your current design works, leave it at that for now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have started building an asp.net mvc application. Application will consist with one main
I've started building a ASP net MVC 2.0 web application using SQL Express 2008
To learn ASP.net I started building a todo web app(web forms not MVC), this
I am building a asp.net webforms (3.5 sp1) application, using jquery where I can
I've just started using the MVP pattern in the large ASP.NET application that I'm
Background I'm working on building an ASP.Net MVC 3 application that utilizes: JQueryUI for
I've just started building a prototype application in Django. I started out by working
I recently started building a console version of a web application. I copied my
I recently started looking into building web applications using .NET MVC and I stumbled
I am building an ASP.Net MVC app that will run on a shared hosting

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.