Slides and demos for the What's new in Visual Studio 2008 presentations. VS 2008 is more than just LINQ. This presentation looks at other new features in VS 2008, including CSS properties, JScript intellisense and debugging, N-Tier data support, Synchrnoization services, Workflow (WF) support and WPF/Winform integration. The slides are based largly on a white-paper available at http://go.microsoft.com/?linkid=6625887
Slide deck for Windows 8 as an Application Integration Hub. Demonstrates how Contracts, Pickers, and Charms contribute to making Windows 8 a hub for applications to communicate between each other while retaining sandboxed isolation.
Slides and demo project illustrating using Unit Testing in a Sharepoint solution. Some of the tests require the TypeMock Isolator product. Remove those references if you wish to test the project without using this tool. To run the sample webpart in SharePoint, deploy it to your SharePoint site and then add it to a form. Note: This sample is NOT production ready, but is simply illustrates how and why to consider using unit testing in your SharePoint development methodologies.
Reactive Framework samples from the "Becoming an RxPusher with the Reactive Framework" talk. With the emergence of LINQ, we discovered the power and flexibility that comes from the IEnumerable interface. This pull model makes iterating over sets of data and performing filtering, transformation, and aggregation operations easy through LINQ. However, the pull model breaks down in asynchronous and event driven environments. In evaluating the options, we discovered that the IObserverable interface and the push model were effectively analogous to the pull model of IEnumerable. As a result, we can make event driven asynchronous progamming easier and more declarative by using the Reactive Framework and LINQ to Events.
Windows 8 Metro (WinRT) samples for Reactive Extensions (Rx). These samples were built using the Windows 8 Consumer Preview, Visual Studio 2011 Beta, and the experimental Beta for Rx 2.0 as introduced on the Rx Blog. I make no promises that these bits will continue to function once any of those systems are updated. In addition to those environments, you will also need to get your own Bing AppId if you want to use the Bing Translator sample.
Slides and samples for the Parallel vs. Async Programming in .Net. The samples require LinqPad 4 to run. The C# 5 Async/Await sample is not included. Instead, you can read the whitepaper from Microsoft which walks you through the process of moving from callbacks through Task based Async to C#5 syntax. The Rx Translator example is available in the RxPhone samples on this site.
When LINQ arrived in 2008, we were given a new declarative model to perform set based operations. As we begin to use it more in our applications we start to see the performance implications of using this model in our applications. This session will look at options we have to improve our performance by improving our code, using hash tables with I40, scaling up with PLINQ, scaling out with Dryad and asynchronous operations with Rx. By the end of this session, you should have an understanding of when to use each of these new and emerging technologies to improve your LINQ code.
Demos showing migrating the simple version of this site from LINQ to SQL to the Entity Framework. This file contains two zipped projects: the starting project which uses LINQ to SQL and the end project which demonstrates the site using the Entity Framework. In addition to the simple migration, we also show how to eliminate the intemediary Many-to-Many CategoryPosts table in the conceptual entity model.
Slides and samples for the LINQ to SQL Tricks and Tips presentation. Please read the readme.txt file in this package to find out how to download the additional components used in the samples. You will need the version of Northwind that was created for the Entity Framework samples. You also need LINQPad from LINQPad.Net.
Slides and sample projects illustrating some options you have for testing Entity Framework models. The samples illustrate some ways that you can perform unit testing with and without abstracting the Entity Framework into repositories. NOTE: One test in the solution intentionaly fails to illustrate how you should write your test so that it fails first. Once you write your implemntation, the test should pass. In the EDMX based models, you can generate the database using the "Generate Model From Database" option in the designer.
Slides and Demos for the talk, "Dynamic Programming in a Statically Typed World with VB 10" - One of the key pillars of .NET 4.0 is the inclusion of dynamic language support. Many languages have tended to stick to static or dynamic typing. Visual Basic is uniquely positioned to stradle the fence and work equally well in both the staic and dynamic worlds. We will show how to take advantage of the new dynamic language enhancements in VB 10. We'll also demonstrate some cases where you should and shouldn't use these dynamic features.
Prior to the first release of the Entity Framework, a number of people voiced objections in a ""Vote of no confidence"". With the release of 2010, the Entity Framework has seen significant enhancements which address many of these concerns. In this session, we'll look at the concerns and show some of the changes that were made in EF 4.0 as a result
Slides and samples for the "Dynamic Programming in a Statically Typed World" presentation. This version includes sample implementations showing Dynamic uses in test first, COM interop, Script hosting, MVC, CSV, and Microsoft.Data.
Slides and samples for the 1/2 day Building more Dynamic Data applications. Please read the enclosed Readme.txt file for information on how to run these samples. This package includes samples for LINQ to SQL, LINQ to Entities, ADO.Net Data Services, ASP.Net Dynamic Data, Silverlight 3, and RIA Services. To run these samples, you may need to download additional components.
Delegates define the signature of a method. A pointer to the method cabn be passed as a parameter to other methods. With .NET 2.0 and 3.5, we have seend enhancements including anonymous delegates, Lambda expressions and Expression trees. This file includes the slides and sample projects demonstrating Delegates, Lambdas, and Expressions. (Who needs Lions, Tigers and Bears anyway?)