WCF Hosting Choice with Elearning App

Posted on 2012-09-11
Last Modified: 2012-09-19

I'm trying to figure out what is the most effective and easy to maintain means of hosting a WCF Service for my Elearning App.  

My App works like this.

1.  My app makes a javascript call to a javascript function called SCORM adapter that launches a lesson sending information about the user and his/her status to the function
2.  Every few seconds, the lesson sends back info on the student status to the SCORM adapter which sends it back to my app that enters that info in the database

Up to this point, I have been using a Web Service to handle the javascript calls from the SCORM adapter to my app and it has worked reasonably well - but I am limited in error trapping etc. and want to go to WCF.

The only calls that my WCF Service (I call it SCORM_Service) gets are from the lessons launched by mp app.  

I am looking at the variety of ways that WCF can be hosted and can't figure out which one I should be using.  Locally, I have created a separate project and hosted it locally at localhost/scorm/scormservice.svc and that seems to work - but not sure how to deploy it to the web.  

Am confused with the different hosting options (IIS7, console, separate windows service application)

Ideally, what I'd like to do is include the SCORM_Service in my Client App - since that is the only app that consumes this service and have it get published to the Web or get updated when I deploy my Client App.

Any help on how to do this greatly appreciated.

Question by:RBS
    LVL 19

    Expert Comment

    by:Daniel Van Der Werken
    You already know the various ways to host the WCF service, so I think since your desire is t have it included with the SCORM)Service in the Client App, then  you should have it run as a Windows service on systems running the Client App. That seems to make the most sense to me, but really, it's up to you.

    Author Comment

    Thanks Dan7Tel - yes - I'm trying to figure out how to get the WCF to run as a service on my Client App.
    LVL 19

    Accepted Solution

    Simply create the service per these instructions:

    you can create the installer and have the installation process part of  your overall application installation.

    Author Closing Comment

    Thanks Dan7el!


    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now