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

  • SEARCH
  • Home
  • 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 60437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:09:42+00:00 2026-05-10T18:09:42+00:00

Although ASP.NET MVC seems to have all the hype these days, WebForms are still

  • 0

Although ASP.NET MVC seems to have all the hype these days, WebForms are still quite pervasive. How do you keep your project sane? Let’s collect some tips here.

  • 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. 2026-05-10T18:09:43+00:00Added an answer on May 10, 2026 at 6:09 pm
    • Create web user controls for anything that will be shown on more than one page that isn’t a part of masterpage type content. Example: If your application displays product information on 10 pages, it’s best to have a user control that is used on 10 pages rather than cut’n’pasting the display code 10 times.
    • Put as little business logic in the code behind as possible. The code behind should defer to your business layer to perform the work that isn’t directly related to putting things on the page and sending data back and forth from the business layer.
    • Do not reinvent the wheel. A lot of sloppy codebehinds that I’ve seen are made up of code that is doing things that the framework already provides.
    • In general, avoid script blocks in the html.
    • Do not have one page do too many things. Something I have seen time and time again is a page that say has add and edit modes. That’s fine. However if you have many sub modes to add and edit, you are better off having multiple pages for each sub mode with reuse through user controls. You really need to avoid going a bunch of nested IFs to determine what your user is trying to do and then showing the correct things depending on that. Things get out of control quickly if your page has many possible states.
    • Learn/Grok the page lifecycle and use it to your advantage. Many ugly codebehind pages that I’ve seen could be cleaner if the coder understood the page lifecycle better.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My ISP doesn't have ASP.NET MVC installed on their servers yet, although they do
I have 4 JQuery Tabs in an ASP.Net MVC 3 appication. All tabs display
I have some ASP.NET MVC actions that generate images dynamically (although it could equally
I wrote a site using ASP.NET MVC, and although it is not completely SEO
I'm trying to learn ASP.NET MVC, and I want to have menus highlighted on
I have an asp.net-mvc site and I use the below javascript library for a
I have an ASP.NET MVC application where I need to allow to customers configure
I am using ASP.NET MVC 4 Beta with Web API - although I believe
I have an ASP.NET MVC 3 web site that uses Windows Authentication running under
i have the following script inside my asp.net MVC application to bounce the image

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.