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?

2
  • 1
    Why do you need IIS? Why can't it just be a Windows Service? Commented Oct 8, 2010 at 16:34
  • I don't necessarily NEED IIS. Just trying to branch out a little. Plus IIS offers a lot of nice things out of the box. For one, it's MUCH easier to deploy to on a large scale. You don't need to stop services to deploy. Commented Oct 8, 2010 at 17:35

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

3 Comments

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.
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.
similar in that my process would kick off every hour, scan a folder for new files, update the database.
0

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

1 Comment

So you don't want to host an app in IIS?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.