By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

Web Panel?

P: n/a
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.

Mar 29 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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" <Sh*****@gmail.com> schreef in bericht
news:11**********************@i40g2000cwc.googlegr oups.com...
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.

Mar 29 '06 #2

P: n/a

Shawnmb wrote:
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? ^_^


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

Mar 29 '06 #3

P: n/a

Larry Lard wrote:
Shawnmb wrote:
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? ^_^
Some resources you might find helpful:


Some more:

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

--
Larry Lard
Replies to group please

Mar 29 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.