New Community Article - Using Business Objects with WCF

Published 02 November 07 12:00 PM

There's a new article up on the VB Dev Center by Rob Windsor, a follow up from his first Getting Started with WCF article, called Using Custom Business Objects with Windows Communication Foundation. Rob explains how to serialize your own custom business objects using WCF DataContracts and what issues you may run into in Visual Studio 2005. Check it out!

Enjoy!

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# MSDN Blog Postings » New Community Article - Using Business Objects with WCF said on November 2, 2007 3:17 PM:

PingBack from http://msdnrss.thecoderblogs.com/2007/11/02/new-community-article-using-business-objects-with-wcf/

# Mahesh said on November 6, 2007 11:55 AM:

Hi Beth,

I have read both the articles on WCF. WCF undoubtedly promises to be great technology. But I have questions on how it addresses issues faced in "old" (COM+)times. We had a 3 tier web-based application and users spread across the globe from US to Australia. Most of the issues we faced were due to network bandwidth limitations. Our infrastructure team always used to say/(s) that "no matter what you do, the speed of processing will always be dependent on n/w b/w". We had 1 COM+ server which used to be accessed by ASP pages and that COM+ server used to do talking with database server to cater data to ASP pages. The servers (COM+/SQL Server) were located in UK. Users,especially from Australia, always used to complaint of slow performance. Network team diagnosed the problem to be the "distance" between AU and UK fot it. They also suggested to have "regional" COM+ servers.

i.e 1 COM+ server for UA,another for EU and another for APAC. At that time the deployment of COM components made this option impossible. I want to know, with WCF, how can this problem be addressed?

Thanks,

Mahesh.

# Rob Windsor said on November 10, 2007 11:23 AM:

Hi Mahesh,

First off, WCF will not solve the issue of sending data across the network, that will always be a bottleneck. There are things you can do to help - like using a binary or MTOM encoding or streaming - but they will not completely solve the problem.

Now, to your last question, deployment of a WCF service is no different than deployment of a web site. You just need to create a virtual directory on a web server and copy up your svc file, web.config, and assemblies with your contracts and services. You also have to make sure access to the server is properly configured but that's more of an infrastructure issue than a deployment issue.

Rob

# Joseph said on November 13, 2007 10:55 PM:

Hi Beth,

Great Post!

Also I would like to ask is how different is Binary Serialization from DataContract? I'm really interested how datacontract works perhaps you can give me a headstart by explaining what is datacontract and what are the advantages and disadvantages of it? Also, if you can explain how would it make the BO Serialization more effecient.

Thanks a lot,

Joseph

Leave a Comment

(required) 
(optional)
(required) 

About Beth Massi

Beth Massi is a Program Manager on the VS Community Team working with the Visual Basic Team producing developer content on MSDN and her blog (http://blogs.msdn.com/bethmassi). As a VB community champion and a member of the Microsoft community she helps run a .NET user group in the San Francisco Bay Area and is a frequent speaker at various software development events. Before Microsoft she was a Senior Systems Architect at a health care software product company and was a Microsoft Solutions Architect MVP. Over the last decade she has worked on distributed applications and frameworks using Visual Basic.NET, ASP.NET, SQL-Server, and Visual FoxPro. She has worked on various projects including developing object-oriented middle-tier frameworks, COM, .NET, Web and Windows-based applications using Microsoft development tools for a variety of businesses. She loves teaching, mountain biking, and modifying cars.

This Blog

Syndication

Page view tracker