Tag Archives: WCF

Virtual Earth, SQL 2008, & GeoJSON

I’ve been chatting with Vish over email.  He made me aware his approach to getting SQL 2008 & Virtual Earth to play well together using GeoJSON.  I actually didn’t know about GeoJSON.  Thanks Vish!  Check out his post explaining the approach:


FOLLOW UP: Developer Dinner on .NET Framework 3.5 SP1

Thanks to everyone who attended!  You can download the deck and links to the code here:


Normally, I make my actual demo code available for download.  However, this time around, my demo code was based on the .NET 3.5 Enhancements Training Kit.  I blogged about it here:


The kit has everything I showed in my demos and more!  I also promised to link to a bunch of good content out there on the various topics.


MSDN -> Data Platform Development

“How Do I?” Videos — Data Platform Development

ADO.NET Entity Framework

MSDN Library -> ADO.NET Entity Framework

ADO.NET Team Blog

Entity Framework Design Blog

Sample provider for Oracle

Third Party Provider Support for the Entity Framework RTM

Updated Entity Framework Samples for RTM

ADO.NET Data Services

MSDN Library -> ADO.NET Data Services Framework

MSDN -> ADO.NET Data Services

ADO.NET Data Services Team Blog

https://channel9.msdn.com/tags/UK/ Has a bunch of GREAT screencasts from Mike Taulty.

ASP.NET Dynamic Data

MSDN Library -> ASP.NET Dynamic Data


David Ebbo’s blog (Dynamic Data and other ASP.NET topics)



What’s New in .NET Framework 3.5 Service Pack 1 (for WPF)

WPF DataGrid CTP Preview (Video)

cheat-sheet to some of the WPF 3.5 SP1 features..

WPF Control Toolkit (DataGrid CTP)


New WCF Features in 3.5 SP1

WCF Tools in VS2008 SP1: Introducing the new features and enhancements

Free training on .NET Framework 3.5 SP1 and ASP.NET MVC

Looking for free introductory training on the .NET 3.5 SP1 & ASP.NET MVC?  Head over to Jonathan Carter’s blog to get all the details on the .NET 3.5 Enhancements Training Kit RTM.  What will you find?  Information and links to download a kit that has presentations, demos, and labs covering what’s new in ASP.NET AJAX, ASP.NET Routing, ASP.NET MVC, ASP.NET Dynamic Data, ADO.NET Data Services, ADO.NET Entity Framework, WCF, and Visual Studio 2008 SP1.  If you’ve seen any of my 3.5 SP1 or my older "ASP.NET Futures" presentations, then you are already familiar with some of the content in the kit.  I used an early release of the kit as the foundation for some of my demos.  The kit has come a long way since I used it.  I skimmed through everything last week.  There is lots of good content in here!

SCREENCAST: Rendering Polygons from SQL Server 2008 on Virtual Earth

In this screencast, I build off of the concepts shown in my previous screencast and show you how to render a polygon on a Virtual Earth map using REST, Windows Communication Foundation (WCF), LINQ to SQL, and the new geography data type in SQL Server 2008.

To learn more about the GeoRSS utility library, visit:

A big thanks to Eugenio Pace for letting me use it as part of my sample!





SCREENCAST: Saving Virtual Earth Polygons to SQL Server 2008

In this screencast, I show you how to draw a polygon on a Virtual Earth map and save it using ASP.NET AJAX, Windows Communication Foundation (WCF), LINQ to SQL, and the new geography data type in SQL Server 2008.





WEBCAST RECORDING: Adding Mapping Capabilities to your Applications with Virtual Earth and ASP.NET AJAX

First, let me apologize since I promised to make this recording available almost two months ago.  I was trying to get the recording uploaded to the same Live Meeting servers as my other webcasts.  Needless to say, I had some challenges.  I decided to upload it to Silverlight Streaming.  I had to split the presentation into two files since this is a 90 minute presentation and Silverlight Streaming has file size limits.

In this presentation, I show you the fundamentals of the Virtual Earth Map Control 6.1 using JavaScript.  Then, I show how you can use ASP.NET AJAX and the Windows Communication Foundation (WCF) to make building Virtual Earth solutions easier.  Finally, I show you how you can host Virtual Earth in a desktop application.

Part I:

[Double click the video to view full screen]


Click here to download Part I wmv

Part II:

[Double click the video to view full screen]


Click here to download Part II wmv

So what’s the benefit of this recording?  First, it is much higher quality than the Live Meeting recording since I used Camtasia Studio.  Second, the content is updated to use the Virtual Earth Map Control 6.1 and the Virtual Earth JavaScript Intellisense Helper.  Finally, since it’s hosted using Silverlight Streaming, you don’t have to register to view it. 

Here are some download links for the webcast:

Deck: http://cid-1f72da7294089597.skydrive.live.com/embedrow.aspx/Public/Virtual%20Earth/marcscVEProgramming.pptx

Code: http://cid-1f72da7294089597.skydrive.live.com/embedrow.aspx/Public/Virtual%20Earth/VEMapControlDemo|_v6.1|_VS2008.zip

The sample demonstrating hosting Virtual Earth in a Windows Presentation Foundation (WPF) is old.  I have an updated sample.  Details about the updated sample are available at http://blogs.msdn.com/devkeydet/archive/2008/06/24/wpf-and-virtual-earth-revisited.aspx.  You can also watch a screencast about the updated sample at https://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/

Technorati Tags: ,,,,

FOLLOW UP: Public Sector Developer Conference (Downers Grove, IL)

Thanks to everyone who attended!  Here are the links to the decks and code for the sessions.  I don’t have the content from the LINQ & VSTO sessions yet, but will update this post when I get them.  However, I did promise to have a post up this morning.

How Visual Studio Team System 2008 will benefit your organization?deck

Language Integrated Query (LINQ)

Overview of the .NET Framework 3.5 SP1 & ASP.NET MVCdeck, resources, code (links to a post explaining how to get the code I based me demos on)

Office Development with VSTO  and Office Open XML Format

If you are interested in other content, I have a list of recorded webcasts in My Recorded Webcasts list.  There is a session similar to Joel’s LINQ session that covers LINQ to SQL in a little more detail as well as other topics which might interest you.  You might want to check out My Screencasts as well. 

Free training on .NET 3.5 SP1

I just came across this update to the .NET 3.5 Enhancements Training Kit from Jonathan Carter.  If you’ve seen my ASP.NET 3.5 Extensions Preview webcast and are looking for the code, then you will want to download the kit.  I used the kit as the starting point for my demos.  I do a few things differently here and there, but most of it is because I didn’t have time to show everything in 90 minutes.  As far as I can tell, everything that was in the extensions preview is in 3.5 SP1 except ASP.NET MVC which will be shipped separately.  The training kit offers a great way to get your hands dirty with the new stuff in 3.5 SP1.  Go get it!  Oh yea, I have also updated the deck from my webcast to reflect the changes.  I have also added a couple slides about what’s new in WPF & WCF.  You can download my new 3.5 SP1 deck here.

Updated Virtual Earth Map Control demo code

UPDATE: I’ve updated the code to use the workaround described here.  If you downloaded this code before May 2nd, 2008 @ 7:30 PM EST, then you might download it again.  The URL is the same.

I’ve update my primary Virtual Earth (VE) map control demos. If you aren’t familiar with my VE demos, they are essentially all the samples from the Virtual Earth Interactive SDK redone in a Visual Studio solution. My directory structure maps almost identically to the steps treeview in the Interactive SDK:

 image image

Then, I sprinkle in a little ASP.NET AJAX and Windows Communication Foundation (WCF) where these technologies can make building VE solutions easier. All you have to do is download the zip and you basically have the Interactive SDK code++.

Here’s what’s new in the updated code:

  • All pages use the 6.1 map control.
  • Cleaned up some AJAX code that still used really old previews from ASP.NET AJAX (Specifically Microsoft.Web.Preview.dll & Sys.Preview.UI scripts from the Microsoft AJAX Library).
  • Additional code cleanup.
  • All JavaScript files use the Virtual Earth JavaScript Intellisense Helper.
  • All JavaScript files have a reference to their corresponding .aspx page so we get full Intellisense for the Microsoft AJAX Library and any other additional .js files referenced in the ScriptManager.
  • 05 – Customize Shapes/CustomizeShapes.aspx.js has an example of how to restyle the VE InfoBox using Cascading Style Sheets (CSS).
  • 07 – Import Data/GeoRSS_Collections_KML.aspx.js shows how to import KML.
  • 08 – Custom Tile Layers/CustomTileLayers.aspx.js correctly shows the custom tiles. The web site is now configured to use a fixed port for the ASP.NET Development Server.
  • 10 – Route and directions/RouteDirections.aspx.js uses map.GetDirections() instead of map.GetRoute() since map.GetRoute() is deprecated. I also added a multipoint routing example.

You can grab the code here:


WEBCAST FOLLOW UP: Overview of the Microsoft ASP.NET 3.5 Extensions Preview

Thanks to everyone who attended!  Sorry about the demo hiccups / going over.  As I mentioned in the beginning, I had a hard time trying to get everything I wanted to cover into 90 minutes.  As you can see, there’s quite a bit in the ASP.NET 3.5 Extensions.  Normally, I make all of my code demos available for download.  However, I used a newer build for my demos that’s not publicly available.  Once we release the new bits, I will make my code available.  For now, you can download my ASP.NET 3.5 Extensions deck here.

UPDATE: I just created a list of links on my Windows Live Space called ASP.NET 3.5 Extensions.  This list has links to all the relevant landing pages & forums for the various technologies covered today.  Newer versions of MVC, Dynamic Data, and the Silverlight Controls have been released since the December 2007 release of the ASP.NET 3.5 Extension Preview.  Make sure you read the release notes of each newer package to understand how to get the newer bits working on top of the December 2007 preview.  The ADO.NET Entity Framework and ADO.NET Data Services in the December 2007 release of the ASP.NET 3.5 Extension Preview are the latest releases as of today (04/30/2008).  Stay tuned for a newer release that will reflect the updates you saw today.