What is the abstraction that .net provides while handling a request submitted from a Web page?
For example, entering username and password and clicking submit on the page.
If you have an asp.NET webpage hosting a page with, as your example, username and password boxes and a submit button, there are a few ways to handle it.
Traditionaly it would be a <FORM> with an action pointing to some type of backend script (most likely perl or php), however the ASP.NET style has included the "self postback" type deal. (Actually I think it was there in regular asp too, it's just way more powerfull now) You mark all your web controls as being part of asp.net and can now control the backend with C# or VB (and maybe more, I'm not sure)
At that point it's pretty much the same ballgame. You have access to the data that was submitted, and a vast amount of other data to build the resulting webpage.
That might not be too clear, but you should just create one and try it out a bit.
Comment