Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #2358 > unrolled thread

WCF Experiences

Started byNick Friend <nicktekhne@googlemail.com>
First post2011-11-02 08:42 -0700
Last post2011-11-05 16:43 -0500
Articles 14 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  WCF Experiences Nick Friend <nicktekhne@googlemail.com> - 2011-11-02 08:42 -0700
    Re: WCF Experiences "Willie Moore" <williem@wmconsulting.com> - 2011-11-02 15:57 -0500
      Re: WCF Experiences Nick Friend <nicktekhne@googlemail.com> - 2011-11-02 14:38 -0700
        Re: WCF Experiences "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-11-03 03:16 -0700
          Re: WCF Experiences Nick Friend <nicktekhne@googlemail.com> - 2011-11-03 04:40 -0700
            Re: WCF Experiences "Willie Moore" <williem@wmconsulting.com> - 2011-11-03 09:24 -0500
    Re: WCF Experiences "Ginny Caughey" <ginny.online@hotmail.com> - 2011-11-03 12:05 -0400
      Re: WCF Experiences Nick Friend <nicktekhne@googlemail.com> - 2011-11-03 09:06 -0700
        Re: WCF Experiences "Ginny Caughey" <ginny.online@hotmail.com> - 2011-11-03 14:17 -0400
        Re: WCF Experiences "Willie Moore" <williem@wmconsulting.com> - 2011-11-04 07:25 -0500
          Re: WCF Experiences "Ginny Caughey" <ginny.online@hotmail.com> - 2011-11-05 09:53 -0400
            Re: WCF Experiences "Willie Moore" <williem@wmconsulting.com> - 2011-11-05 10:40 -0500
              Re: WCF Experiences "Ginny Caughey" <ginny.online@hotmail.com> - 2011-11-05 13:22 -0400
                Re: WCF Experiences "Willie Moore" <williem@wmconsulting.com> - 2011-11-05 16:43 -0500

#2358 — WCF Experiences

FromNick Friend <nicktekhne@googlemail.com>
Date2011-11-02 08:42 -0700
SubjectWCF Experiences
Message-ID<32fc0466-69b7-4c3c-a7ee-e952582ee6b6@m19g2000vbm.googlegroups.com>
As we move our old VO/DBFCDX app into it's next generation, we're
contemplating the different data access scenarios. Some input would be
appreciated.

The original VO app is a single monolithic app. We anticipate the new
version to be rather different, with the majority of the application
done in WPF to run on desktops (but as a host of small targeted
applications rather than a single MDI-type app), but also with
elements running on Android phones or tablets, and other bits possibly
in PHP running as web apps, so that users can mix and match and use
the access point most suitable in any given moment (or generally for
their company).

We want complete flexibility in the database behind any given
installation - user chooses the database, and it's location. So some
will be MS SqlServer on a local network, others may be MySql on a web
server, etc., and in the transition period it could be DBF files from
the old version.

At the moment we're thinking of using WCF to abstarct out the data
access completely and to simplify the code in UI part of the
applications so that it can easily be adapted for different
environments (eg. Android phone).

Anyone have experience of this type of scenario?
What is the potential performance impact of working through WCF in
this way?
I don't have clear how a WCF service would be provided and consumed in
a local environment (eg. across a LAN or even on the same machine)...
can someone enlighten me? Bear in mind that multiple apps will need to
access the same services.

Any input or suggestions gratefully received.

Nick

[toc] | [next] | [standalone]


#2359

From"Willie Moore" <williem@wmconsulting.com>
Date2011-11-02 15:57 -0500
Message-ID<j8sarb$7o5$1@speranza.aioe.org>
In reply to#2358
Nick,

Do you have the code I presented at DevShare? I created my WCF service to 
handle the silverlight and mobile phone apps.

Regards,
Willie

[toc] | [prev] | [next] | [standalone]


#2360

FromNick Friend <nicktekhne@googlemail.com>
Date2011-11-02 14:38 -0700
Message-ID<3a31536b-d80c-461b-ba2f-a7743b8203da@es7g2000vbb.googlegroups.com>
In reply to#2359
Thanks Willie, I'll have a look at that.

Nick

On Nov 2, 8:57 pm, "Willie Moore" <will...@wmconsulting.com> wrote:
> Nick,
>
> Do you have the code I presented at DevShare? I created my WCF service to
> handle the silverlight and mobile phone apps.
>
> Regards,
> Willie

[toc] | [prev] | [next] | [standalone]


#2361

From"richard.townsendrose" <richard.townsendrose@gmail.com>
Date2011-11-03 03:16 -0700
Message-ID<30e0bfa2-f938-4497-a248-b235352ae356@r28g2000yqj.googlegroups.com>
In reply to#2360
Nick

i take it then that you are going to dump ads, and use vulcan ...

now that i have ads running over the internet .. it really makes life
so simple.

i am thinking over going to adt tables as being even faster.

richard

[toc] | [prev] | [next] | [standalone]


#2364

FromNick Friend <nicktekhne@googlemail.com>
Date2011-11-03 04:40 -0700
Message-ID<d0e299f7-b659-48c7-981e-03454a37fc68@h5g2000yqk.googlegroups.com>
In reply to#2361
Hi Richard,

This is for our new version, so we'll be going to a traditional SQL
for this. Mixture of C# for the interface, Vulcan for DBF access, and
we'll have other bits done for Android and PHP for some of the web
work. Soit's sort of mix and match. The main aim is flexibility, to
move away from the monolithic MDI app, so that the same (business)
process can potentially be carried out from different platforms
depending on need, but all targetting the same back end.

Nick

On Nov 3, 10:16 am, "richard.townsendrose"
<richard.townsendr...@gmail.com> wrote:
> Nick
>
> i take it then that you are going to dump ads, and use vulcan ...
>
> now that i have ads running over the internet .. it really makes life
> so simple.
>
> i am thinking over going to adt tables as being even faster.
>
> richard

[toc] | [prev] | [next] | [standalone]


#2365

From"Willie Moore" <williem@wmconsulting.com>
Date2011-11-03 09:24 -0500
Message-ID<j8u861$sjv$1@speranza.aioe.org>
In reply to#2364
Nick,

In my opinion, that is a very smart way of approaching things. BTW in case 
you need it, there is a dotNet adapter for ADS so you can use it too if you 
require ADS.

Regards,
Willie

[toc] | [prev] | [next] | [standalone]


#2366

From"Ginny Caughey" <ginny.online@hotmail.com>
Date2011-11-03 12:05 -0400
Message-ID<4eb2bb02$0$8513$c3e8da3$cc4fe22d@news.astraweb.com>
In reply to#2358
As long as you're rewriting this from scratch, I'm curious why you're 
keeping DBF as a backend. We still support the DBF versions of our apps but 
don't enhance them or write more of them. SQL works great even on a single 
computer.

Ginny

"Nick Friend"  wrote in message 
news:32fc0466-69b7-4c3c-a7ee-e952582ee6b6@m19g2000vbm.googlegroups.com...

As we move our old VO/DBFCDX app into it's next generation, we're
contemplating the different data access scenarios. Some input would be
appreciated.

The original VO app is a single monolithic app. We anticipate the new
version to be rather different, with the majority of the application
done in WPF to run on desktops (but as a host of small targeted
applications rather than a single MDI-type app), but also with
elements running on Android phones or tablets, and other bits possibly
in PHP running as web apps, so that users can mix and match and use
the access point most suitable in any given moment (or generally for
their company).

We want complete flexibility in the database behind any given
installation - user chooses the database, and it's location. So some
will be MS SqlServer on a local network, others may be MySql on a web
server, etc., and in the transition period it could be DBF files from
the old version.

At the moment we're thinking of using WCF to abstarct out the data
access completely and to simplify the code in UI part of the
applications so that it can easily be adapted for different
environments (eg. Android phone).

Anyone have experience of this type of scenario?
What is the potential performance impact of working through WCF in
this way?
I don't have clear how a WCF service would be provided and consumed in
a local environment (eg. across a LAN or even on the same machine)...
can someone enlighten me? Bear in mind that multiple apps will need to
access the same services.

Any input or suggestions gratefully received.

Nick 

[toc] | [prev] | [next] | [standalone]


#2367

FromNick Friend <nicktekhne@googlemail.com>
Date2011-11-03 09:06 -0700
Message-ID<7b19f2a9-650c-4214-ba80-938b53cfdeb7@9g2000yqv.googlegroups.com>
In reply to#2366
Willie,

Thanks, I hope it works! The aim is to build in maximum flexibility
for the future, so we can roll whichever way our clients want us to
go. We use the ADS provider for parts of our app already.

Ginny... the DBF bit is just for backward compatibility. Since we
won't be rolling out a single application, but a cluster of small
targeted apps, we can roll this out gradually and let the clients get
the benefits of the new parts immediately. But of course we need to
maintain compatibility with existing DBF data. Once everything is in
the the new version we'll say goodbye to DBF.

Nick

On Nov 3, 4:05 pm, "Ginny Caughey" <ginny.onl...@hotmail.com> wrote:
> As long as you're rewriting this from scratch, I'm curious why you're
> keeping DBF as a backend. We still support the DBF versions of our apps but
> don't enhance them or write more of them. SQL works great even on a single
> computer.
>
> Ginny
>

[toc] | [prev] | [next] | [standalone]


#2368

From"Ginny Caughey" <ginny.online@hotmail.com>
Date2011-11-03 14:17 -0400
Message-ID<4eb2d9ee$0$20208$c3e8da3$9deca2c3@news.astraweb.com>
In reply to#2367
Understood - good plan. :)

Ginny

"Nick Friend"  wrote in message 
news:7b19f2a9-650c-4214-ba80-938b53cfdeb7@9g2000yqv.googlegroups.com...

Willie,

Thanks, I hope it works! The aim is to build in maximum flexibility
for the future, so we can roll whichever way our clients want us to
go. We use the ADS provider for parts of our app already.

Ginny... the DBF bit is just for backward compatibility. Since we
won't be rolling out a single application, but a cluster of small
targeted apps, we can roll this out gradually and let the clients get
the benefits of the new parts immediately. But of course we need to
maintain compatibility with existing DBF data. Once everything is in
the the new version we'll say goodbye to DBF.

Nick

On Nov 3, 4:05 pm, "Ginny Caughey" <ginny.onl...@hotmail.com> wrote:
> As long as you're rewriting this from scratch, I'm curious why you're
> keeping DBF as a backend. We still support the DBF versions of our apps 
> but
> don't enhance them or write more of them. SQL works great even on a single
> computer.
>
> Ginny
> 

[toc] | [prev] | [next] | [standalone]


#2370

From"Willie Moore" <williem@wmconsulting.com>
Date2011-11-04 07:25 -0500
Message-ID<j90lib$of9$1@speranza.aioe.org>
In reply to#2367
Nick,

When you design your WCF contracts, make sure that you think about who and 
what is going to consume them.  For example, if you want to do a windows 
mobile app, you need to stay away from arraylist in your WCF contracts. Use 
list<object...> or some other generic form. Silverlight doesn’t support the 
non generic collections. If you are using the Winforms or WPF GUI then you 
don’t need to worry about that restriction.

Regards,
Willie

"Nick Friend"  wrote in message 
news:7b19f2a9-650c-4214-ba80-938b53cfdeb7@9g2000yqv.googlegroups.com...

Willie,

Thanks, I hope it works! The aim is to build in maximum flexibility
for the future, so we can roll whichever way our clients want us to
go. We use the ADS provider for parts of our app already.

Ginny... the DBF bit is just for backward compatibility. Since we
won't be rolling out a single application, but a cluster of small
targeted apps, we can roll this out gradually and let the clients get
the benefits of the new parts immediately. But of course we need to
maintain compatibility with existing DBF data. Once everything is in
the the new version we'll say goodbye to DBF.

Nick

On Nov 3, 4:05 pm, "Ginny Caughey" <ginny.onl...@hotmail.com> wrote:
> As long as you're rewriting this from scratch, I'm curious why you're
> keeping DBF as a backend. We still support the DBF versions of our apps 
> but
> don't enhance them or write more of them. SQL works great even on a single
> computer.
>
> Ginny
> 

[toc] | [prev] | [next] | [standalone]


#2372

From"Ginny Caughey" <ginny.online@hotmail.com>
Date2011-11-05 09:53 -0400
Message-ID<4eb53f18$0$2566$c3e8da3$f5af001f@news.astraweb.com>
In reply to#2370
Hi Willie,

I bet you meant Windows Phone, not Windows Mobile which is pretty old stuff. 
Have you seen any of the new Windows Phones that AT&T will be releasing 
Monday? The Samsung Focus S looks particularly sweet!

Ginny

"Willie Moore"  wrote in message news:j90lib$of9$1@speranza.aioe.org...

Nick,

When you design your WCF contracts, make sure that you think about who and
what is going to consume them.  For example, if you want to do a windows
mobile app, you need to stay away from arraylist in your WCF contracts. Use
list<object...> or some other generic form. Silverlight doesn’t support the
non generic collections. If you are using the Winforms or WPF GUI then you
don’t need to worry about that restriction.

Regards,
Willie

"Nick Friend"  wrote in message
news:7b19f2a9-650c-4214-ba80-938b53cfdeb7@9g2000yqv.googlegroups.com...

Willie,

Thanks, I hope it works! The aim is to build in maximum flexibility
for the future, so we can roll whichever way our clients want us to
go. We use the ADS provider for parts of our app already.

Ginny... the DBF bit is just for backward compatibility. Since we
won't be rolling out a single application, but a cluster of small
targeted apps, we can roll this out gradually and let the clients get
the benefits of the new parts immediately. But of course we need to
maintain compatibility with existing DBF data. Once everything is in
the the new version we'll say goodbye to DBF.

Nick

On Nov 3, 4:05 pm, "Ginny Caughey" <ginny.onl...@hotmail.com> wrote:
> As long as you're rewriting this from scratch, I'm curious why you're
> keeping DBF as a backend. We still support the DBF versions of our apps 
> but
> don't enhance them or write more of them. SQL works great even on a single
> computer.
>
> Ginny
> 

[toc] | [prev] | [next] | [standalone]


#2373

From"Willie Moore" <williem@wmconsulting.com>
Date2011-11-05 10:40 -0500
Message-ID<j93lc2$1dt$1@speranza.aioe.org>
In reply to#2372
Ginny,

You are correct, I did mean windows phone 7. I have seen all of the new 
phones. We have a call center on one floor of the data center. They have 
every phone available so the folks can look at them. I would like one just 
to play with. I love my iPhone but I am still not set up to develop any apps 
for it. I have all the tools I need to develop for the windows phone.

Regards,
Willie

"Ginny Caughey"  wrote in message 
news:4eb53f18$0$2566$c3e8da3$f5af001f@news.astraweb.com...

Hi Willie,

I bet you meant Windows Phone, not Windows Mobile which is pretty old stuff.
Have you seen any of the new Windows Phones that AT&T will be releasing
Monday? The Samsung Focus S looks particularly sweet!

Ginny

"Willie Moore"  wrote in message news:j90lib$of9$1@speranza.aioe.org...

Nick,

When you design your WCF contracts, make sure that you think about who and
what is going to consume them.  For example, if you want to do a windows
mobile app, you need to stay away from arraylist in your WCF contracts. Use
list<object...> or some other generic form. Silverlight doesn’t support the
non generic collections. If you are using the Winforms or WPF GUI then you
don’t need to worry about that restriction.

Regards,
Willie

"Nick Friend"  wrote in message
news:7b19f2a9-650c-4214-ba80-938b53cfdeb7@9g2000yqv.googlegroups.com...

Willie,

Thanks, I hope it works! The aim is to build in maximum flexibility
for the future, so we can roll whichever way our clients want us to
go. We use the ADS provider for parts of our app already.

Ginny... the DBF bit is just for backward compatibility. Since we
won't be rolling out a single application, but a cluster of small
targeted apps, we can roll this out gradually and let the clients get
the benefits of the new parts immediately. But of course we need to
maintain compatibility with existing DBF data. Once everything is in
the the new version we'll say goodbye to DBF.

Nick

On Nov 3, 4:05 pm, "Ginny Caughey" <ginny.onl...@hotmail.com> wrote:
> As long as you're rewriting this from scratch, I'm curious why you're
> keeping DBF as a backend. We still support the DBF versions of our apps 
> but
> don't enhance them or write more of them. SQL works great even on a single
> computer.
>
> Ginny
> 

[toc] | [prev] | [next] | [standalone]


#2374

From"Ginny Caughey" <ginny.online@hotmail.com>
Date2011-11-05 13:22 -0400
Message-ID<4eb57019$0$3470$c3e8da3$34f7e24e@news.astraweb.com>
In reply to#2373
You should definitely get one of the Windows Phones then. With 7.5 the OS is 
quite capable, and as you already know the development tools are excellent. 
If you don't what to spring $99 for a developer license, there is now an 
option to developer-unlock phones for only $9 (but not publish apps).

"Willie Moore"  wrote in message news:j93lc2$1dt$1@speranza.aioe.org...

Ginny,

You are correct, I did mean windows phone 7. I have seen all of the new
phones. We have a call center on one floor of the data center. They have
every phone available so the folks can look at them. I would like one just
to play with. I love my iPhone but I am still not set up to develop any apps
for it. I have all the tools I need to develop for the windows phone.

Regards,
Willie

"Ginny Caughey"  wrote in message
news:4eb53f18$0$2566$c3e8da3$f5af001f@news.astraweb.com...

Hi Willie,

I bet you meant Windows Phone, not Windows Mobile which is pretty old stuff.
Have you seen any of the new Windows Phones that AT&T will be releasing
Monday? The Samsung Focus S looks particularly sweet!

Ginny

"Willie Moore"  wrote in message news:j90lib$of9$1@speranza.aioe.org...

Nick,

When you design your WCF contracts, make sure that you think about who and
what is going to consume them.  For example, if you want to do a windows
mobile app, you need to stay away from arraylist in your WCF contracts. Use
list<object...> or some other generic form. Silverlight doesn’t support the
non generic collections. If you are using the Winforms or WPF GUI then you
don’t need to worry about that restriction.

Regards,
Willie

"Nick Friend"  wrote in message
news:7b19f2a9-650c-4214-ba80-938b53cfdeb7@9g2000yqv.googlegroups.com...

Willie,

Thanks, I hope it works! The aim is to build in maximum flexibility
for the future, so we can roll whichever way our clients want us to
go. We use the ADS provider for parts of our app already.

Ginny... the DBF bit is just for backward compatibility. Since we
won't be rolling out a single application, but a cluster of small
targeted apps, we can roll this out gradually and let the clients get
the benefits of the new parts immediately. But of course we need to
maintain compatibility with existing DBF data. Once everything is in
the the new version we'll say goodbye to DBF.

Nick

On Nov 3, 4:05 pm, "Ginny Caughey" <ginny.onl...@hotmail.com> wrote:
> As long as you're rewriting this from scratch, I'm curious why you're
> keeping DBF as a backend. We still support the DBF versions of our apps 
> but
> don't enhance them or write more of them. SQL works great even on a single
> computer.
>
> Ginny
> 

[toc] | [prev] | [next] | [standalone]


#2375

From"Willie Moore" <williem@wmconsulting.com>
Date2011-11-05 16:43 -0500
Message-ID<j94al7$tde$1@speranza.aioe.org>
In reply to#2374
Ginny,

What I will probably end up doing is to buy a phone on eBay that I can use 
via WiFi because I really don’t need another phone but would like something 
more than my emulators. VS really does make it easy to write phone apps. 
When I am at VODC I will be showing how easy it is to use WCF to put your 
business and then consume the service from winforms, wpf, and windows phone. 
I have anothersample where the WCF service uses WCF on the client to post 
messages back on the GUI. I am really looking forward to VODC!

Regards,
Willie

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web