Another free unit testing add-in for Visual Studio 2005

There are plenty of ways to run your NUnit tests while developing and during the build.  JetBrains has released a unit test running add-in for Visual Studio, and they are giving it away for free.  It’s called UnitRun.  The screenshot to the right shows how you can execute a test from the margin.  I like to map CTRL+T as my shortcut to run a test.

 

You can also run all of the tests in your solution with a larger window.  (above)  This isn’t a new release.  It’s been out for some time, but I’d never mentioned it.  I use unit run.  It’s actually a feature of the larger Resharper package.

Other notable unit test runners are:

Resharper 2.5/3.0 hack to speed up CTRL+N type discovery

When R# 2.5 came out, I noticed that I had to stop typing briefly after pressing CTRL+N before the filtered list of types was displayed.  I was a bit annoyed because version 2.0 showed the list instantly.  From a few emails, I learned that this was an intentional feature and that the delay was not made configurable but might be in the future.

I’ve just downloaded v3.0 RC, and the delay is still there.  I raised the issue on the forum, and I found a nice workaround:

  • Go to the roaming users application data folder (C:Users{my user}AppDataRoamingJetBrainsReSharperv3.0vs8.0) on Vista
  • Open UserSettings.xml
  • Find the node: (xpath) /Configuration/SettingsComponent/integer/setting[14]
    • You’ll notice the delay is “300”.  Change it to <setting name=”UserInputDeferTime”>1</setting>
    • This will drop the delay from nearly 1/3 of a second to 1 millisecond.
  • Save the file.

Don’t put “0” because it will be ignored.  The end result is that you have to delay a tiny/tiny bit, and this feature is much more usable.

For those who don’t know what CTRL+N is, here is what it looks like (old screen shot)

Tech Ed 2007 in review

On June 2nd, 2007, I traveled to Orlando, Florida for Tech Ed 2007.  This is my 2nd Tech Ed in Orlando, and Tech Ed 2008 will also be in Orlando!  A rental car is a must, I believe, and this city has good roads and plenty of parking.  Before Tech Ed began, I created a Flickr group so that we could all share pictures.  Anyone can view and upload:  http://www.flickr.com/groups/teched2007

On June 3rd, I attended the MVP welcome, where Connie ran a great program.  We had a nice lunch and spoke about general things in the MVP program.  She was nice enough to include my slide for Party with Palermo.  Later that night, Party with Palermo was a great hit with 437 people.  Even before it opened, folks were waiting outside eager to get in.   We had a great time.  Thanks to the great sponsors: 

Monday, I moderated a great Birds of a Feather session on the topic: “Agile Development in .Net”.  I had handouts of the Agile Manifesto and the principles behind the Agile Manifesto.  After going over those, we found out that many of the attendees were interested in how to get started toward some of the Agile principles.  Others in the room who have had success with the Agile principles shared their successes and challenges along the way.  The room was packed with 120 people.  Folks were lining the walls since there were not enough chairs.  I believe we violated fire code for that room.  The conversation got sidetracked for a bit when folks started talking about just practices that were appropriate for their projects, and Dr. Neil reined in the conversation by steering us back to the Agile principles.  Thanks for the help!

After the Agile BoF, I went to my shift at the Architecture TLC booth where I spent most of my week.  I invited the folks from the Agile BoF to come by, and for the entire afternoon, the conversation was only about Agile at the ARC booth.  Peter Provost and James Kovacs were working the shift with me, and they didn’t mind at all.  There was a pretty big crowd at the ARC TLC that first day, and here is a picture of everyone.

Tuesday was more work at the ARC TLC.  It was really great.  I met a lot of great folks and has interesting conversations.  Tuesday night, I had the opportunity to go fake skydiving with other community leaders from the Central Region gang.  Kudos to all the Central region DEs and AEs for putting this together.  Here is me floating on a vertical tunnel of air.  It was fun.  Later on that night, I went to the Jam Sessions at the Groove on Universal City Walk.  Instruments were provided, and I played rhythm guitar while the real musicians JAMMED OUT!  

Wednesday has a lot of excitement.  I worked the ARC TLC in the morning, and at lunch time, I recorded an Arcast episode with Ron Jacobs.  The topic was “The Agile Architect”.  The premise was the architect on a project team normally provides the technical leadership, so it’s important for the architect to be able to coach process and principles as well as solution design.  Later on Wednesday, I participated in the “Speaker Idol” competition hosted by .Net Rocks.  Steve Smith, my fellow Iraq veteran, was the winner of the whole competition.  He was in my initial heat, and I really would have voted for him over me.  His talk was a perfectly framed 5 minute presentation.  The judges (right) gave feedback on the 5 minute presentation.  They were right about my pacing back and forth.  I need to quite that.  I’ve done that at local conferences as well, but the narrow stage at this competition made it much more obvious than when I’m walking across the front of a very large room.  Later on Wednesday, we had a great time at Margaritaville’s.  MVPs, user group leader, etc had a great time with live music, drinks, and food.  This picture is the line that formed waiting for the doors to open.  Shortly after I went inside, the skies opened up and drenched everyone else.  Half the people at the party were soaking wet from head to to.   Ted Neward was one of the unfortunate.  Some wives of the attendees were there and were having a great time.  Murray’s girlfriend and Jeff Louke’s wife met at Tech Ed and hung out by the pool all week.  I tried to convince my wife to come along, but she was just too pregnant!!!   These girls had a blast at the party. 

Thursday:  More work at the ARC TLC.  The TLC theater was packed Thursday morning because David Platt was giving a chalk talk on “Why Software Sucks”.  He sold out of his books during the conference.  He’s a very animated speaker and a very interesting person to talk with.  I got to know David pretty well at Tech Ed.  Later on that day, The ARC TLC conducted the Iron Architect competition.  Each architect proposed an architecture that would solve the given problem statement.  They had roughly 5 minutes to present to the judges.  As in the real world the judges had different priorities and represented real business stakeholder.  Ron Jacobs was the host of the competition, and the panel of judges was made up by Simon Guest, David Platt, and Jeffrey Palermo (me).  Lisa Slouffman did a great job organizing the whole event.  In the end, Matthew won the competition, but it was a split vote.  Congrats to all those who competed.  Well done.  After the competition, Ron, Simon, David, and I went to a Thai restaurant and had a good meal and great conversation.  Simon retired and the three of us went to the attendee party at Universal Studios Islands of Adventure and experienced some pretty interesting rides. 

Friday was a wind-down day.  Again, worked the ARC TLC.  Tech Ed was a great success for me.  I was able to build relationships with so many people, and I confirmed that Party with Palermo is here to stay.  It started in 2005, and now has reached 437 people in 2007.  I think it can get a tad bigger still.  Another great part of the week was running into some former colleagues, Gary and Abraham:

Entity Framework to get full persistence ignorance (PI)

At the MVP Summit, Daniel Simmons met with me and many other MVPs including other CodeBetter folks.  One of my issues with the Entity Framework was that my domain classes would have to have so many artifacts tied to the EF.  Attributes, interfaces, event calls, etc.  With NHibernate, my domain classes don’t even have a reference to the NHibernate library. 

Daniel has recently posted something that everyone should read.  Here is an excerpt:


“Initially I thought that some of the requests for *complete* persistence ignorance were the products just of dogma rather than fully informed and reasoned arguments, but when so many people give such passionate feedback it was clear that I needed to investigate more before I could claim to have any sort of an informed opinion.  The product of my research is that I am now truly convinced of the importance of complete persistence ignorance for some scenarios.”

Bravo.  http://blogs.msdn.com/dsimmons/archive/2007/06/02/persistence-ignorance-ok-i-think-i-get-it-now.aspx

Party with Palermo report for Tech Ed 2007

Party with Palermo was a smash hit.  The official count was 437!!!  It was a who’s who of INETA, MVPs, RDs, Microsoft, speakers, etc.  Many of teh books given away were written by folks at the party.  Go to the Tech Ed 2007 Flickr group to see the pictures of the party:  http://www.flickr.com/groups/teched2007/pool/. 

See who else is blogging about Party with Palermo:

http://msgoodies.blogspot.com/2007/06/first-day-at-teched.html

http://www.woodwardweb.com/personal/000362.html

http://www.camthegeek.com/blog/NewsFromTechmiddotEd.aspx

http://blogs.msdn.com/noahc/archive/2007/06/02/teched-2007-party-with-palermo.aspx

http://keithelder.net/blog/archive/2007/06/04/TechEd-Day-1.aspx

http://blogs.msdn.com/gduthie/archive/2007/06/02/party-with-palermo-tech-ed-2007-edition-i-ll-be-there.aspx

http://msn.webexpresspro.com/msn-news/teched-2007-party-with-palermo

http://blogs.msdn.com/dseven/archive/2007/05/30/teched-2007-party-with-palermo-i-ll-be-there.aspx

http://jasonf-blog.blogspot.com/2007/06/tech-ed-orlando-day-0.html

http://blogs.msdn.com/darrenj/archive/2007/06/03/teched-2007-sessions-and-book-signing.aspx

http://blogs.msdn.com/gduthie/archive/2007/06/03/i-survived-party-with-palermo.aspx

http://golios.blogspot.com/2007/06/party-with-palermo.html

http://www.timrayburn.net/2007/06/04/WCF+Amp+WF+Training+At+TechEd.aspx

http://blogs.msdn.com/robcaron/archive/2007/05/30/2991181.aspx

http://www.timrayburn.net/2007/06/01/Unofficial+TechEd+Itinerary.aspx

http://addressof.com/blog/archive/2007/06/01/Tech_2D00_Ed-2007_3A00_-My-_2200_Itinerary_2200_.aspx

http://keithelder.net/blog/archive/2007/05/29/Your-Final-Todos-Before-Tech-Ed-2007.aspx

http://franksworld.com/blog/archive/2007/05/30/4664.aspx

http://techedbloggers.net/TechEd2007/Extras/Networking_and_Parties/17119.item

http://blogs.infragistics.com/blogs/ambrose_little/archive/2007/05/30/reminder-party-with-palermo.aspx

http://golios.blogspot.com/2007/05/getting-ready-for-tech-ed-2007.html

http://andrewconnell.com/blog/archive/2007/05/27/6054.aspx

http://geekswithblogs.net/sdorman/archive/2007/05/24/Party-with-Palermo-TechmiddotEd-2007-edition.aspx

http://www.keithrull.com/2007/05/25/Party+With+Palermo+TechEd+2007+Edition+Event+Unofficial+Badge.aspx

http://www.hanselman.com/blog/TheTechEdPartyToAttendPartyWithPalermo.aspx

http://wroxblog.typepad.com/minatel/2007/05/party_with_pale.html

http://blog.lozanotek.com/archive/2007/05/23/Party_With_Palermo_TechEd_07_Edition.aspx

http://arnonel.com/blogs/arnonel/archive/2007/05/24/party-with-palermo-tech-ed-2007-edition.aspx

Tech Ed 2007: Where I’ll be.

I’ll be arriving in Orlando in the afternoon.  Sadly, I’ll have to miss the INETA leadership summit since my flight doesn’t arrive in time.  I’ll be doing some last-minute preparation for Party with Palermo.

Sunday, I’ll be registering with Tech Ed staff since I’m working at the architecture TLC.  Sunday night is the long-awaited Party with Palermo.

 Everyone is invited to the party at the Glow Lounge.  8967 International Dr. Orlando, FL 32819 (407) 351-0361

The party starts at 7PM, and the location is just 1 mile north of the convention center on International Dr.  The entire place is reserved for the party.  Bring your business cards.  We have a great sponsors, and plenty of giveaways.

Monday, I’ll be moderating a Birds-of-a-Feather session:  BOF02: Agile Development with .NET @ 12:00pm – in Room S331 A.  Then I’ll be at the architecture TLC in the afternoon.

Tuesday and Wednesdays nights, I’ll be at the Jam Sessions acting like I know what I’m doing.  Tuesday through Friday (in the mornings), I’ll be at the architecture TLCs.

Wednesday, I’ll be moderating another Birds-of-a-Feather session:  BOF19: Techniques for Writing Less Code (Frameworks, Libraries, and Tools)  @ 5:30pm in Room S331 A.

Also, hang around in the community lounge area between sessions for a special surprise!

Party with Palermo: Tech Ed 2007 edition (June 3rd @ 7PM) – official announcement updated

Party
with Palermo: Tech Ed 2007 edition (300 attendees estimated)

website:  http://partywith.palermo.cc

June 3rd, 2007 @ 7PM –
11PM


ADD THIS BADGE TO YOUR WEBSITE/BLOG IF YOU WILL BE THERE –
LINK IT BACK TO http://partywith.palermo.cc

Glo Lounge:  http://www.gloloungeorlando.com/

8967 International Dr,
Orlando, FL

(407) 351-0361
COME EARLY AT 6PM IF YOU’D LIKE TO HELP SET UP!!
 

Cover charge is 1
business card.  This will get you in the door and register you
for the grand prize drawings.

  • Free to attend
  • Free food
  • Free drink
  • Free swag

Sponsors:

KEEP TABS ON
HTTP://PARTYWITH.PALERMO.CC BECAUSE THIS IS WHERE THE INFORMATION WILL
BE POSTED.

Please
post a comment if you are planning on attending.  Also, if you
have a blog, write a post about the party and link back.

Who will be there?

Lorenzo
Barbieri

Don Demsak

Carl Franklin

Scott Lock

Rob Zelt

Keith Elder

James Kovacs

Kay Sellenrode

Dustin
Campbell

Bob Klass

Chris Knuckles

Dawn Maxey

Dave Mott

mark schoenbaum

Mickey
Gousset

Kevin Remde

Rob Windsor

Andy Winters

Jay Johnson

Mark Wiseley

Philip Colmer 

Jason Follas

Eric
Hexter

Arnold
Sese (kensington)

Joe Healy

Shawn
Weisfeld [C# MVP]

Sheryl Farmer

Scott Spradlin (INETA)

Drew Robbins

Cory Smith

Juan Jose de Leon

Bill
Reiss – DirectX MVP

Mike Wells

Guino – MVP C#

Guino Henostroza – MVP C#

Terje Flaarønning

Kjetil Nordahl

Dave Noderer

Chris Coneybeer

J. Ambrose Little

Regina

K. Rader

Hakan Karlsson

Joel Pratt

Jim Ferguson

Dan Villanti

Martin Woodward

Tim Meehle

Jeremy Wood

Connie Rennie

Rob Foster [MOSS MVP]

Sasha Krsmanovic

Pete Calvert (MCT)

Murray Gordon

John Paul Cook

Neil Bedekar

Mike Azocar

Bob Krainak

Matt Shultz

Brandon Kelly

David Patrick

Tom Barnum

Javier Lozano

Cam Soper

Tobias Barlind

Petter Källqvist

Jon Grant

Rob Rohr

John Miller

Arno Nel

Bob Beauchemin

Doug White

Edgardo Vega

Bryan Hoylman

David Makuta

DigitalMan

Scott Dorman

Robbie Clutton

Josh Watkins

Nigel Pepper

DE

DavidJ

Richard T

Milan Magudia

Bill Wolff

Todd Pukanecz

Dan Brinkmann

ranji abraham

Aaron Sudduth

Janssen Jones

Paul Dumigan

John Osborn

Dave Davis

Jeff Shaver

Tim Stevens

Bjarni Ivarsson

Dan Duda

Keith Rull

Julio Campos

Robert Stuczynski (Noise)

Andrew Connell (MOSS MVP)

Travis Fuller

Thomas Jespersen (Denmark)

Brad! Jones

Chuck Lysakowski

Marsee Henon

John W

Scott Hahn

Stuart Celarier

James Newkirk

Rob Caron

Bill Vaughn

Roberto Henriquez

Chris Rogers

Chuck Daubenspeck

Doug Seven

Andy Gray

Miguel Castro

Brett Richard

Josh Holmes

Jerry Sheehan

Andrea Mancini

Kim Dowding

Jason Rowe

Richard Bertini

Jason Heeter

Tip: Track who’s talking about Party with Palermo with Google alerts – level 200

RSVPs for Party with Palermo (on June 3rd, 2007) are in full swing, and this is going to be a GREAT party!  Check out http://partywith.palermo.cc for all the details and my awesome sponsors.

Several weeks ago, I decided that I’d like to know who’s talking about Party with Palermo on the web.  That’s where Google Alerts comes in.  I set up an alert for “party with palermo”, and when Google’s web spiders find something new that matches the search, I get a nicely formatted email message letting me know.  I like it a lot.  Here’s an email I received this morning:

——————————————————————————————–

Google Blogs Alert for: “party with palermo”

The TechEd Party to Attend – Party with Palermo
By Scott Hanselman
If you are headed to TechEd 2007 in Orlando, make sure you make the time to go to Party with Palermo. Jeff throws an unmatched geek party and you don’t want to miss it. It’s free, and I can attest, it’s great. …
Scott Hanselman’s Computer Zen – http://www.hanselman.com/blog/

Party with Palermo
By Jim Minatel
Yep, I’ll be there. Wrox is sponsoring. That makes it work. 😉
Jim Minatel: ASP.NET, XML, CSS,… – http://wroxblog.typepad.com/minatel/


 This as-it-happens Google Alert is brought to you by Google.

Remove this alert.
Create another alert.
Manage your alerts.

———————————————————————————————

NHibernate 1.2 released! upgrade experience report – level 300

First, kudos to the NHibernate team for getting the 1.2 release finalized.  Get it here.

The first thing you’ll notice when upgrading from 1.0.3 is that class mappings are now lazy by default.  If you want to just upgrade your app, you’ll need to go through  your mappings and mark each class mapping as lazy=”false”.  Then, everything should work. 

Another semantic change that I noticed in my codebase is that before a new NHibernate ISession is used, the Transaction property was null in v1.0.3.  With v1.2, this object is not null (but isn’t active, either).  I found this because I had a check for null in my NHibernate management code.  No biggie, but something I noticed.

v1.2 brings a Dialect for SQL 2005, so that’s cool.  I had been using the SQL 2000 Dialect for 2005, and it worked just fine because SQL 2005 is pretty much backward compatible.

Another biggie is the addition of some ICriterion implementations for subqueries.  We’re all used to using Expression.Eq() for forming the WHERE clause, but now we also have Subqueries.* for creating a WHERE clause with a subquery.  This is useful for checking to make sure a bag or list has at least one object while using an instance of ICriteria.

The upgrade was pretty painless, and I love it.