Updated Samples for Visual Studio 2010 Release Candidate

Updated Samples for Visual Studio 2010 Release Candidate

  • Comments 8

If you haven’t heard, Jason Zander announced today that the Release Candidate (RC) for Visual Studio 2010 is now available for MSDN Subscribers here. The RC will be made available to the public on Wednesday the 10th.

We also just refreshed all the WPF & Silverlight Data binding, VSTO and SharePoint Dev samples on Code Gallery to match the RC bits so check them out once you’ve downloaded and installed the RC:

Here’s some more additional resources to look through:

Office Development with VS:

SharePoint Development with VS:

WPF & Silverlight Data Apps:

Enjoy!

Leave a Comment
  • Please add 6 and 4 and type the answer here:
  • Post
  • Wow....great news! Let me check.

  • Those are great resources. Beth do you think there will be any sample apps or walkthroughs published that deal with vs 2010 winforms and say wcf data services?

  • BTW I did the "Binding Silverlight Controls to a WCF Data Service" walkthrough (http://msdn.microsoft.com/en-us/library/ee621313(VS.100).aspx) and there may be an inconsistency. In the Load data from the service section it calls for

    Imports AdventureWorksSilverlightApp.AdventureWorksService.AdventureWorksLTModel

    Shouldn't it be

    Imports AdventureWorksSilverlightApp.AdventureWorksService.AdventureWorksLTEntities

    One thing I also don't understand is that I need to fully qualify the reference like

           advWorksService = New AdventureWorksSilverlightApp.AdventureWorksService.AdventureWorksLTEntities(New Uri("http://localhost:4194/AdventureWorksDataService.svc"))

    where the walkthrough uses a simpler syntax like

       advWorksService = New AdventureWorksLTEntities(New Uri("http://localhost:5500/AdventureWorksDataService.svc"))

    Sometimes one can right click a type and select Resolve but not here...can you explain?

  • Again with the SL and WCF data services walkthrough, I thought I'd try to add a save button. I adapted code from the wpf + wcf data services walkthrough. It does not work because .SaveChanges() is not a member of AdventureWorksLTEntities?

       Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles btnSave.Click

           'Dim CurrentOrder As AdventureWorksService.SalesOrderHeader = CType(OrdersViewSource.View.CurrentItem, AdventureWorksService.SalesOrderHeader)

           'DataServiceClient.UpdateObject(CurrentOrder)

           'DataServiceClient.SaveChanges()

           Dim CurrentCustomer As AdventureWorksService.Customer = CType(customersViewSource.View.CurrentItem, AdventureWorksService.Customer)

           advWorksService.UpdateObject(CurrentCustomer)

           advWorksService.SaveChanges()

       End Sub

  • What happened to the Compact Framework? Is device development no longer supported?

  • I hope that someone can post a master-detail walkthrough that utilizes wcf data services with either silverlight or wpf. The master detail walkthrough that is up uses EF and apparently the automatic wiring that comes with EF data sources does not work with wcf data services.

    Too bad the walkthroughs don't allow comments; this may not be the best place to post comments on them, but not sure where else to try.

  • Hi Michael,

    I'll try and track down the folks that wrote the walkthrough and get back to you.

    In the meantime you may want to check this out:

    http://blogs.msdn.com/vsdata/archive/2009/11/07/accessing-master-detail-data-through-ado-net-data-service-in-a-silverlight-application-part-2.aspx

    -B

  • Hi Bob,

    While Visual Studio 2010 doesn’t contain built-in mobile support, we are working closely with the Mobile team to deliver support for mobile development to VS 2010 developers in the future.

    More information will be revealed at MIX.

Page 1 of 1 (8 items)