如何使用vb.net 2010制作网络服务器 [英] How to make webserver using vb.net 2010

查看:310
本文介绍了如何使用vb.net 2010制作网络服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

抱歉,我是newne vb.net 2010。我想在端口8081上创建本地Web服务器,但我从未管理过..saya sudah mencoba tutorial dari link http://www.santry.com/Blog/tabid/90/ID/1289/Writing- a-Simple-HTTP-Server-in-VBNet.aspx [ ^ ]但它也没有用......请帮帮我

sorry i'am is newne vb.net 2010 .I want to make local web server on port 8081 but I never managed..saya sudah mencoba tutorial dari link http://www.santry.com/Blog/tabid/90/ID/1289/Writing-a-Simple-HTTP-Server-in-VBNet.aspx[^] but it did not work as well ... please help me

推荐答案

你称之为Web服务器本质上是一个HTTP服务器。编写一些基本服务器,只是符合HTTP协议并按原样提供一些内容并不是一个非常困难的问题,即使你是从头开始,但如果你从这里开始就不需要这样做:https://msdn.microsoft.com/en-us/library/system .web.http.httpserver%28v = vs.118%29.aspx [ ^ ]。



RealHTTP服务器与他们提供内容的方式不同。他们有一些插件架构,允许他们托管所有这些服务器端脚本技术,以及其他服务器端技术,如服务器端包含,路由,URL重写等等;另一个问题是防止恶意攻击。即便如此,任何优秀的Web浏览器都要复杂得多。



参见:

http://en.wikipedia.org/wiki/HTTP [ ^ ],

http:// en .wikipedia.org / wiki / HTTP_Server [ ^ ] 。



-SA
What you call a "Web server" is essentially an "HTTP Server". Writing some rudimentary server, just compliant with HTTP protocol and serving up some content as is is not really a difficult problem, even if you do it from scratch, but even that is not needed if you start here: https://msdn.microsoft.com/en-us/library/system.web.http.httpserver%28v=vs.118%29.aspx[^].

"Real" HTTP server are different from that in the way they serve up content. They have some plug-in architecture which allows them to host all those server-side scripting technologies, and other server-side technologies, such as server-side includes, routing, URL rewrite and a lot more; another issue is some protection against malicious attacks. Even with all that, any good Web browser is much more complicated.

See also:
http://en.wikipedia.org/wiki/HTTP[^],
http://en.wikipedia.org/wiki/HTTP_Server[^].

—SA


我试过浏览,我在这里找到了构建自己的Web服务器 [ ^ ]。但这来自c#,之后我也尝试无法连接。
I've tried browsing and I found here Build Your Own Web Server[^]. but this from c # and after I try also Unable to connect.


这篇关于如何使用vb.net 2010制作网络服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆