MVC3WPF Launch on Thursday - use the MVC pattern with WPF successfully!

by Admin 7/21/2009 8:11:00 PM

As posted earlier by Brian Prince and Stephen Giffin, the MVC4WPF project will be launched to CodePlex on Thursday.  We will be having a spash at the Columbus Microsoft office in the morning - if you would like to attend, please RSVP here.  I'm actually quite proud to be involved in this effort,, even if jsut as a tester and tech writer.  The thought that went into this product is very impressive.  If you are doing large WPF projects you certainly owe it to yourself to check it out.

A little about MVC (from the Developer Guide): Model-View-Controller is a pattern for software development.  It doesn't provide development tools of its own, but is rather an agreed-upon way to go about developing software.  It builds upon the concept that divides the basic functions of a contemporary application into component parts:

  • The model, which represents the underlying data;
  • the view, which represents what the user sees; and,
  • the controller, which manages the business logic and communication between the view and the model.

The three parts of the software communicate with the use of agreed upon contracts that define communication between the parts, and property bags that hold configuration values and data objects. 

MVC works well with WPF because Microsoft has done some of the heavy listing for us in the division-of-duties arena.  Like ASP.NET, the View code is physically segregated into a code file all its own with hte XAML file (ASP.NET of course uses the ASPX file).  This basic architectural decision makes things appropriate for MVC.

MVC4WPF has a ton of automation to make development much simpler than many other MVC environments.  It is appropriate for junior developers, and is very forgiving to work with.  It is rather open ended, and will cut you if you don't read the recommended usage.  The project will come with a boatload of documentation (some of which I wrote) that will help a lot.

Keep an eye on the codeplex site, and come on up Thursday if you get the chance to see what I am talking about.  Should be a good time.

Bookmark and Share DotnetKicks dotnetshoutout

My Visual Studio 2010 presentation for ICC

by Admin 5/6/2009 1:03:00 AM

Just finished up a presentation on Visual Studio 2010 for ICC's MS Dev special interest group.  A good time was had by all.  I used the card deck that is in the Training Kit, and added a few salient slides.  We had a lot of conversation about Linq, WPF and the lifecycle integration.

My slide deck can be downloaded here, and I also wanted to post a few links that I mentioned in the talk.


I hope to get some comments back - feel free to email me, especially if they are bad.  (heh)  Thanks to all for attending!

Bookmark and Share DotnetKicks dotnetshoutout

C# is the new VB

by Admin 11/9/2006 2:01:00 AM

I am officially tired of the C# versus VB sniping, folks.

 

C# is just Microsoft's way of making code bigots program in VB.

 

Let's face the facts.  VB has traditionally brought three things to the table that couldn't easily be accomplished in ASM or C++ or Java or whatever:

 

  1. A ubiquitous runtime library
  2. Semi-structured typing
  3. Memory Management

 

Guess what C# has.  You guessed it.

 

  1. The .NET Framework
  2. The Object
  3. The GC

 

Just.  Like.  VB.

 

I don't want to hear any more crap.  Neither language is better, just as Blue isn't better than Green.  They are both languages, they do the same thing, they compile to IL, there is no effective difference.

 

Want to impress me?  Use both.  Or write in C++.  C# programmers don't impress me.  I used it for three years and switched to VB because I like it better.  Not because it is better, because I like it better.

 

There, I feel a lot better.  Don't you??

Bookmark and Share DotnetKicks dotnetshoutout

Tags:

Biz | VB | C#

Project Reference in VS 2005 causes: Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0'

by Admin 9/1/2005 1:07:00 AM

Interesting little bug that I ran into today.  If you reference a Windows Forms project from another Windows Forms project using the Project Reference dialog, you will get this weird error:

Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0'

There is actually a KB on it, but it doesn't show up in Google, or of course in MSDN search:

http://support.microsoft.com/?kbid=907757

Learn something new every day.  Service Pack 1, anyone?

Bookmark and Share DotnetKicks dotnetshoutout

Tags:

Biz | VB | C#

About the author

Bill Sempf Bill Sempf
Author of C# All In One for Dummies (among other things)

E-mail me Send mail

Pages

Paying Bills

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010

Sign in