Web Panel?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shawnmb

    #1

    Web Panel?

    Would it be hard to write an application which could send a basic html
    page to, let's say a browser, that connects to the application on a
    specified port? I've never even pondered doing this before, any
    suggestions on how to best achieve this? Good tutorial suggestions
    maybe? ^_^

    Thanks.

  • Cor Ligthert [MVP]

    #2
    Re: Web Panel?

    Shawnbm,

    Yes this will probably be hard. And if you succeed you will probably see the
    next security patch, which prevents that.

    Just my idea

    Cor

    "Shawnmb" <Shawnmb@gmail. com> schreef in bericht
    news:1143619690 .244458.302530@ i40g2000cwc.goo glegroups.com.. .[color=blue]
    > Would it be hard to write an application which could send a basic html
    > page to, let's say a browser, that connects to the application on a
    > specified port? I've never even pondered doing this before, any
    > suggestions on how to best achieve this? Good tutorial suggestions
    > maybe? ^_^
    >
    > Thanks.
    >[/color]


    Comment

    • Larry Lard

      #3
      Re: Web Panel?


      Shawnmb wrote:[color=blue]
      > Would it be hard to write an application which could send a basic html
      > page to, let's say a browser, that connects to the application on a
      > specified port? I've never even pondered doing this before, any
      > suggestions on how to best achieve this? Good tutorial suggestions
      > maybe? ^_^[/color]

      Essentially you are talking about an HTTP server, or webserver if you
      prefer. There's nothing stopping you writing such a thing in .NET,
      although the easiest approach would probably be to write the app using
      ASP.NET on IIS, then configure IIS to present your app on the
      particular port you want.

      If you want to avoid depending on IIS, you would need to do your own
      Socket work to listen for incoming connections and maintain any session
      state necessary.

      Some resources you might find helpful:

      These threads from the C# group:
      <http://tinyurl.com/nrnet>
      <http://tinyurl.com/zrm5c>

      "First .NET Web Server" at <http://www.sampullara. com/>

      The Cassini sample web server at
      <http://forums.asp.net/67/ShowForum.aspx>


      Bear in mind that getting something like this *working* would probably
      be quite fun; getting it working *right* and *well* might be a little
      more work :)

      --
      Larry Lard
      Replies to group please

      Comment

      • Larry Lard

        #4
        Re: Web Panel?


        Larry Lard wrote:[color=blue]
        > Shawnmb wrote:[color=green]
        > > Would it be hard to write an application which could send a basic html
        > > page to, let's say a browser, that connects to the application on a
        > > specified port? I've never even pondered doing this before, any
        > > suggestions on how to best achieve this? Good tutorial suggestions
        > > maybe? ^_^[/color][/color]
        [color=blue]
        > Some resources you might find helpful:[/color]

        Some more:

        Newsgroup posts:
        <http://tinyurl.com/ktg3g>
        <http://tinyurl.com/fqnz2>

        --
        Larry Lard
        Replies to group please

        Comment

        Working...