Introducing Smart Unit Tests

A few weeks ago I was able to spend some time with the PEX & Moles team at Microsoft. I worked with them to help make unit tests easier to generate and work great with Code Contracts. Here is an announcement on what is coming out in Visual Studio 2015:

http://blogs.msdn.com/b/visualstudioalm/archive/2014/11/19/introducing-smart-unit-tests.aspx

Using Generic Constraints & Default

Here is a great video from one of my buddies, Jeremy Clark, on generic constraints and default:

Here is an extension method I made from Jeremy’s second example:

public static T Max<T>(this T obj1, T obj2) where T : IComparable
{
    if obj1.CompareTo(obj2) >= 0 ? return obj1 : return obj2;
}

dotNetDave Rocks SoCal Code Camp (Los Angeles)

I hope to see you at this years SoCal Code Camp on November 15th & 16th! This is an awesome Code Camp drawing 600+ people. I hope you will attend my sessions listed below.

Please click here to donate to the tour to keep the buses rolling (gas prices are going up)!

Tour Sessions

Röck Yoür Technical Interview™

Have you ever not gotten a job because you weren’t prepared for the interview? Would you like a big raise? Do you need motivation to rock your career? I’ve interviewed 100’s of software developers and will share my knowledge on how to survive, what we look for and even divulge some of the secrets we use during the process. This session (62.5% new material for 2014) will include crazy and strange interview stories from engineers just like you! This session includes tips to get you started, working with recruiters, getting prepared, the technical interview and more. You will also learn what is the #1 question you need to ask during an interview… it’s a game changer! Sit close and you just might catch a custom dotNetDave guitar pick. Some of some of them will win you free software!

New: Rocking Your Technical Interview with David McCarter interview on dotNetRocks!

Here’s What People Are Saying About This Session

  • Chris S. – I wanted to thank you for your DVD on Technical Interviews. I attended your presentation at Desert Code Camp in 2012 and purchased the DVD. Your guidance on how to handle technical and even non-technical questions gave me great support and confidence going into a round of interviews I had. That confidence translated into performance, as I was able to receive attractive offers from multiple companies, and I was able to make an important move that has been a life-altering, exciting change for me.
  • Bill W. – Good information! I had forgotten to study the technical questions, did that this morning and I felt I aced my technical interview just now  Thanks Dave!
    • GO now!!! Dave is why I have the best job I have ever had!!!
  • Daniel I. – Great presentation because you made me realize that I’m not doing enough to better my career! You struck a chord when you said we should keep our resume up-to-date and on-hand at all times. Thanks for helping me realize something I should have been doing a long time ago. Your DVD is very helpful. The fact that you have hiring managers and recruiters giving interviewing tips is great. I’m glad I bought it!
  • Ken – Thanks for the great presentations – really enjoyed all your presentations at the code camp, learned a lot about interviewing and gained a lot of insight into how recruiting process works.
  • Stacy P. – An invaluable presentation for less experienced developers and a great review for senior developers that should know better.

Please take the How Do You Find A Job survey before attending this session (you could win a free copy of my Rock Your Technical Interview DVD).

You can purchase a DVD for this session (sponsored by AbleForce) for only $15 (credit cards accepted) or purchase online by clicking here.

Röck Yoür .NET Cöding Standards™

The Code Isn't RightWith lots of new material for 2014 (126.190%), this session will guide any level of programmer to greater productivity by providing the information needed to write consistent, maintainable code. Learn about common coding mistakes, defensive programming, writing better types and much, much more. Code tips are included to help you write better, error free applications. You will also find out what ‘Progniant’ is. This session is based on my latest book, David McCarter’s .NET Coding Standards. Sit close and you just might catch a custom dotNetDave guitar pick. Some of some of them will win you free software!

We will be playing a game during the session where you can win fabulous prizes!

Please take my Coding Standards Survey before attending this session (you could win a free copy of my Rock Your Code DVD).

You can purchase a DVD for this session (sponsored by ComponentOne) for only $15 (credit cards accepted) or purchase online by clicking here.

Check out the Coding Standards For The Real World webcast I did for SubMain.com.

Röck Yoür Cöde With Visual Studio Add-ins™

This session will focus on my must have Visual Studio add-ins and other tools that makes programming faster and easier (and makes you look like a rock star programmer). All the tools that are either free or very affordable. Tool categories include add-ins for debugging and profiling and more. These tools are designed to impress your boss and get you home at a reasonable time. This session is packed full of demonstrations! Sit close and you just might catch a custom dotNetDave guitar pick. Some of some of them will win you free software!

A few of the demos from this session are already online: – https://google.com/+SubMainSoftware

You can purchase a DVD for this session (sponsored by ComponentOne) for only $15 (credit cards accepted) or purchase online by clicking here.

Shop the "Rock The Nation Tour" store by clicking here. 
Anyone seen wearing a t-shirt from the store will win 
some geeky swag!

More Info

All slides and videos can be found here: http://www.slideshare.net/dotNetDave and on YouTube.

Anyone seen with any item from my Code Camp store, will win some cool swag!

256 Seconds with dotNetDave (E3) – Before You Leave for the Technical Interview

In this episode dotNetDave talks about the four things you need before you walk out the door for a technical interview. Check out more about this subject at the “Rock Your Technical Interview” conference at an event near you. Click here for dates.

Links mentioned in episode:

Rock Your Technical Interview DVD

Business Cards

Episode Sponsor

ComponentOne delivers Data Visualization, UI, Spreadsheet, and Reporting controls for every .NET platform and HTML5/JavaScript. Samples with source code and free trials available at www.componentone.com