New Posts New Posts RSS Feed: Help for VB programmers
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Help for VB programmers

 Post Reply Post Reply
Author
donc View Drop Down
Newbie
Newbie


Joined: 26-Oct-2010
Posts: 2
Post Options Post Options   Quote donc Quote  Post ReplyReply Direct Link To This Post Topic: Help for VB programmers
    Posted: 26-Oct-2010 at 8:31am
Alot of us tend to learn things by looking at working examples.  Unfortunately, there seems to be a dearth of sample apps and examples available for those of us old dogs who prefer to work in VB instead of C# with Silverlight. 
 
We would love to see all of your documentation and sample code include both VB and C#. 
 
It is especially frustrating when you see something like your new CoRoutines which look very cool, but don't seem to be directly translatable to VB because they use some language features which are only available in C#.
 
It would be great to have some best practices VB examples of DevForce integrating:
    -  Mvvm - MvvmLight and/or Prism 4
    -  Coroutines
    -  Repositories
    -  Unity
    -  Ability to work both Connected and Disconnected from a backend database
    -  and whatever else might be relevant to creating a modern DevForce Silverlight business oriented application.
 
Thanks for listening and I'd appreciate any feedback you've got to share!
Back to Top
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 27-Oct-2010 at 2:33pm
Hi donc,

Thanks for taking the time to give us feedback.

Most of the html documentation should show both VB and C#, and we're updating the remaining sections to show both as well.  As you noticed, we have a definite lack of samples and sample applications in any language.  So, our priority is to get additional samples coverage as quickly as possible, which means they will likely be in one language (and probably C# since that's the language our samples authors know best).  Once we get sufficient samples coverage, we would like to make them available in both languages.

Coroutines for VB is... unfortunate.  I love the feature, but we don't have a solution for the VB folks yet.  Maybe we can give you guys something that the C# folks can't use ;)




Edited by ting - 27-Oct-2010 at 2:49pm
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 28-Oct-2010 at 5:45pm
It's not entirely true that the Coroutine doesn't work in VB, it's just not as easy and intuitive as in C#.  We just converted the new Business Application templates to VB, and these templates use Coroutines for both user login and registration.   These templates will be available in the 6.0.7 release, but I can post the relevant code if you're interested now.
Back to Top
donc View Drop Down
Newbie
Newbie


Joined: 26-Oct-2010
Posts: 2
Post Options Post Options   Quote donc Quote  Post ReplyReply Direct Link To This Post Posted: 01-Nov-2010 at 8:09am
Any sample code would be helpful!
 
I noticed today that Microsoft has released a new Visual Studio Async CTP at http://msdn.microsoft.com/en-us/vstudio/async.aspx ... it looks like we might get some new constructs in VB after all!
 
Thanks for your feedback.
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 01-Nov-2010 at 11:49am
Here's a sample.  The new iterator and yield support for VB in the Async CTP make the workaround shown in the sample unnecessary, so if you can use the CTP, go for it! 
 
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down