wpf 开发网站服务器,WPF应用程序中的Web服务器(Web server within a WPF application)

I have a WPF application that is made exclusively for demonstration purposes about how to use a proprietary technology of my company (the app shows a map where tracked objects flying to and fro). Besides showing off our technology, the most important aspect of the demo app is simplicity. It has to be simple to try, simple to set up, simple to use otherwise prospective customers will dump us before they have seen anything. So the demo app must be like checkout-compile-run.

However, I need to add a SOAP web service for the purpose of demonstrating publish/subscribe functionality. But I want no web project, no configuration, no virtual directory, no WCF between web service and the app, or anything else that would make the setup more difficult than compile and run. I just want a single .EXE. Is there a way to make my WPF app also become a simple web server that serves those web services?

Again for the simplicity, it is important that:

The web service implementation should not have virtual and/or physical directory, they should be available as .NET types compiled into my single EXE assembly (just as my web server).

The web service objects should run in the same app domain as the WPF app, so they can freely talk to one another without remoting or WCF.

I am limited to use .NET 3.5

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值