添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I have a server client application. The clients sends the server http posts with info every second or so. The server is implemented using C#, there server doesn't need to respond in any way to the client.

Whats the easiest and most practical way to get this done? Is there some kind of library that is easy to use that I can import into my project.

Why not just use a regular old web service? It sounds like you have simple functionality that doesn't need to maintain a connection state. With a web service, you can simply expose the methods to your client, accessible via HTTP/S. If you're already using .NET for your client, you can simply add a web reference to your project and have .NET do the heavy lifting for you. There wouldn't be any need to reinvent the wheel.

Do I need ISS to host the web service? I want to be able to distribute the server app to simple stupid users... Haim Bender Aug 2, 2010 at 19:45 If you're planning on using ASP.NET, then yes you need IIS. Why would you be distributing your server to other users? George Johnston Aug 2, 2010 at 20:50

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .