Tag Archives: WCF

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

The ASP.NET 3.5 Extensions Preview is a new release that provides new functionality being added to ASP.NET 3.5 and ADO.NET in 2008. This release delivers a set of new features that target:

  • Enabling High Productivity Data Scenarios – including MVC, Entity Framework, ADO.NET Data Services and Dynamic Data
  • Supporting Test Driven Development – including a powerful and extensible MVC framework
  • Creating the best server for Rich Clients – including Ajax history support and Silverlight controls for ASP.NET

We will take a lap around all the great capabilities packed into this upcoming release including ASP.NET MVC, ASP.NET Dynamic Data, ASP.NET AJAX, ADO.NET Entity Framework, ADO.NET Data Services, and Silverlight Controls for ASP.NET.

When

Wednesday, April 30, 2008

2:00P-3:30P EST (11:00A-12:30P PST)

Register at this link:

http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032373610&Culture=en-US

SCREENCAST: Exposing/Consuming RSS/ATOM using WCF 3.5 & Silverlight 2

In this screencast, I show you how easy it is to expose RSS and Atom feeds using the new Web Programming Model (REST) features, classes in the new System.ServiceModel.Syndication namespace, and LINQ to SQL in the .NET Framework 3.5.  Then, you will see how you can use classes from the System.ServiceModel.Syndication namespace to consume RSS and Atom feeds using Silverlight 2.

Screencast: Exposing/Consuming RSS/ATOM using WCF 3.5 & Silverlight 2

Source code: WcfSyndicationLinqToSqlSilverlight2.zip

Service Factory Modeling Edition for Visual Studio 2008

During the recent Public Sector Developer Conference in Washington, DC, I was asked about tools support, beyond the class designer, for modeling WCF services.  My answer was to use the Service Factory Modeling Edition for Visual Studio 2008 from the patterns & practices team.  Here’s a quick screenshot of what the design surface looks like:

clip_image002

 

You will also want to check out the community site at http://www.codeplex.com/servicefactory.  The community site contains hands-on labs for both using and extending the Service Factory, discussions with customers and field, known issues, and roadmap information. In the near future the site will include presentations, demonstration videos, and community contributions.

DC Launch Follow Up

Thanks to everyone who stuck around for my "Defy Occasionally-Connected Challenges With Smart Client Applications" session at the DC Launch.  The deck and demo files are available here:

Deck

Workflow Services Demo

Sync Services for ADO.NET Demo

Server Database

The demos require Visual Studio 2008 and depend on a SQL Server 2005 database.  I made the database available for download as well.  You’ll have to attach it to your SQL/SQL Express instance and make sure the connection strings in the project are correct.  You’ll notice that I didn’t include a download for the WPF demo.  That’s because the UI in the Sync demo is the exact same UI from the WPF demo.

I mentioned recorded/upcoming webcasts a few times during the presentation.  You can find a list of all my recorded webcasts at http://devkeydet.com. Here are the recorded webcasts related to the topics I covered:

Introduction to Windows Communication Foundation ***

Introduction to Windows Workflow Foundation ***

Introduction to Windows Presentation Foundation ***

Smart Clients: What’s New in Visual Studio 2008?

Introduction to LINQ + LINQ to SQL

What’s New in the WCF and WF in Visual Studio 2008 & the .NET Framework 3.5

Building Workflow Services (WF+WCF) with Visual Studio 2008

Building WPF Applications in Visual Studio 2008 and Expression Blend

*** These webcasts are fairly old.  They are based on .NET 3.0 / VS 2005.  The core concepts obviously apply, but the developer experience for all of these technologies has greatly improved in Visual Studio 2008.

I also mentioned my webcast on Thursday.  I’ll be presenting a deeper dive into the Microsoft Synchronization Services for ADO.NET.  Details are here.

Virtual Earth: Drawing on the map and storing the result in SQL Server 2008

During my Virtual Earth Workshop at the GIS-T (www.gis-t.org) conference, I demo’d how to execute a spatial query in a VE scenario by using JavaScript, WCF, and SQL Server 2008.  The query returned GeoRSS to the browser so the VE map control could use it to draw polygons on the map.  I ingested the spatial data into SQL from ESRI shape files provided by the US Census Bureau here using a free tool available here.  I’m planning on cleaning up the code, making the sample available, and recording a channel 9 screencast explaining the sample.   As a result of the demo, I received the following email from one of the attendees:

"I would like to know if you have a demo of how I could store the coordinates created by generating points or polylines from on the map into a database. You can save them as part of collections but I would like to know how they can be stored into a database."

I do not have such a sample.  However, Johannes Kebeck, has a sweet series of posts around Virtual Earth & SQL Server 2008:

Virtual Earth & SQL Server 2008 – Part 1: Introduction (1/2)

Virtual Earth & SQL Server 2008 – Part 1: Introduction (2/2)

Virtual Earth & SQL Server 2008 – Part 2: Spatial Data Management in SQL Server 2008 (1/3)

Virtual Earth & SQL Server 2008 – Part 2: Spatial Data Management in SQL Server 2008 (2/3)

Virtual Earth & SQL Server 2008 – Part 2: Spatial Data Management in SQL Server 2008 (3/3)

Virtual Earth & SQL Server 2008 – Part 3: Getting Started with Virtual Earth

Virtual Earth & SQL Server 2008 – Part 4: Integrating SQL Server 2008 and Virtual Earth (1/6)

Virtual Earth & SQL Server 2008 – Part 4: Integrating SQL Server 2008 and Virtual Earth (2/6)

Virtual Earth & SQL Server 2008 – Part 4: Integrating SQL Server 2008 and Virtual Earth (3/6)

Virtual Earth & SQL Server 2008 – Part 4: Integrating SQL Server 2008 and Virtual Earth (4/6)

Virtual Earth & SQL Server 2008 – Part 4: Integrating SQL Server 2008 and Virtual Earth (5/6)

Virtual Earth & SQL Server 2008 – Part 4: Integrating SQL Server 2008 and Virtual Earth (6/6)

Virtual Earth & SQL Server 2008 – Part 5: Conclusion

Part 4 (6/6) is titled Inserting Data into SQL Server 2008 and answers the question.  However, Johannes takes a slightly different approach than the pattern I showed in my demo.  I love the fact that he took a fairly platform agnostic approach in his examples because it means that anyone can use the approach regardless of their client & server libraries.  However, I’m a .NET evangelist.  It’s my job to highlight our great developer platform.  We have some great libraries and APIs in the Microsoft AJAX Library / ASP.NET AJAX & the Windows Communication Foundation that could help make building out this scenario much easier.  I plan on taking the same scenario and building it out using them.  I’ll be working on it, along with my original example, in the next week or so.  When I am done, I will make the source code available and have 2 screencasts walking showing how to build them step by step.

WEBCAST FOLLOW UP: Building Workflow Services (WF+WCF) with Visual Studio 2008

Thanks to everyone who attended.  Sorry for the technical difficulties with Live Meeting as well as accidentally doing one of my demos out of order.  Hopefully it wasn’t too confusing.

The deck is here.  The demos I used are split into a few downloads.  The ones built from scratch are here.  The SimpleExpenseReport demo is here.  This is the one where both the client service and the workflow service are hosted in the client .exe.  I hope to publish a channel 9 screencast next week some time showing, step by step, how to build it.  Both the “Long Running Work via Messaging” and the “Conversations” demos are part of the Visual Studio 2008 and .NET Framework 3.5 Training Kit which is a free download.

WEBCAST: Building Workflow Services (WF+WCF) with Visual Studio 2008

The Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF) are two very relevant technologies within .NET 3.x for Public Sector applications. WCF represents a total unification layer for building connected systems and WF provides a powerful foundation for process reengineering. Combine them and you have an unbelievable set of capabilities for building robust enterprise application that involve both process automation as well as human and machine to machine workflow and process communication. Come learn the basis of how to build WCF services using workflow foundation in Visual Studio 2008.

When

Friday, February 22, 2008

2:00P-3:30P EST (11:00A-12:30P PST)

Register at this link:

http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032366132&Culture=en-US

Note: Audio will be via the Internet.  Your machine will need a speaker.