Host a web page from your app

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Any ideas how (if) i can host a web page from my application.

I want to open an httpchannel on a port, and if someone goes there,
they get a web page, im not thinking of hosting it using the dedicated
IIS or hosting facilities, but i dont mind if i can programmatically
use them.

Thanks

Dave
 
Hi,
I don't know which language you are planning to write this program but
if you are familiar with .Net than there is some way mentioned how to
open an
httpchannel on a port. Sorry i don't know exactly which part but you
can go to and try code snippet from :-

www.ASPAlliance.com
http://www.codeproject.com/
http://www.planet-source-code.com/
www.asp.net

It might help you. These are the best help recourses in the market.


Suvra Barua
Internet promoter
M6.Net
www.m6.net
-------------------------------------------------------------------------------
Windows 2003 hosting - ASP, ASP.NET, PHP, CGI, Perl, FTP, Frontpage
extension
SQL 2000, MS Access, Emails, Stats with 24 hour support. Starting from
$4 m/o
and 250 MB space. 20GB bandwidth.
 
I'm confused, Dave,
what is it that you want to do that is different from what IIS would already
do (rather well).

In other words, why not have your app create a web site and just place pages
there. Are you planning to intercept the requests?
If so, why not put in a HTTPHandler (a .net filter) and just handle the
requests yourself.

See articles like this one:
http://www.devx.com/vb2themax/Article/19901

Good luck,
--- Nick
 
Suvra - sorry I didn't mention it is C# .Net
Nick - what I want to do is have a control in my app which is
accessible from a web site, if I can just create a web site from my
app that would be great, would i need to place documents anywhere? I
would rather not. I really want people to just be able to go to a web
site for that app and see the control for it. the web address could
change frequently.

does this make anymore sense?:) *(its early)

thanks for your replies.

Dave
 
Back
Top