Another WCF in VS 2012 Express Question
Not sure if anyone here uses this environment, but I'm still just trying to teach myself.
I noticed that in every example that I come across, after they create a WCF project, the web.config contains a <services> section in the <system.ServiceModel> section.
OTOH, whenever I create a WCF project, I see a <behaviors> section instead o <services>.
This makes it a little confusing when trying to follow tutorials and I was wondering if something has changed in 2012.

ChromeFoundry
(3,270 posts)Their XML Schema Definition is defined in local files:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Xml\Schemas\DotNetConfig*.xsd
depending on which version of the framework you are developing against.
DaveJ
(5,023 posts)Looks like nobody around here messes with WCF much. I was just wondering why web.config doesn't look the same way it does in the tutorials. No Services section. But it works anyway. I'm just learning so I'm sure this would be common sense to a WCF pro.
DaveJ
(5,023 posts)It took me awhile, but it looks like .Net version 4 introduced default endpoints and bindings making the Services section unnecessary.
http://stackoverflow.com/questions/16810997/confusion-about-default-wcf-project-web-config-layout
Thanks!