I am new to WCF, plz help me in finding a solution for this scenario:
I have converted a simple class to a WCF Service by adding necessary references. (with a service contract for ITestInterface and 2 operations contracts for 2 methods) [Class Name WCFTestDLL.cs]
I had created a new project and I had the added WCFTestDLL.dll as a reference.
Now I am implementing the methods of the WCFTestDLL.dll in TestService.cs
Now Do I declare the TestService.cs as a Service Contract too…….?
And where do I define my end points in the DLL or in the project………?
Rac19
Member
251 Points
152 Posts
Working with WCF
Sep 29, 2009 07:57 AM|LINK
Hello Every one,
I am new to WCF, plz help me in finding a solution for this scenario:
Now Do I declare the TestService.cs as a Service Contract too…….?
And where do I define my end points in the DLL or in the project………?
Regards
Rac
wcf services
Rac19
qwe123kids
All-Star
48619 Points
7957 Posts
MVP
Re: Working with WCF
Sep 29, 2009 09:44 AM|LINK
Hi,
There R 2 ways of Creating WCF 1 U Craete Libary In Window project of WCF and Then Acess That Libary in .svc file.
<% @ServiceHost Language=C# Service="YourDllFile.DLL"%>
OR
U may Directly Create In webproject creating WCF project
OR
if every thing is workign On Local Not working in IIS5.1,6.0 then go Add extension .svc in IIS
OR
//chk Some Hello world project
http://blogs.msdn.com/jmeier/archive/2007/10/15/how-to-create-a-hello-world-wcf-service-using-visual-studio.aspx
http://blah.winsmarts.com/2008-4-Writing_the_WCF_Hello_World_App.aspx
OR
//Video Training
http://www.microsoft.com/uk/msdn/screencasts/search-results.aspx?q=WCF
Chk the above Videos .. they ahve Expliend WCF very well..
Avinash Tiwari
Remember to click “Mark as Answer” on the post, if it helps you.