views:

64

answers:

2

I have heard that you can host non-web based applications in IIS7 similar to windows services. Basically I want a C# app that is just a process running all the time to perform a specific function. 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. Is this possible? Can you provide me with links and resources to get me started?

A: 

Take a look at AppFabric it's Microsofts Application Server

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

StressChicken
I don't see how this helps me....
Climber104
So you don't want to host an app in IIS?
StressChicken
+1  A: 

WCF services can be hosted in IIS. Abstractly, think of them as webservices. Really much more, than that, but it gives you the gist. More information:

How to: Host a WCF Service in IIS
Why we use wcf rather than web services
How To: Hosting a WCF Service in IIS

Bryce Fischer
I know what WCF is...I know how to host it in IIS...that was not my question. IF you read my question i'm looking to host other applications similar to WINDOWS services in IIS.
Climber104
sorry, didn't mean to imply otherwise. As for your question, I've used WCF for similar services. And used the WF integration to provide the trigger to fire off the service.
Bryce Fischer
similar in that my process would kick off every hour, scan a folder for new files, update the database.
Bryce Fischer