Http Request Abstraction In Dot Net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jackie999
    New Member
    • Jul 2007
    • 11

    #1

    Http Request Abstraction In Dot Net

    Guys, can anybody explain me how the http request abstraction is done in dot net????

    Cheers.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    What do you mean by http request abstraction?
    There is a HttpWebRequest object, if that helps.

    Comment

    • jackie999
      New Member
      • Jul 2007
      • 11

      #3
      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.

      Comment

      • radcaesar
        Recognized Expert Contributor
        • Sep 2006
        • 759

        #4
        NO I don't get ur query as Plater do...

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          Originally posted by jackie999
          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

          Working...