blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

John Rayner's Blog

Brain.Extract<IBloggable>( Where.Author.Is( "John.Rayner" ) );

WPF/E: Setting up your workstation for development

So you've installed the WPF/E runtime and played with a few samples.  You've probably also installed the WPF/E SDK and opened up some of the sample source code.  What next?  Write your own WPF/E code, of course! 

Adam Kinney has posted a video on Channel 9 about Getting Started with WPF/E. It's worth a listen (I say listen because the code on his screen is illegible, but it's interesting anyway).  In this video he opens up a WPF/E project template and uses that as a starting point.  So where is this template and how can you get it?  Well, there's a hard way and an easy way to get it ...

The Hard Way

If you've installed the WPF/E SDK there is a link in there's a link in your Start Menu which should look like the image to the right.  This links to an installer which will get the WPF/E project template loaded.

Not too hard, you think?  Well it's not that simple.

This installer requires some additional Visual Studio bits.  Specifically you need to download and install the following:

This is a bit of a bother as it will affect your Visual Studio installation outside of your WPF/E development.  But if you liked the VS2003 web projects and you miss them then go ahead.

The Easy Way

Project templates are really just specially constructed zip files and Visual Studio 2005 has a special folder where you can add your own.  This is configured on Tools / Options / Projects and Solutions, but it defaults to "[My Documents]\Visual Studio 2005\Templates\ProjectTemplates".  So if you go to this folder, open up the "Visual C#" folder (or whichever sub-folder you prefer) you can copy in the project template which I've attached to this post.  Then you'll get the WPF/E template showing up in your New Project window as follows without installing anything else:

 

EDIT [2006-12-06]: I've modified the attached template for:

EDIT [2006-12-08]: I modified the namespace back to http://schemas.microsoft.com/client/2007.  Once you've copied the wpfe.xsd file correctly, Visual Studio will then give you Intellisense.  See my next post for more info.

Published 05 December 2006 13:47 by john.rayner
Attachment(s): WPFEJSApplication.zip

Comments

 

Andrew Stopford's Weblog said:

John Rayner has a great post on WPF\E templates .

December 6, 2006 09:18
 

Glavs Blog said:

I saw a link on Andrew Stopford&#8217;s blog which pointed to yet another blog by John Rayner that showed

December 7, 2006 13:13
 

Ajax.NET Professional - AJAX and JSON made easy! said:

I found a post on Paul Glavichs blog about the WPF/E Visual Studio .NET 2005 template: I saw a link on

December 7, 2006 15:14
 

Israel A said:

December 7, 2006 21:51
 

Israel Aéce said:

Reading my blog list, I founded a great post where the author to show how to install Visual Studio .NET

December 7, 2006 21:59
 

Mike Harsh's Blog said:

Earlier in the week I posted about some issues with the WPF/E Visual Studio project template installer.

December 8, 2006 01:16
 

ASP.NET Chinese Blogs said:

1。 Mike Harsh 是微软WPF/E产品组的主管(Program Manager),针对论坛上的疑问,他在博客里澄清“WPF/E到底是什么东西(What is WPF/E really)?”,该文的大意是:

December 13, 2006 21:19
 

OffBeatMammal said:

With everyone in the office getting all excited about WPF/E I thought I'd give it a try. I got Visual

January 7, 2007 03:46
 

Mark Johnston's Developer Experiences said:

I haven't had much original content on here in a while so I thought that should change by putting up

March 19, 2007 13:30
 

diazepam prescription said:

urouc uelubalc

August 16, 2007 22:36
 

viagra said:

aadz eafewg

August 17, 2007 10:23
 

Jean-Claude's Technik Blog said:

Endlich ist WPF/E als Community Technologie Priview verfügbar. Damit man eine WPF/E Anwendung im Browser

September 10, 2007 12:27
Anonymous comments are disabled
Powered by Community Server (Personal Edition), by Telligent Systems