http web server in VC#
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 13 of 13

Thread: http web server in VC#

  1. #1
    Join Date
    Apr 2009
    Location
    Ohio Summit County
    Posts
    114

    http web server in VC#

    I made a web site from this sample http://www.codeproject.com/KB/IP/mywebserver.aspx

    and my question is. How do I get this web server to support and run asp.net 2.0 or 3.5 web pages and with Ajax.

    Thanks
    Joe
    ToppersBBS on the web - http://toppersbbs.dtdns.net
    Forums Section - http://toppersbbs.dtdns.net/smf

  2. #2
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: http web server in VC#

    That's rather like asking - "I've built myself a model ferrari from a toy kit - how do I turn it into a real ferrari and enter it into Le Mans ?"

    Answer : if I was to say this isn't easy that would be an understatement. If you have to ask, you can't do it.

    Personally I wouldn't bother. Just get yourself a copy of XP professional (which has IIS built in which supports asp.net, AJAX etc).

    Or download cassini.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  3. #3
    Join Date
    Apr 2009
    Location
    Ohio Summit County
    Posts
    114

    Re: http web server in VC#

    That's not true. I seen books on this. I just don't have the money to buy them. I know it has to be true. I seen tutorials on this. Just didn't under stand what they were saying.
    ToppersBBS on the web - http://toppersbbs.dtdns.net
    Forums Section - http://toppersbbs.dtdns.net/smf

  4. #4
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: http web server in VC#

    (1) Cassini is free.
    (2) You've said "I seen tutorials on this". Can you post a link to the tutorials on how to turn a very simple webserver app into a fully asp.net supporting web server with ajax support ?

    Darwen.

    P.S. Have a look at here as well (free, free, free !).
    Last edited by darwen; July 12th, 2009 at 06:32 PM.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  5. #5
    Join Date
    Apr 2009
    Location
    Ohio Summit County
    Posts
    114

    Re: http web server in VC#

    Yes. Just google.com it. Like every one here tells me too. You will come up with a lot of links for it
    ToppersBBS on the web - http://toppersbbs.dtdns.net
    Forums Section - http://toppersbbs.dtdns.net/smf

  6. #6
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: http web server in VC#

    I did google for it. I found lots of links about writing web services, not web servers.

    Please post the link you are referring to.

    Once you provide a link that you're having problems with I might be able to explain it to you.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  7. #7
    Join Date
    Apr 2009
    Location
    Ohio Summit County
    Posts
    114

    Re: http web server in VC#

    Well I haven't tried to use them yet. I just went threw the code. And didn't under stand it. Let me see if I can find that one I was looking at earlier

    This mite take some time to find it again
    I'll don't all ways save them
    ToppersBBS on the web - http://toppersbbs.dtdns.net
    Forums Section - http://toppersbbs.dtdns.net/smf

  8. #8
    Join Date
    Jul 2009
    Posts
    8

    Re: http web server in VC#

    Quote Originally Posted by darwen View Post
    That's rather like asking - "I've built myself a model ferrari from a toy kit - how do I turn it into a real ferrari and enter it into Le Mans ?"

    Answer : if I was to say this isn't easy that would be an understatement. If you have to ask, you can't do it.

    Personally I wouldn't bother. Just get yourself a copy of XP professional (which has IIS built in which supports asp.net, AJAX etc).

    Or download cassini.

    Darwen.
    Well said. : )

    Darwen is right. BigJoe, you should listen to Darwen's opinion, as he has a lot of experience.

  9. #9
    Join Date
    Apr 2009
    Location
    Ohio Summit County
    Posts
    114

    Re: http web server in VC#

    Well Yes and No. I have seen tutorials on this and there's books on this too. So I just can't find the tutorial I was looking at last week. I will keep looking for it.
    ToppersBBS on the web - http://toppersbbs.dtdns.net
    Forums Section - http://toppersbbs.dtdns.net/smf

  10. #10
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,948

    Re: http web server in VC#

    There are a lot of versions of ASP thru the Net Framework. What about Silverlight? How about streaming media? How about remote desktop over HTTP?

    That's all built into Windows Server 2008 R2, which has IIS 7.0 and SQL 2008 installed.

    I'd say there isn't a tutorial for this. If there were any recorded notes, they are probably under lock and key.

    Have your web server running somewhere? Think it's secure? We'll be more than happy to test it for you.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  11. #11
    Join Date
    Apr 2009
    Location
    Ohio Summit County
    Posts
    114

    Re: http web server in VC#

    Well until I can get one up and running I'll let you know.
    ToppersBBS on the web - http://toppersbbs.dtdns.net
    Forums Section - http://toppersbbs.dtdns.net/smf

  12. #12
    Join Date
    Jun 2008
    Posts
    2,477

    Re: http web server in VC#

    There is a reason that most developers do not write their own personal operating systems, and that reason also applies here. There is a *huge* difference between writing a simple webserver and writing a fully functional, robust, and secure webserver. I am a fan of learning and also of rolling your own solutions when it is a core business component and it is practical, but this is...beyond practical. If you spent the next year of your life on it you may get something running that is about 10% as robust and complete as already available solutions.

  13. #13
    Join Date
    Apr 2009
    Location
    Ohio Summit County
    Posts
    114

    Re: http web server in VC#

    Yes, Nut theres no way to add the all ready made web servers to my project that I'm working on now. The asp.net web server is just one part of this 4 year project
    ToppersBBS on the web - http://toppersbbs.dtdns.net
    Forums Section - http://toppersbbs.dtdns.net/smf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center