WCF Hosting Choice with Elearning App


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.

Who is Participating?
Daniel Van Der WerkenConnect With a Mentor Independent ConsultantCommented:
Simply create the service per these instructions:

you can create the installer and have the installation process part of  your overall application installation.
Daniel Van Der WerkenIndependent ConsultantCommented:
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.
RBSAuthor Commented:
Thanks Dan7Tel - yes - I'm trying to figure out how to get the WCF to run as a service on my Client App.
RBSAuthor Commented:
Thanks Dan7el!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.