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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:16:41+00:00 2026-06-09T05:16:41+00:00

if a page contains a Viewstate in the source. Does this mean the webpage

  • 0

if a page contains a Viewstate in the source. Does this mean the webpage is using ASP.NET WebForms or could this also be an MVC project ?

Thanks!

  • 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-06-09T05:16:43+00:00Added an answer on June 9, 2026 at 5:16 am

    Source: ASP.NET MVC and Web Forms Integration

    IIS needs to be able to figure out whether a given request is an
    ASP.NET MVC or a Web Forms request. Once it can figure that out, IIS
    can send the request to the appropriate handler and the application
    behaves as you’d expect.

    check these lines from that nice article.

    Caution

    Watch out for ViewState! Though many parts of the ASP.NET Framework
    are accessible by both Web Forms and ASP.NET MVC, the most significant
    piece of the Web Forms Framework that is not supported in ASP.NET MVC
    at all is ViewState. Most often, ViewState is used for a Web Forms
    Page to communicate with itself, so the chances of running into
    ViewState issues when cross-posting between Web Forms pages and
    ASP.NET MVC controllers are slim.

    However, when transitioning your Web Forms application to ASP.NET MVC,
    be on the lookout for any code in your Web Forms application that
    expects ViewState — the ViewState data will not exist during the
    course of an ASP.NET MVC request so code that depends on it will
    likely break!

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

Sidebar

Related Questions

I'm having a problem getting a simple ASP.NET webpage to display. The page contains
I have a page which contains a html.RenderPartial, that renders an ASP.NET MVC partial
I have an ambitious requirement for an asp.net 2.0 web page that contains a
I have an ASP.NET Page that contains a User control called ReportCtrl (my own
This is about ASP.NET, ViewState, UserControls and losing the values of my properties. It
I'm trying to clean up an older ASP.NET WebForms site that has ViewState enabled
I have a master page called SampleMaster.master and this page contains a Repeater control
When trying to get next activities it shows this error: This page contains the
I've been using ASP.NET (C#) for the past two years. I have learned so
I have a question about viewstate and custom controls in asp.net. Say I have

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.