简体   繁体   English

在IIS 7中托管非基于Web的应用程序

[英]Hosting non web based application in IIS 7

I have heard that you can host non-web based applications in IIS7 similar to windows services. 我听说您可以在IIS7中托管类似于Windows服务的非基于Web的应用程序。 Basically I want a C# app that is just a process running all the time to perform a specific function. 基本上,我想要一个C#应用程序,该应用程序始终在运行以执行特定功能。 I want to create a process that connects to the database at an interval and does some work. 我想要创建一个间隔连接到数据库并执行一些工作的进程。

I would like this whole app to be housed inside IIS. 我希望将整个应用程序放在IIS中。 Is this possible? 这可能吗? Can you provide me with links and resources to get me started? 您可以为我提供链接和资源以帮助我入门吗?

WCF services can be hosted in IIS. WCF服务可以托管在IIS中。 Abstractly, think of them as webservices. 抽象地,将它们视为Web服务。 Really much more, than that, but it gives you the gist. 确实要比这多得多,但它能提供要点。 More information: 更多信息:

How to: Host a WCF Service in IIS 如何:在IIS中托管WCF服务
Why we use wcf rather than web services 为什么我们使用wcf而不是Web服务
How To: Hosting a WCF Service in IIS 如何:在IIS中托管WCF服务

Take a look at AppFabric it's Microsofts Application Server 看看AppFabric它是Microsoft的Application Server

http://msdn.microsoft.com/en-us/windowsserver/ee695849.aspx http://www.hanselman.com/blog/InstallingConfiguringAndUsingWindowsServerAppFabricAndTheVelocityMemoryCacheIn10Minutes.aspx http://msdn.microsoft.com/zh-cn/windowsserver/ee695849.aspx http://www.hanselman.com/blog/InstallingConfiguringAndUsingWindowsServerAppFabricAndTheVelocityMemoryCacheIn10Minutes.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM