Thursday, October 15, 2009

T4MVC 2.4.04 update: MVC 2 support, new settings, cleanup, fixes

"microsoft" via reza in Google Reader

T4MVC 2.4.04 update: MVC 2 support, new settings, cleanup, fixes


T4MVC 2.4.04 update: MVC 2 support, new settings, cleanup, fixes

Posted: 15 Oct 2009 01:02 PM PDT

To get the latest build of T4MVC: Go to download page on CodePlex   Though I haven't blogged for a while about T4MVC, I've been making a few minor updates and only sent notification via Twitter.  Now, I have a few things that are worth discussing in a little more detail.  Note that you can see the complete list of changes from version to version in the readme.txt file that comes with it.  BTW, I used to have all this revision information directly in the .tt file, but it was getting a little long so I moved it to the readme. The changes described below were added between version 2.4.00 and 2.4.04.   MVC 2 Preview 2 support The most interesting things to many people is that I just made a fix to allow T4MVC to work on MVC...(read more)

Silverlight and ViewModel meet F#

Posted: 15 Oct 2009 10:05 AM PDT

Many MVVM implementations are available on the net, personally I love the approach used by Laurent Bugnion in the MVVM Light toolkit and Michael Sync in the Silverlight MVVM toolkit (Jeremiah Morril have posted a great article about this pattern, don't...( read more )...(read more)

tpccbench

Posted: 13 Oct 2009 09:57 PM PDT

A tool to generate the TPC-C benchmark. Used to test database performance. This is for SQL Server only. Written in C#

Design pricing: It’s never just about the price

Posted: 14 Oct 2009 02:22 PM PDT

Setting proper pricing for your UX design work is crucial. It goes hand in hand with setting your customer's expectations. Set the price too low and you will gain reputation of the same kind. Set it high – you will also set high expectations. If you can...( read more )...(read more)

Design pricing: It’s never just about the price

Posted: 14 Oct 2009 02:22 PM PDT

Setting proper pricing for your UX design work is crucial. It goes hand in hand with setting your customer's expectations. Set the price too low and you will gain reputation of the same kind. Set it high – you will also set high expectations. If you can...( read more )...(read more)

Visual C++ Code Model in Visual Studio 2010

Posted: 14 Oct 2009 02:03 PM PDT

Hello, I'm Vytautas Leonavičius, a developer on the Visual C++ IDE team. Today, I'd like to discuss how the new principles we're applying to code browsing in Visual Studio 2010 (see here and here) will affect VCCodeModel.  General information about VCCodeModel can be found here.

Improvements

Because of our new incremental update architecture, VCCodeModel implicitly gets certain benefits:

        Availability: Once initial population is done, VCCodeModel is pretty much always available. That is a positive result of design decisions to parse files independently. No change of a single file (even the omnipresent windows.h, if you like) will cause "rebuild of the world". That means, if issued, calls to VCCodeModel.Synchronize will return almost instantly.

        Reliability: We no longer use the old NCB database. Instead, we now use the same redistributable SQL CE components that we provide to our end-users.  Suggestions to "delete your .ncb file" (due to DB corruption) in order to restore functionality of Browsing/Intellisense are a thing of the past. 

        Independence from a macro state: Prior to Visual Studio 2010, a file snapshot was taken in a certain undefined macro state. Depending on macro state active in a translation unit at the moment file contents were analyzed, certain constructs would or would not make it into the NCB database.  That caused a lot of confusion.  In Visual Studio 2010 macro state is ignored and all source file declarations and definitions make it into database, and therefore into VCCodeModel.

 

// Both A and B will make it into database and VCCodeModel, no matter if X is
// defined or not.

#ifdef X

class A {};

#else

class B {};

No comments:

Post a Comment