Hi,
I have an existing web site hosting a hand-rolled WCF service. A Silverlight application on the same server was wired up to access this using the 'Add service reference' wizard. All working fine.
Now, a bit later, I needed to add another SilverLight app to the same site - but elected to do so using the 'WCF RIA Services Class Library' template.
But it wouldn't work :-}
After a lot of head-banging I discovered that setting the aspNetCompatibilityEnabled attribute in web.config to 'true' solved that problem.
But then I discovered that the original service would only work if this was 'false' !!!!
More head-banging and I have discovered the AspNetCompatibilityRequirements attribute that can be applied to the WCF service to allow it to run with aspNetCompatibilityEnabled as true.
So now both are running OK providing aspNetCompatibilityEnabled is true.
My question is (since I'm still confused as to the exact relevance of aspNetCompatibilityEnabled) :
Can the 'WCF RIA Services Class Library' stuff be configured to work with aspNetCompatibilityEnabled set false ?
UPDATE:
OK. I've just skimmed this :
http://blogs.msdn.com/b/wenlong/archive/2006/01/23/516041.aspxand, if such a thing were possible, am more confused than ever......