用ASP.NET做WCF服务host的疑问

felixywb 2011-05-18 03:42:55
疑问有两个:

第一个疑问是WCF服务用ASP.NET做host的话,是在打开网页的时候WCF服务启动吗?能否设置成服务全天一直开启或是定时开启?

第二个疑问是服务器提供方会不会不喜欢在自己的服务器上运行WCF服务啊?

请多多关照!多谢!
...全文
78 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
felixywb 2011-05-19
  • 打赏
  • 举报
回复
谢谢!
isjoe 2011-05-18
  • 打赏
  • 举报
回复
这需要和提供商协商,因为你wcf极有可能用tcp连接,服务器会阻止的。
isjoe 2011-05-18
  • 打赏
  • 举报
回复
asp.net 在global.asax文件(没有则新建)中启动宿主,就可以跟着网站一起启动了,并且是连续的。

这需要和提供商协商,因为你wcf极有可能用tcp连接,服务器会组织的。
This book is a step-by-step tutorial to guide you through learning WCF, Entity Framework, LINQ, and LINQ to Entities. You will be guided to create six WCF and Entity Framework solutions from scratch, of which three are multi-layered real-world WCF service solutions, so you will not only be reading, but also be coding through the book, to gain practical experience of WCF and Entity Framework. Various test clients will be associated with each solution and all solutions can be built and run independently of other solutions. Clear instructions and relevant screenshots will make sure you won't get lost in the world of WCF and Entity Framework. Configuration files, host applications, test clients, and WCF services for each solution will also be available for download for you to examine, modify, and debug from the outside in. The book focuses on the essentials of using WCF and Entity Framework, rather than providing a reference to every single possibility. It leaves the reference material online where it belongs, and concentrates instead on practical examples, code, and advice. What will you learn from this book Create a WCF service without using the built-in WCF templates so you can understand what's going on under the hood. Host a WCF service in IIS Express, ASP.NET Development Server, managed applications, IIS, and Windows Service. Explore and learn different debugging options for a WCF service. Build a multi-layer real-world WCF service from scratch to understand every layer of a WCF service and apply it to your real work. Learn basic and advanced concepts and features of Entity Framework, LINQ, and LINQ to Entities. Apply LINQ to Entities to the data access layer of a WCF service with Self Tracking Entities. Control concurrent updates to the database with WCF and LINQ to Entities. Add distributed transaction support to a WCF service. Understand various security settings of WCF, and host a WCF service with Basic Authentication, SSL, and Windows Authentication. Explore extension points of WCF and extend a WCF service with custom behaviors.

17,740

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 .NET Framework
社区管理员
  • .NET Framework社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧