The Morning Brew #609

Posted by on Thursday 27th May 2010 | Tagged as: .NET, Development, Morning Brew

Information

  • Dynamic Type in C# 4.0: Explained in Three Lines of Code & Dynamic Type in C# 4.0: The Cool New Thing To Crap On – Evan Nagle sets out exploring the new C#4 dynamic support with a simple 3 line example showing how it can be used, comparing it to the older reflection based way of achieving similar, and moves on to look at some of the more advance uses in loading dynamic scripts and calling their functionality, duck typing, and the ExpandoObject. His follow on post answers a number of the criticisms of dynamic in C# received in response to the first article.
  • Anonymous Types are Internal, C# 4.0 Dynamic Beware! – ‘Ashic’ shows a potential confusion point with working with dynamic and anonymous types calling methods between assemblies as anonymous types are internal which results in runtime errors when calling across assembly boundaries.
  • 4 .NET 4.0 Libraries You *Should* Know Better – MEF, Reactive, Tasks and Dynamic – Anoop Madhusudanan pulls together a number of his articles from the past year which look at the 4 .NET 4 libraries he feels are the most significant and under utilised
  • SquishIt – The Friendly ASP.NET JavaScript and CSS Squisher – Justin Etheredge gives a walk through of using SquishIt, his JavaScript and CSS combining, compression and minification library, showing how you integrate it into your ASP.NET websites.
  • Testing assumptions with preconditions – Jimmy Bogard talks about the times when using a constant is the correct thing to do for environmental variable which will never change, or that represent core tenants of the application, and shows how he includes these assumptions of value in his tests as a safety net.
  • Lesser-known Multi-threaded Debugging Support in Visual Studio 2010 – ‘toub’ gives run through of some of the debugger features which help make debugging multithreaded code easier, including the DebuggerDisplayAttribute, DebuggerProxyTypeAttribute, both of use to developers in their own code, and also talks about Intellitrace and an interesting concept called thread slipping which allows the debugger to evaluate code to show results in debugger windows when locks are present.
  • URL Rewrite – Multiple domains under one site. Part II – Scott Forsyth follows on from a post back in January with the final piece in the puzzle to allow you to run distinct sites for multiple domains all within the same IIS website using the IIS URL Rewriter.
  • Deploying a .NET 4 MVC 2 Application to Windows Server 2003 Using WiX 3.5 – Rob Jarratt steps through the process of using the WiX 3.5 (build 1602) toolset to deploy ASP.NET MVC applications on .NET 4 on Windows 2003 Server
  • NoSQL with RavenDB and ASP.NET MVC – Part 1 – Shiju Varghese beings a series looking at using RavenDB with ASP.NET MVC, looking at getting the server and setting it up, along with exploring some of the common usage from ASP.NET MVC (connecting, CRUD operations, etc)
  • Porting the MVC Music Store to Raven: ShoppingCart – Ayende presses on with his porting of the MVC music store to use a RavenDB database backend with a look in this post at the ShoppingCart, discussing some OO design principles he feels the current cart implementation violates and looking at moving it over to the document database back end
  • Multi-tenant ASP.NET MVC – Introduction – Zack Owens kicks off a series on multi-tenant ASP.NET MVC applications, in this post outlining how his solution differs from a lot of the other multi-tenancy solutions and outlining his goals.
  • The Dangers Of AutoMocking Containers – Derick Bailey talks about some of the down sides of using automocking containers as a part of your testing strategy, outlining an example of the types of problems you can encounter working this way
  • Exploring Selenium 2: Introduction & Lessons Learned in Selenium 1 – Jim Holmes takes a look at Selenium 2 and shares some of his experiences using Selenium 1 for regression and functional testing

The Morning Brew #608

Posted by on Wednesday 26th May 2010 | Tagged as: .NET, Development, Morning Brew

Information

  • Sometimes tools can be overly pedantic – Bill Wagner talks about his implementation of the Dispose pattern from his book Effective C#, an how it triggers an FXCop warning, and Bill explains why this warning may be a little over sensitive.
  • The Dispose Pattern (and FxCop warnings) – Scott Dorman follows on from Bill’s post with some further discussion of why the tool is reporting this and looks at an alternative implementation which does not trigger the warning
  • IDisposable: What Your Mother Never Told You About Resource Deallocation – While we are on the subject, this Code Project article from Stephen Cleary is an old one (from 2008) but is still very relevant and discusses lots of details about resource deallocation and dispose.
  • Code Contracts Survey – The BCL Team are looking for feedback on the .NET 4 Code Contracts functionality to help them shape the future development of this feature. The questions on this survey are relevant for both users and non-users of Code Contracts, so if you have a few minutes spare help them out by completing the survey
  • Exception Handling Differences Between 32/64 Bit – Alois Kraus looks at the difference between exception handling in 32 bit and 64 bit on .NET, digging down into the differences using the Windbg debugger and SOS extension
  • Porting MVC Music Store to Raven: StoreController – Ayende continues with the porting of the ASP.NET MVC Music Store Tutorial Application to a RavenDB back end with a look at the store controller, with a look at a simple translation to the document store, and a more complex translation involving joins in the relational model
  • Extending CLR types – Thorsten shows how IronRuby allows you to extend existing .NET core CLR types in a slightly more flexible way than C# extension methods, allowing both instance and static extensions.
  • Building a Store Locator ASP.NET Application Using Google Maps API – Scott Mitchell shares the first two parts of a series over on 4 Guys which walks through building a store locator application in ASP.NET using Google Maps
  • Simplify Your Unit Tests With Automocking: Part 2 – Establishing Context – Derick Bailey continues his look at using his AutoMocking Container built using Rhino Mocks and Ninject, showing how he simplified his tests using it.

Community

The Morning Brew #607

Posted by on Tuesday 25th May 2010 | Tagged as: .NET, Development, Morning Brew

The new blogs.MSDN.com went live yesterday, and this morning I had problems with a number of links in RSS feeds and blog posts to existing posts on the site, so its possible that there may be problems with links to posts hosted on MSDN, especially in previous editions of The Brew. I’m sure this will only be a temporary thing and will be sorted soon. Hopefully all the links in today’s edition will work OK.

Software

  • Fluent NHibernate 1.1 Released – James Gregory announces the release of FluentNHibernate 1.1, bringing the official release up to date with the numerous bugfixes and new features which have been comitted over the last few months, along with upgrading the NHibernate dependency to the latest 2.1.2GA release)
  • Two open source projects to facilitate interoperability with Outlook .pst data files – Jean-Christophe Cimetiere highlights two new CodePlex hosted Open Source projects from Microsoft which provide means of viewing the internals of Outlook PST files and an SDK for programmatic access to the contents of the PST file.

Information

Community

« Prev - Next »