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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:15:13+00:00 2026-05-16T15:15:13+00:00

Okay I hear that thing all the time on internet when reading an article

  • 0

Okay I hear that thing all the time on internet when reading an article about MVC : “Since Asp.NET MVC is REST, it is easy to consume … etc.” I’ve never heard such a thing for Asp.NET Webforms and it makes me wonder what makes something REST.

As I understood, REST means Representational State Transfer in which what a user see on their browser is a state. But I don’t think it means it always should be like RPC as MVC does. It could be a physical page served by the server like how it works in Asp.NET WebForms (Default.aspx) As long as it returns a state representation, it is called REST.

So if my understanding is fine, then shouldn’t webforms be also REST?

Uggh, I am kinda confused….

Thanks in advance….

Edit and brief answer :
Okay folks, listen up 🙂 this is the answer I believe which is correct :

As we know it REST should match basic principles below :

* Give every “thing” an ID
* Link things together
* Use standard methods
* Resources with multiple representations
* Communicate statelessly

So as we know it, webforms use highly postbacks, session to get idea about the previous requests and you can do postback countless times to get something like :

search.aspx and post the selected value of a dropdownmenu and there is no get, only post and postback from the server.

Well it obviously cannot be restful architectural style.

  • 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-16T15:15:14+00:00Added an answer on May 16, 2026 at 3:15 pm

    It is surprising statement. If I use session in ASP.NET MVC it will not be REST at all.

    Edit:

    REST is stateless. If I use session the prcessing will become stateful. Subsequent requests will be able to use state (from session) so the HTTP response will not contain whole state.

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

Sidebar

Related Questions

Okay, I have hundreds of .net controls with text attributes that needs to be
Okay, I'm reading about Linux kernel development and there are some code snippets using
Okay, I've looked all over the internet for a good solution to get PHP
Okay, next PHPExcel question. I have an HTML form that users fill out and
okay, i'm setting up a multi-user chat system. i have a messages table, that
Okay, before you spam me with StringFormat.Alignment = StringAlignment.Center ... hear my whole issue:
Okay so here is what I'm trying to accomplish. First of all below table
Okay, I've set up a bit of code which searching for all the pages
Okay so here is my database: I have a page on my .net form
Okay so what I have is a table that keeps track of history on

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.