I've tried a walkthrough example that worked after some tweaking...
http://msdn.microsoft.com/en-us/library/dd465161.aspx
But the example is geared towards IIS-based WCF services. I've tried adapting the example so as to host the same WCF Data Service example in a "Self-Hosted" WCF service inside of a simple console application.
I'm constrained to get this to work on an XP machine that doesn't have IIS (Otherwise I would have used IIS or WAS (web product activation services). If I can get the console app with Self-Hosted WCF to work I might convert it later to a Windows Service.
I can get the basic mechanism to work but as soon as I try to get the Self-Hosted service to work with Entity Framework models it falls apart.
Does anyone have an example of how to port the example from the above URL to be inside of a Console-App and Self-Hosted WCF?
Here are some other URLs I used as reference:
http://msdn.microsoft.com/en-us/library/ms730158.aspx
Thanks in advance,
S