Writing

Introducing .NET 4.5 with Visual Studio 2012

Microsoft has introduced a large number of changes to the way that the .NET Framework operates. Familiar technologies have being altered, best practices replaced, and developer methodologies adjusted. Many developers find it hard to keep up with the pace of change across .NET's ever-widening array of technologies. The introduction of Windows 8 and its new style of applications only compounds the problem.

You may know what's happening in C#, but what about the latest innovations in the cloud? How is that going to affect your work? What possibilities do the new async capabilities bring? What you need is a roadmap. A guide to help you see the innovations that matter and to give you a head start on the opportunities available in the new framework.

Introducing .NET 4.5 is designed to provide you with just that roadmap. It serves as a no-nonsense primer that will help experienced .NET developers understand the impact of the new framework and the technologies that co-exist with it. This book will keep you updated on the changes and help you to seize new opportunities confidently and quickly.

The book is aimed at existing .NET developers who will be trying to come to grips with .NET 4.5 and Windows 8, which will be changing the way they need to think about creating applications.

Im pretty happy with the content of the book and think we give a good introduction to the various new features available in an easy to read format. If you want a really deep look at the various changes or a reference to keep on your shelf then this probably isnt the book for you (I really like Joseph Albahari’s C#5 in a nutshell). If however you are short of time and want a light hearted & easy to read introduction (and can put up with my terrible sense of humour) then I think you will enjoy it.

I'll also be donating 50% of my earnings from this book to the Cancer Council Australia.

Looking for the books code examples? Click here to download them from my skydrive.

Looking for corrections/errata? Click here.

Introducing .net 4.5 with Visual Studio 2012 book

If you order the book please use the links below as I make slightly more on the purchase at no cost to you through Amazon's affiliate program.

Order from Amazon.com
Order from Amazon.co.uk
Apress book page

Introducing .NET 4.0 with Visual Studio 2010

These are exciting times to be a .net developer. Visual Studio 2010 and .net 4 have brought a bewildering amount of changes. In this book we will be getting you up to speed quickly on these enhancements and also covering some of the important out of band releases such as MVC and Silverlight.

Introducing .net 4 with Visual Studio 2010 book

If you order the book please use the links below as I make slightly more on the purchase at no cost to you through Amazon's affiliate program.

Order from Amazon.com
Order from Amazon.co.uk
Apress book page

Edit/format issues in 1st edition

I have become aware that the first edition of the book contains a few "interesting" formatting & editing issues. For example in a number of places (mostly Chapter 4 for some reason) when a method is quoted in text it bizarely has double brackets e.g. someMethod()(). These issues were not present in my original documents. Additionally I supplied a list of issues (including this particular one) present in the print proofs which for some reason Apress didnt get around to actually fixing. You can read more about my writing experiences good and bad.

I can only apologise for these issues and although I believe the technical content is accurate the finish is not as good as it should have been. Apress did however react quickly, employing 2 new copy editors with resolving these issues and a new edition is available. I have also insisted that Apress provide a revised ebook to those who have purchased the 1st print edition for free which they have agreed to (I dont have the details on how this will work yet). Those who have purchased the ebook will also receive an update at no cost.

You can submit and view errata at: http://apress.com/book/errata/1247

Who should read this book?

Many developers are too busy or lazy to learn new technologies and skills.
This is a shame as they miss out on:

  • Producing better software
  • Making their lives easier through better and easier to maintain code
  • Opening up new promotion and job opportunities
  • Earn more money
  • Impressing people

What’s different about this book?

This book is about breadth rather than depth. It will get you up to speed quickly on new functionality in just enough depth to get you going but without getting bogged down with too much detail.

When something big like Visual Studio 2010 is released I believe developers need and want an overview of what’s new. When they find an area of interest they can then research it further.

When writing this book I tried to keep in mind the following ideas:

  • Give the reader an introduction to new technologies
  • Show how to do the basics that any developer would want to know
  • Produce examples that are as simple as possible but still demonstrate the concept
  • Don’t get too bogged down in detail so the book can still be easily read

Book cartoon

What is covered?

Below is the books chapter index:

  • Chapter 1 - Introduction
  • Chapter 2 - IDE, MEF & customization
  • Chapter 3 - C# & VB.net Language changes
  • Chapter 4 - CLR, BCL & Code Contracts
  • Chapter 5 - Parallization and threading
  • Chapter 6 - WF
  • Chapter 7 - WCF
  • Chapter 8 - Entity Framework
  • Chapter 9 - ADO.net data services intro
  • Chapter 10 - ASP.net
  • Chapter 11 - ASP.net AJAX
  • Chapter 12 - jQuery intro
  • Chapter 13 - MVC intro
  • Chapter 14 - Silverlight intro
  • Chapter 15 - WPF 4 and Siverlight 3
  • Chapter 16 - Azure

In addition to the core VS2010/.net 4 changes I thought it important to cover some of the interim releases such as MVC & Silverlight 3. I have also included an introduction to Silverlight chapter as believe many developers will be unfamiliar with this area.

Note with regret I dropped the Oslo chapter due to Microsoft's change in direction in this area (I will add this to the downloads section for interested readers).

Introducing .net 4 reviews

Below are a selection of reviews about the book:

Mike Ormond
Eric Nelson
Craig Murphy
Dave Sussman
Matt Lacey
.net Developers Journal
Amazon US reviews (4x 5 star reviews at time of writing)

People on twitter have said:

Hey alexjmackey I read first four chapters last night, thoroughly enjoyed. Really useful for time-starved freelancers

Started reading alexjmackey 's Introducing .NET 4,easy 2read style and drawing in 2read more.Good job &looking 4ward 2learning more as i go

Not generally a fan of "Introducing" books. Or books released well b4 RTM.But have to admit alexjmackey 's "Intro .NET 4" pretty damn good.

Recommended reading Apress "Introducing .NET 4.0 wiith Visual Studio 2010"

"Introducing .NET 4.0: with Visual Studio 2010" is actually a great book, now reading the e-book :)

Download book database and code

You can download the database used in some of the chapters here:
Download sample database (157k)

You can download the code used in the book here (note a few issues with Entity Framework and Azure for RC but rest works fine):
Download code (32mb)