The Morning Brew #627

Posted by on Wednesday 23rd June 2010 | Tagged as: .NET, Development, Morning Brew

Software

  • Opening OpenXML, the Open XML Package Editor Power Tool for Visual Studio 2010 – Greg Duncan highlights the release of the updated release of the Open XML Package Editor PowerTool, now updated for Visual Studio 2010. This tool allows you to open OpenXML document packages in the Visual Studio IDE and view, edit, supplement and export the component parts of the package.
  • Introduction to StickyBeak – Mark Kemper introduces StickyBeak, an ASP.NET HttpModule which allows you to log and view all HTTP requests to your ASP.NET powered web application, including form posts, query strings, cookies, etc. This looks like a very useful tool for debugging problems with sites and systems, although don’t forget to turn it off when you are done.

Information

  • How I use Inversion of Control containers – pulling from the container – Krzysztof Kozmic follows up on his previous post answering reader questions on how you can obtain components from the container based on some external input, discussing the use of the Abstract Factory/ Factory Method pattern, and how the Windsor container does a lot of the hard work for you in providing the implementation of such a factory.
  • Extension Methods and "yield return" – Jason Bock explores the use of yield return, and the changes that it makes to the structure of your code once compiled, in order to delay the execution of the iteration loops until needed, and shows a situation where this can result in dramatic changes to the way something works when called.
  • AndAlso and OrElse – Christiaan takes a look at two less known VB.NET operators which provide the lazy evaluation of conditionals which makes working with reference types easier as you can test for null on one side of the statement and use the reference on the other side when combining with these operators.
  • Now Available: Layered Architecture Sample for .NET 4.0 – J.D. Meier highlights the release of an update to the Layered Architecture Sample, now updated to .NET 4. This sample aims to show how you can structure your applications into layers utilising different .NET technologies in each layer.
  • Great Uses of Using Statement in C# – Steve Smith looks at how you can use the using statement along with IDisposable to have actions taken at the start and end of a code block with minimal effort and code around the code block.
  • Using Custom Performance Counters with Windows Azure Services – Mike Kelly explores the support for custom Performance Counters when running your applications on the Windows Azure cloud, and looks at how you can monitor the counters having the data from them written into the Azure Table Storage.
  • MSTest vs. NUnit with Visual Studio 2010 & TDD – Jeff Vera explores the differences between NUnit and MSTest for unit testing in .NET, breaking the comparison down into a few stages, examining setup and a number of test cases and announcing the winner of the round at each stage. Check out the comments for some other good points from Sergio Pereira
  • The Task Parallel Library Series – Introduction – Steve Strong begins a new series of posts looking at the Task Parallel Library. This introductory posts sets the scene for the TPL discussing the need for parallelism and the state of parallel programming in the pre-.NET 4 era.
  • Sequential Async using CoRoutines – Torkel Ödegaard takes a look at implementing Async Workflows based on the work by Rob Eisenberg in his Build your own MVVM framework talk at Mix10. Torkel shares an implementation and explains the background nicely, showing how you can have your workflow in one place readable consecutively but maintaining the async nature and providing feedback for the UI
  • Web Application Extensibility with FubuMVC (Part 1) – Jeremy D. Miller talks about the importance of extensibility and customisation for small product based companies selling their software to large organisations, and discusses some of the extensibility features his team put into FubuMVC to enable easy customisation by obeying the SOLID principle.

Community

The Morning Brew #626

Posted by on Tuesday 22nd June 2010 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • C# Closures Explained – Justin Etheredge takes a look into the world of functional C# with a look at the sometimes confusing Closure implementation, cutting through the usual complex ‘long word’ definitions and illustrating with an example.
  • Basic Analysis of a Managed Memory Dump (.NET) – CClayton takes a look at the start of the process of debugging an application crash from a memory dump using WinDbg, looking at exceptions, threads and the stack of a managed process.
  • Measuring Browser Performance with the Windows Performance Tools – Walter vonKoch talks about the Internet Explorer Team’s use of the Windows Performance Tools from the Windows SDK in exploring and understanding the performance of the browser engine, showing the tools in use to give an idea of what they are capable of.
  • jQuery Fundamentals – Rebecca Murphey (and a number of other contributors) have published a nice guide to JavaScript and jQuery. Don’t be put off by the introduction (its in Portuguese) as the main content is in English, exploring the core of the JavaScript Language, and then moving on to look at jQuery (Core, events, effects, Ajax, plugins, and work is underway on a performance section too).
  • Document Well 2010 Plus: Hidden Options – Radames Cruz Moreno shares some of the user feedback on the Document Well 2010 Plus as included in the Visual Studio 2010 Pro Power Tools, sharing a few of the hidden options that the document well has which answer a few users comments.
  • Parallel Programming in .NET 4.0: PLINQ – Jennifer Marsman explores one of the Parallel Team samples showing how Parallel LINQ can be used within your application, and showing the comparison to standard LINQ performance
  • Eager Loading with Repository Pattern and Entity Framework – Gil Fink has been exploring the Repository Pattern in Entity Framework and in this post looks at implementing Eager Loading using his repository pattern. Be sure to check out some of the previous posts on this subject from Gil.
  • Productivity Improvements for the Entity Framework – Rowan Miller looks at some of the things that we can do to improve the productivity of us as developers when working with the Entity Framework 4, looking at some useful techniques for Code, database and Model first development using Entity Framework.
  • Readying myself for Windows Phone 7 "Hello, Operator?" – Mike Ormond shares the process of setting up a Windows Phone 7 Development Environment using the April CTP of the Windows Phone Developer Tools
  • Write Templates for Visual Studio 2010 – Kate Gregory shares a complete presentation package of a talk on Templating in Visual Studio 2010. This kit includes everything you need to be able to deliver the session, including videos of the demos, the slide deck and notes on presenting the session.
  • Capturing (and changing) a Web Site with Fiddler – Eric Lawrence highlights how the Internet Explorer team use the Saz file capture feature of Fiddler to capture, modify and replay web traffic to the browser.
  • Security Best Practices in Azure – Dave Thompson takes an introductory look at security best practices for Azure, giving an introduction to the key concepts along with links to further details on each.

The Morning Brew #625

Posted by on Monday 21st June 2010 | Tagged as: .NET, Development, Morning Brew

Update: A rogue quote infiltrated this mornings edition – I’ve recified it now, and Sachin’s post on Frequent Commits along with Jose Reyes piece on Performance Counters should now be visible and working – Thanks to David Kemp for the heads up

Software

  • What’s New in xUnit.net 1.6 – Brad Wilson announces the release of xUnit.net 1.6, the latest incarnation of this pure .NET testing library. This release adds in support for .NET 4, ASP.NET MVC 2, Visual Studio 2010, along with continuing support for VS 2008 and adding in No-Registration integration with TestDriven.Net, along with support for the .NET Client Profile.
  • Moonlight 3.0, Preview 7 – Miguel de Icaza announces the latest preview release of MoonLight 3.0, the Mono Project’s Silverlight Implementation. This release brings it ever close to supporting the full Silverlight 4 RTW API, along with video capture and various other improvements.
  • FxCop 10.0 – Microsoft highlight the inclusion of FxCop 10.0 (rather a large version number jump from 1.36) as a part of the Windows SDK for Windows 7 and .NET 4 package.
  • TestApi v0.5 Released! – Ivo Manolov announces the release of TestApi 0.5, the library of test and utility APIs to help test Win32 and .NET applications. This release includes major updates to the documentation, along with improvements to the implementations of a number of the testing APIs included in the package
  • Microsoft SQL Server 2008 R2 Best Practices Analyzer – Microsoft release the 2008 R2 edition of their DSQL Server Best Practices Analyzer which inspects the configuration of your SQL Server instances and reports on things that may be misconfigured.
  • Update to the WCF Load Test tool is available – Brian Harry highlights an update to the WCF Load Test tool from Visual Studio ALM Rangers which allows you to replay WCF trace files against your services to provide a means of load testing them.

Information

  • How I use Inversion of Control containers – Krzysztof Kozmic answers one of the common questions he is asked about Inversion of Control, ‘how should it be implemented in my application?’, taking a look at the way he typically deploys the services of an IoC Container
  • Breaking if statements with pattern – Thang Chung explores a means of simplifying a complex set of nested If statements used to build the criteria for an advanced search form using the Chain of Responsibility and Factory Patterns,
  • Building data stores – Transaction log & Append Only &Indexing data structure &Table scans, index scans and index seeks, on my! – Ayende talks about the construction of a transactional data store, looking at its key concepts, exploring a way of supporting concurrency, providing efficient ways of finding data via indexing, and discusses the standard indexing optimisations available in RDBMS and their analogies in his own data store.
  • Covariance and Contravariance in .NET 4.0 – Paul Kimmel takes a look at Covariance and Contravariance support in .NET 4, looking a little wider than many of the posts on the subject and illustrating the principles with code samples.
  • How to select open source libraries – Daniel Marbach discusses how to find open source projects which provide functionality you require, along with considering how to choose between these projects, looking at licensing, community support, etc.
  • Prefer Additional Methods Over Additional Overloads – John Sonmez discusses the creation of additional methods (with specific names) instead of overloading a single method with lots of different sets of parameters, suggesting that the individual method names will make your code more understandable, and your API more consumable.
  • Mutation Testing – Jeremy Jarrell discusses the concept of Mutation testing, a way of testing how good your unit tests are by manipulating your actual program to change the behaviour of the system and checking that (some of) your test fail, and Introduces MutantPower a library built on Mono.Cecil which manipulates booleans in your code after compilation to mutate your program for you.
  • Git and our friction points and beginners mistakes – Gabriel Schenker continues his discussion of his teams migration to the Git Distributed Version Control System taking a look at some of the points of Git that took a little finding or adjusting to
  • Git/Mercurial: Pushing regularly – Mark Needham follows up on Gabriel’s post with a short discussion of their commit policy when using the Mercurial DVCS
  • Rewards of "Frequent Check In" – Sachin also discusses the merits of checking your code into the repository regularly.
  • ASP.NET Internals – Performance counters implementation details – Jose Reyes digs down into the implementation of Performance Counters in ASP.NET to help you avoid a number of common problems in your own implementations.
  • Parallel Programming: Task Schedulers and Synchronization Context – Alexandra Rusina takes a look at the use of the Task Schedulers and Synchronization Context to make communication with the UI thread easier.

Community

  • NDC 2010 Session Recordings – Last week saw the NDC 210 conference, where a number of great sessions were delivered. The recordings of many of these sessions are now available to stream and download.

« Prev - Next »