2010 - January/February
Code - The Leading Independent .NET Resource
-
Transitioning from Employee to Self-Employed
An invaluable self-starter kit from Paul, who has gone through this himself. Paul breaks it down into categories and other useful information you should know.If you are considering making a jump from being an employee to being self-employed, the following article will help you make the transition.
-
My Top Three Favorite Things About SharePoint 2010
Aside from the obvious summary here, Sahil goes into details about why you should also be happy about these three SharePoint 2010 features. In his words, these features give a SharePoint architect so much more flexibility in implementing and delivering SharePoint projects that they will invariably prove to be extremely valuable.SharePoint 2007 has been a very successful product for many reasons. Perhaps it is the good applicability of .NET to SharePoint. Maybe it is the fact that SharePoint gives you so much beyond plain vanilla ASP.NET, that it gets both techies and business users excited.Having been available for about three years now, there has been time for developers to discover a few rough edges to the product as well.
-
Embracing Community
Chris launches a new series about the developer community and highlights some people, organizations, and events that you should know about.What is community?A quick look at the Wikipedia defines community as “a group of interacting organisms sharing an environment” and I think that pretty much nails it. In this new series, I’ll be talking about the developer community as a whole and highlighting some people, organizations and events I think you should check out.
-
Practical Uses of Lambdas
Deborah covers many of the different ways you can use lambda expressions to work with your lists and make your code easier to read and write.Lambdas provide shortcuts for sorting, filtering, finding and working with information in lists, making your code easier to read and write.
-
S.O.L.I.D. Software Development, One Step at a Time
Derick outlines how to achieve the benefits of low coupling, high cohesion, and strong encapsulation. He also shows how the five S.O.L.I.D. design principles can get you there.Most professional software developers understand the academic definitions of coupling, cohesion, and encapsulation.However, many developers do not understand how to achieve the benefits of low coupling, high cohesion and strong encapsulation, as outlined in this article. Fortunately, others have created stepping stones that lead to these goals, resulting in software that is easier to read, easier to understand and easier to change. In this article series, I will define three of the primary object-oriented principles and show how to reach them through the five S.O.L.I.D. design principles.
-
Generating Code Using Visual Studio 2008 and 2010
Visual Studio 2010 makes T4 easier to find and supplies a powerful new feature called preprocessed templates. Kathleen shows you how to use T4 in Studio 2005 and beyond.Microsoft included its T4 generation language in the box in Visual Studio 2008 and added important new features in Visual Studio 2010. Visual Studio 2010 makes generation easier to find and supplies a powerful new feature called preprocessed templates.Code generation lets you automatically create significant portions of your application. It has the potential to decrease bugs and increase your ability to alter code across your application as needs change. Microsoft’s generation language is T4 and it is included in the box starting with Visual Studio 2008. Visual Studio 2010 makes T4 easier to find and supplies a powerful new feature called preprocessed templates. I’ll show you how to use T4 in Studio 2005 and beyond.
-
Reinventing Error Handling
Ned introduces the most significant advance in error handling since exceptions and he shows you a new way to look at errors.This article introduces the most significant advance in error handling since exceptions.You get improved tools for today and a glimpse of radical possibilities for tomorrow. You get a framework which supports more expressive error handlers and gives them equal access to error context information. You get a roadmap for adding improved error handling capabilities, including class-level error handlers and the ability to fix errors at run time. Above all, you get a new way to look at errors.
-
Post Mortem Web Project
First Premier Bankcard (www.firstpremier.com) is the 10th largest issuer of Visa and MasterCard credit cards in the United States.First Premier employs multiple thousands of people spread across the state of South Dakota. A major percentage of the employees at First Premier work in call-center operations helping people apply for credit cards.
-
Introducing Advanced Code Contracts with the Entity Framework and Pex
Martin introduces Design by Contract and Code Contracts, and gives you a sneak preview of Pex—Microsoft’s new test-suite generator. Along the way, he will show you how to add contracts to ADO.NET entities and some interesting coding strategies, good practices, and pitfalls you may encounter while making a deal with your code.With Code Contracts, Microsoft delivers its own flavor of Design by Contract for the .NET Framework. But wait, what is this thing sometimes called Contract-First Development? How will it change the way you develop software and write your unit tests? And first and foremost, how do you use Code Contracts efficiently?In this article, I will introduce Design by Contract and Code Contracts, as well as give you a sneak preview of Pex-Microsoft’s new test-suite generator. Along the way, I will show you how to add contracts to ADO.NET entities and some interesting coding strategies, good practices, and pitfalls you may encounter while making a deal with your code.
-
Managed Coder: On Certainty
Writing software is hard, particularly when the schedules keep programmers “nose to the grindstone”; every so often, it’s important to take a breather and look around the world and discover what we can find-ironically, what we find can often help us write software better.Psychology seems no less strange a partner to the software craftsman than philosophy, but understanding how we engage in that practice called “thought” and “feeling” improves interpersonal skills, like how to deal with annoying co-workers like yourself.