MyCalculatorService Tutorial

Hi all,
Just starting with WCF.
Installed WinFx Runtime, WinFx SDK and VS2005 Extensiond for WCF and now
trying to follow the tutorial. It asks to create a project of type 'Windows Type Library' and I couldn't find one. Can someone pleasse provide me a little guidance here?
Thanks
kr
[308 byte] By [Khalique] at [2008-2-4]
# 1
Probably it just means "Class Library"? If you are building a WCF service then you should use a project of type "Class Library".
Youcef
Youcef at 2007-9-9 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 2
Thanks Youcef for your hint. However, if I use Windows Class Library project type then VS does not include all the required references in the project.
kr
Khalique at 2007-9-9 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 3
I created the Class Library project for MyCalculatorService tutorial, added required references, added all the code and complied. No problem.
Then, to host it in IIS, I copied the web.config file code in to my web.config file. And surprisingly, VS finds several error in it. Here they are
* The 'serviceType' attribute is not declared.
(This is the attribute of <service element>. If I chage it to 'type' instead of 'serviceType', the error message goes away. I do not know if it really fixes the error.)
* The 'bindingSectionName' attribute is not declared.
(This is an attribute of <endPoint> element.)
* The 'contractType' attribute is not declared.
(This is also an attribute of <endPoint> element.)
* The element <wsProfileBinding> is also not recognized as a valid element.
Any ideas?
kr
Khalique at 2007-9-9 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 4
Hello Khalique,

'serviceType' has been renamed to 'type' as you discovered.
'bindingSectionName' has been renamed to 'binding'.
'contractType' has been renamed to 'contract'.
'wsProfileBinding' has been renamed to 'wsHttpBinding' in recent builds.

Thanks,
- Craig McLuckie

CraigMcLuckie at 2007-9-9 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...

Visual Studio Orcas

Site Classified