Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WCF Services in MM
Message
De
07/08/2008 08:47:41
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01336735
Message ID:
01337195
Vues:
15
Hi Kevin,

>
>>Is anyone using WCF in Mere Mortals? I am trying to figure it out but the documentation is slim at this point. I am sure there is something major missing.
>>
>>The documentation has a business object project in the client side and that makes sense, but none in the Server side. The sample does not have any methods so if I had a method on the service that needed to return data, I would need to have the business objects on that side also. Anyway, this is my first look at this in MM and I am very confused.
>>
>>If anybody else is playing with this or has used it, I would love to hear from you.
>
>I recommend checing out the MM .NET Help topic "Remote Data Access with Widows Communication Foundation | Understanding the Concepts". Rather than remoting an entire business object behind a web service it's far more efficient to remote just the data access class (since a call to an object on a different physical mahine is a few thousand times slower than a call to an object on the same machine. That's why you don't need a business object on the WCF Service side.
>
>Best Regards,

I had read that already and then worked through the short steps that follow to create the solution. I was confused as to how the service was going to provide data without the business objects and methods to call on the service but after looking through the MM solution for WCF I figured out what you were doing. There actually is no need to create much in the way of service methods as the methods are on the local business objects and the data access calls are already done in the framework.
Now if I could just clear the hosted error I think I am almost there.
Thanks
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform