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)
 Thursday, January 04, 2007

Registration is now open for Mix07.  If you weren't able to make it to Mix06, you don't want to miss it this year.  I attended Mix06 and walked away with some good information and a lot of things to look forward to.  Since then, I have been working heavily with WPF and exploring where it fits in to some of my current projects and near future projects.

Thursday, January 04, 2007 3:38:06 PM (Central Standard Time, UTC-06:00)
 Wednesday, January 03, 2007

I mentioned after Christmas that I had a lot of good stuff to move out into posts and a personal announcement to make.  Well I guess I can make the announcement now: My wife is expecting our 2nd child!  Over the last year or so, she has had a couple of miscarriages.  It has been hard on everyone.  So when we found out she was pregnant, we decided to just keep it under wraps until after the first trimester.  Well, we have made it this far and everything seems to be going ok.  Hopefully everything will continue as planned and middle of June will bring a healthy new family member.  Our daughter, who is 4, is already making big plans for baby brother or sister.  So if you read this post, keep your fingers crossed for us!

Wednesday, January 03, 2007 12:40:14 PM (Central Standard Time, UTC-06:00)

Well everyone has them, and some stick to them.  Hopefully I will be successful in sticking with my resolutions this year.  One of them is to more regularly post relevant blog entries on WPF and DotNetNuke (and maybe both together).  It is really funny.  I spend a tremendous amount of time working with these two technologies.  Whenever I think about blogging about something I find, I tend to decide to play a little more so that I have more info to post.  By the time I am ready to post, I have to go do something else.  It seems it is an endless cycle of "hey, I need to put this into a post...I'll do that right after I finish this".  Needless to say there is always a "finish this" and rarely a post!  I am going to dedicate some time each week to posting here and in forums.  It seems that is the only way to make it happen consistently.  There is always something at work requiring my time.  So I have relegated myself to the fact that if I put things off till I have time, they will never get done!  I have a lot of plans for this year both professionally and personally.

One of my personal goals is to spend less time at home in front of the computer and more time with my wife and daughter.  A very close friend of mine's wife was recently diagnosed with cancer.  She is just my age and, believe me, it makes you stop and think about what is important!  Technology, software, the web....they are not just my job but my hobby and sincere love.  So I am always working on the laptop.  I don't want to neglect my other loves!

Wednesday, January 03, 2007 12:34:38 PM (Central Standard Time, UTC-06:00)

I have been asked to present on WPF at the .NET University being hosted in Huntsville, Alabama by the Huntsville New Technology User Group (HUNTUG).  They will be having a .NET University there on January 8th and February 13th.  I enjoy going up to Huntsville and HUNTUG has a wonderful meeting facility.  It is always a pleasure to present there!

Wednesday, January 03, 2007 12:22:13 PM (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 2007>
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
Archives
Aggregate Me!
RSS 2.0 | Atom 1.0 | CDF
Categories
Blogroll
Contact me
Send mail to the author(s) E-mail
Administration