This video will introduce developers to the new powerful new feature that is part of the .NET framework called Code Contracts. Code Contracts brings the advantages of design-by-contract programming to .NET programming. Contracts are used to improve testing via runtime checking, enable static contract verification, and documentation generation.
Category: Defensive Programming
Converting Value Types
Converting a type like a string to an value type like integer, can easily cause an exception, which is a huge performance killer. Hopefully you have wrapped the conversion in a Try Catch block, if not your program could take a nose dive and your users will be upset. Consider the code below that converts … Continue reading Converting Value Types
Fullerton Code Camp 2011
I hope everyone in southern California is planning to attend this years SoCal Code Camp in Fullerton, Ca on 1/29 – 1/30. It’s always a great time and lots of free training! I will be presenting the following sessions and I hope you will attend. Building nTier Applications with Entity Framework Services Learn how to … Continue reading Fullerton Code Camp 2011
Los Angeles Code Camp 2010
I hope everyone in southern California is planning to attend this years SoCal Code Camp in Los Angeles on 10/23 – 10/24. It’s always a great time and lots of free training! I will be presenting the following sessions and I hope you will attend. Back-2-Basics: Exception & Event Instrumentation in .NET This session will … Continue reading Los Angeles Code Camp 2010
Checking a DataTable for Data
Whenever you retrieve a DataTable from a data source, there no guarantee that there is actual data in it. Before you start looking for rows, you should always validate that that is it's not null and also there are rows. Here is a easy way to do it using extensions. public static class DataTableExtensions … Continue reading Checking a DataTable for Data
San Diego Code Camp 2010
I hope everyone in southern California is planning to attend this years SoCal Code Camp in San Diego on 6/26 – 6/27. It’s always a great time and lots of free training! I will be presenting the following sessions and I hope you will attend. Also, check out my new .NET discussion site called DotNet … Continue reading San Diego Code Camp 2010
Los Angeles Code Camp 2009
I hope everyone in southern California is planning to attend this years Los Angeles Camp on 11/21 - 11/22. It's always agreat time and lots of free training! I will be presenting the following sessions and I hope you will attend. Also, check out my new .NET discussion site called DotNet Army! Building nTier Applications … Continue reading Los Angeles Code Camp 2009
ASP.NET SIG of the San Diego .NET User Group December Meeting
Please join me at the ASP.NET SIG of the San Diego .NET User Group December meeting to check out my session titled Why You Need .NET Coding Standards (2009). This session will guide any level of programmer to greater productivity by providing the information needed to write consistent, maintainable code. Learn about project setup, assembly … Continue reading ASP.NET SIG of the San Diego .NET User Group December Meeting
Phoenix and San Diego June Code Camps
I hope everyone in Arizona and southern California is planning to attend this years Desert Code Camp on 6/13 and SoCal Code Camp in San Diego on 6/27 - 6/28. It's always a great time and lots of free training! I will also be selling a limited number of my latest book "David McCarter's .NET … Continue reading Phoenix and San Diego June Code Camps
SoCal Code Camp – Fullerton
I hope everyone in southern California is planning to attend this years SoCal Code Camp at Cal State Fullerton on 1/24 - 1/25. It's always a great time and lots of free training! I will also be selling a limited number of my latest book "David McCarter's .NET Coding Standards" at my sessions for $11, … Continue reading SoCal Code Camp – Fullerton

You must be logged in to post a comment.