PC Review


Reply
Thread Tools Rate Thread

WCF - interface from other project as contract

 
 
myysth@gmail.com
Guest
Posts: n/a
 
      17th Jul 2008
Hello

I plan to use WCF in my application. I've got solution were one
project is interface definition, that project is referenced in other
projects. Can I use that interface as ServiceContract (of course
without rewriting each method)? My interface is referenced in
some .NET 2.0 projects without WCF, so I can't mark it with attributes
from System.ServiceModel.

Regards,
Michael
 
Reply With Quote
 
 
 
 
sloan
Guest
Posts: n/a
 
      17th Jul 2008
Check this blog entry about interface based WCF development:

http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!158.entry




<(E-Mail Removed)> wrote in message
news:06633e0f-e153-4f11-a8bc-(E-Mail Removed)...
> Hello
>
> I plan to use WCF in my application. I've got solution were one
> project is interface definition, that project is referenced in other
> projects. Can I use that interface as ServiceContract (of course
> without rewriting each method)? My interface is referenced in
> some .NET 2.0 projects without WCF, so I can't mark it with attributes
> from System.ServiceModel.
>
> Regards,
> Michael



 
Reply With Quote
 
myysth@gmail.com
Guest
Posts: n/a
 
      18th Jul 2008

>
> http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!158.entry
>


Thanks. That helped a lot.

ML
 
Reply With Quote
 
sloan
Guest
Posts: n/a
 
      18th Jul 2008
No problem.


<(E-Mail Removed)> wrote in message
news:b1cdf55b-55ca-4edf-84b8-(E-Mail Removed)...
>
>>
>> http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!158.entry
>>

>
> Thanks. That helped a lot.
>
> ML



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
contract/interface c# system achitecture =?Utf-8?B?RmlyZWZseQ==?= Microsoft C# .NET 5 11th Jul 2006 01:34 AM
understanding the interface contract for a DataSource Andy Fish Microsoft ASP .NET 3 17th Aug 2004 09:00 PM
Re: Why/How does Microsoft not follow the Interface contract Jon Skeet [C# MVP] Microsoft C# .NET 1 28th Jul 2004 01:23 AM
Re: Why/How does Microsoft not follow their own Interface contract Ignacio Machin \( .NET/ C# MVP \) Microsoft C# .NET 0 27th Jul 2004 08:04 PM
Interface Contract Question Jeff Gilbert Microsoft Dot NET 1 25th Apr 2004 05:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:55 PM.