I'm sorry, I know you have said that you understand that the web is a
stateless environment, but your comments only tell me that you don't
understand what that means and that you don't understand 1/1000th of what
ASP.NET is and what it can do.
The question is why can't ASP.net be smart enough to restore the entire
environment for the application? Is
this not possible?
The crux of your question really seems not to be why can't ASP.NET be smart
enough to restore the entire environment. It really seems that you are
asking why can't the web be a statefull environment. Your comments seem to
blame ASP.NET for the fundamental architecture of the Internet.
All ASP.Net seems to do is automatically do a
Request.QueryString and stuff that value back in the edit field for me.
Actually, it is a Request.Form. Do you know the difference between the two?
And it is hardly "all" that ASP.NET does. The fact that you are saying this
tells me that you haven't investigated ASP.NET beyond the surface.
Well, a big woo-hoo to that. Who cares? When I write a desktop
application the memory space isn't dumped every time I hit an
event-driven button.
Umm, that's because it's a desktop app, not a web app! The fact that you
would make this comparison tells me that (despite what you say) you don't
understand the difference between a client and a server application.
ASP.Net is deceptive in that it appears to be a
web-based version of MFC or Visual Basic, but it's not.
Again, I'll recommend that you take the time to learn about what you are
commenting about. How can you compare ASP.NET to Visual Basic? One is an
architecture and one is a language. If it "appears" to be a web based
version of MFC, it's only because you don't fully understand what ASP.NET
is.
What I'm hoping is that somebody will tell me this can be fixed with a
setting
that I've overlooked. Why CAN'T ASP.Net restore the true state of the
application each time it's executed?
Ask yourself "why" you need the entire state of the application stored when
ASP.NET can RE-store the parts that you need without much effort at all. If
there is something you'd like to persist between page calls, the web offers
several scenarios: cookies, hidden form fields, server session variables,
querystrings, the ASP.NET cache, ASP.NET ViewState, database storage, etc.
I understand that the web is stateless.
Maybe, but I don't think you understand what stateless means or "why" the
web is stateless in the first place.
And I understand that ASP.Net masks this by passing hidden
viewstate ids around that allow the server to set everything back up,
or contiue where it was before. So why can't it restore everything?
This is why I don't think you understand "stateless". In one breath you say
you understand the web is stateless and in the next, you ask why it can't be
statefull. Let me ask you a question, why do you need everything
continuously stored when, as you correctly state, ASP.NET will set
everything back up to the way it was before?
Does anybody actually understand what I'm asking?
Well, there are 2 possibilities:
1. We don't understand what you are asking because you are not asking it
very well.
2. You don't understand what you are asking because you don't know much
about what you are asking about.