Xperimentality

Experiences and Experiments in Programming

 Wednesday, April 25, 2007

I had kinda made a promise to myself that I was going to make sure I did not turn my blog into just a place to link to other information.  In the beginning, I began to get sucked into that black hole, but occasionally there are just some things that can't be said better!

To that end, my good friend and co-worker, Jeff Barnes, just sent me a link to a write up about 2 very different WPF books.  I thought it brought to light a good point.  Here is the blog entry on Coding Horror that I am speaking of.

I recently had gotten evaluation copies of these two books to determine if one or the other might make a good reference book to be used in a WPF training class I am teaching.  Needless to say, Nathan's book was the clear winner.  Not that there was no good information in Petzold's book.  Quite the contrary.   But when choosing a book that people are going to be able to use on a daily basis, the layout and format of Nathan's book is exceptional.

Bottom line is this: with the number of technical books on the market today, choosing a book is more than just choosing an author or a title.  It often takes flipping through a book to see if the content is going to make you go to sleep or excite you!  Thanks to both Jeffs!

Wednesday, April 25, 2007 12:29:38 PM (Central Standard Time, UTC-06:00)
 Tuesday, April 24, 2007

When speaking to people just getting started writing WPF applications, I get asked a lot why intellisense does not work all the time.  So here is the low down for anyone having this problem:

At first, this seemed to happen randomly.  However I have determined why it seemed to be random and what was causing the loss of intellisense.  By default, when you create a new WPF project in Visual Studio 2005, you are given a WPF Window file called Window1.xaml.  This file looks something like this

<Window x:Class="WindowsApplication18.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/
presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="WindowsApplication18" Height="300" Width="300" > <Grid> </Grid> </Window>


Note the Grid block colored red!  Sometimes I will delete this grid block before adding the panel type I want to use.  Other times, I will add the panel I want to use and then delete the grid block.

It appears that if you delete the grid block first before making any other modifications to the file or before adding another panel block, the presentation schema is removed from the Schemas list in the project properties.

The Schemas list is located in the project properties.  Click on the project in the Solution Explorer then look in the Properties tab.  You will see an item labled Schemas.  If you click on the ellipses in the Schemas selection box, you will see a window like this:

Make sure that you have selected both Xaml2006.xsd and XamlPresentation2006.xsd.

So bottom line is if you have lost intellisense in your WPF project, check the list of schemas associated with your project.  More than likely, the XamlPresentation2006.xsd has been removed!

Tuesday, April 24, 2007 9:55:44 PM (Central Standard Time, UTC-06:00)
 Tuesday, April 17, 2007

For anyone who knows me, you know that I am considered the freak at my company because I have a strong level of experience with backend code, but I also love the graphic design side of the house.  Most folks do one or the other, but I love the creativity of UI.  So it was natural for a lot of the work I do to focus around web applications.  When WPF came out, I loved it.  It allowed for some really great UI experiences with a smaller amount of code.  So I made the decision to have WPF be the focus of my "new technology" effort.  I looked briefly at WPF/e, but had to focus!

Well since Microsoft formally announced Silverlight, the official name of WPF/e, I took another look at it.  I am hooked again!  This is really great!  I can use what I have been learning about WPF and put it on the web.  I can't help but just dive in!  So I imagine you will be hearing more about it soon.  I plan on adding a lot more entries here about my experiences with learning (and getting caught up) on Silverlight.  Hopefully my experiences will help others getting started!

Tuesday, April 17, 2007 12:17:12 PM (Central Standard Time, UTC-06:00)
 Saturday, April 14, 2007

Well I am sitting here in the speaker's room with a bunch of great guys:
Bruce Thomas, Jeff Barnes, Wally McClure, Jeremy Chance, Joe Healy, Brian Hitney, and Keith Elder.  I think these guys have been at all 4 code camps in Alabama.  I thought I would post an update.  So far things are going really good for Code Camp 4. 

The speaker's dinner last night was at Felix's FishCamp.  I had not ever eaten at a Felix's...great food!  Anyway, this code camp introduced a really nice speaker shirt.  I had worked with Doug Greene on putting together a version of the logo for the shirts but did not know what he had planned.  They turned out really nice.  He and Matthew have done a great job on the code camp!

Today it looks like we may have some bad weather coming in.  Hopefully it won't be too bad.  Looks like we have a good turnout today so it should be some good fun.  I am happy to say that for the first time at any code camp, I had my presentation and code done the night before!

One of the things that always happens when you get a group like this together is you wind up with at least a couple good new catch phrases.  For now, I will leave you with my favorite so far: "You can't fix stupid".  How true!

Saturday, April 14, 2007 8:49:43 AM (Central Standard Time, UTC-06:00)
 Wednesday, April 11, 2007

This is really late coming!  The next Alabama Code Camp is schedule for this Saturday in Mobile Alabama.  This one is being hosted by the Lower Alabama .NET User Group.  They are the newest addition to the Alabama User Groups and have been doing really well.  We are all real excited to see their success.  There is a great line-up and some terrific speakers.  Check it out if you have not yet.  And if you can make it, go and register!

I will be giving a presentation at the code camp on WPF.  At this point, I am pretty sure I am changing my original idea to a presentation on some of the new key concepts in .NET 3.0 for WPF.

Wednesday, April 11, 2007 11:21:42 AM (Central Standard Time, UTC-06:00)

Well it has been another while since I posted.  Things have been crazy both at work and at home.  But I still have a lot of topics I have been wanting to post about so hopefully soon, I will begin to get them out of my notebook and into some posts.

Wednesday, April 11, 2007 11:13:27 AM (Central Standard Time, UTC-06:00)
Who Am I - Todd Miranda
Me
MVP Visual Developer - ASP/ASP.NET
Search
Links
On this page....
Calendar
<May 2019>
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678
Archives
Aggregate Me!
RSS 2.0 | Atom 1.0 | CDF
Categories
Blogroll
Contact me
Send mail to the author(s) E-mail
Administration