Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Migrating to WCF

 
 
Old 04-25-2007   #1 (permalink)
Dave


 
 

Migrating to WCF

Hello,

We've just come off creating a medium to large size client server
application over the past 3 years using .NET 1.1 c# w/ Sql Server 2000
as the backend. We're about to create a similar client server
project. We decided to use strongly typed datasets and datatables and
we loved it. The ability to use DataRelations, Expression columns,
DataViews with Filters and sorting has been very cool! We basically
had our strongly typed datatables all derive from a BaseDataTable that
handles the connection to the database using System.Data.SqlClient
classes.

Anyway, my question is, if we decide to move our entire model to WCF,
does that mean we'd have to ditch using strongly typed datatables and
move to simple data types or maybe some simple classes such as (excuse
the sloppy code):

class Person
{
public int PersonID;
public string FirstName;
public string LastName;
}

It seems we could keep the strongly typed tables and serialize them,
but i'm also curious what the recommended design approach is.

Thanks!
Dave


My System SpecsSystem Spec
Old 04-25-2007   #2 (permalink)
William Stacey [C# MVP]


 
 

Re: Migrating to WCF

With VS orcas on Beta1 w/ Linq support, it may be worth looking at using
Linq to Sql depending on projected project end date. Naturally, there is
other factors such as to invest more in WinForms now or target WPF. Comes
down to managed risk/reward at this point in the product cycle, but B1 looks
pretty good in terms of linq.

--
William Stacey [C# MVP]


"Dave" <chakachimp@yahoo.com> wrote in message
news:1177520141.475947.172190@t39g2000prd.googlegroups.com...
| Hello,
|
| We've just come off creating a medium to large size client server
| application over the past 3 years using .NET 1.1 c# w/ Sql Server 2000
| as the backend. We're about to create a similar client server
| project. We decided to use strongly typed datasets and datatables and
| we loved it. The ability to use DataRelations, Expression columns,
| DataViews with Filters and sorting has been very cool! We basically
| had our strongly typed datatables all derive from a BaseDataTable that
| handles the connection to the database using System.Data.SqlClient
| classes.
|
| Anyway, my question is, if we decide to move our entire model to WCF,
| does that mean we'd have to ditch using strongly typed datatables and
| move to simple data types or maybe some simple classes such as (excuse
| the sloppy code):
|
| class Person
| {
| public int PersonID;
| public string FirstName;
| public string LastName;
| }
|
| It seems we could keep the strongly typed tables and serialize them,
| but i'm also curious what the recommended design approach is.
|
| Thanks!
| Dave
|


My System SpecsSystem Spec
Old 05-21-2007   #3 (permalink)
Shimon Sim


 
 

Re: Migrating to WCF

Dave
It is not clear from your description what datasets have to do with WCF.
WCF should be written as a layer on top of data access layer and in theory
WCF layer should not expose datasets.

I hope this helps,
Shimon.


"Dave" <chakachimp@yahoo.com> wrote in message
news:1177520141.475947.172190@t39g2000prd.googlegroups.com...
> Hello,
>
> We've just come off creating a medium to large size client server
> application over the past 3 years using .NET 1.1 c# w/ Sql Server 2000
> as the backend. We're about to create a similar client server
> project. We decided to use strongly typed datasets and datatables and
> we loved it. The ability to use DataRelations, Expression columns,
> DataViews with Filters and sorting has been very cool! We basically
> had our strongly typed datatables all derive from a BaseDataTable that
> handles the connection to the database using System.Data.SqlClient
> classes.
>
> Anyway, my question is, if we decide to move our entire model to WCF,
> does that mean we'd have to ditch using strongly typed datatables and
> move to simple data types or maybe some simple classes such as (excuse
> the sloppy code):
>
> class Person
> {
> public int PersonID;
> public string FirstName;
> public string LastName;
> }
>
> It seems we could keep the strongly typed tables and serialize them,
> but i'm also curious what the recommended design approach is.
>
> Thanks!
> Dave
>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Migrating to Windows 7 Vista General
To folk considering migrating to WLM Vista mail
Migrating shares from EMC NAS to MS Cluster? VB Script
Migrating domains Vista General
Migrating to Outlook 2007 Vista mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46