Posted by Chris Alcock on Wednesday 2nd June 2010 | Tagged as: .NET, Development, Morning Brew
Software
- Snippet Designer 1.3 Released! – Matt Manela announces the release of Snippet Designer 1.3, adding support for ASP.NET / HTML, JavaScript and SQL snippets and an improved search along with a few bugfixes. Both Visual Studio 2010 and 2008 are supported.
- Visual Studio 2010 Web Deployment Projects RTW – Available Now – Visual Web Developer Team announce the release to web (RTW) of Web Deployment Projects for Visual Studio 2010. This release includes all the functionality you are used to from the 2005 and 2008 days, and since the beta has been supplemented with performance improvements, improvements to multi-targeting support and filetype ignore rules for non-required files.
- Windows Embedded Compact 7 announced and public CTP available – ‘obloch’ highlights the public CTP release of Windows Embedded Compact 7, providing a Windows based operating system with a Silverlight based UI.
Information
- Multiple Project Downloads, Wiki Enhancements and more – The CodePlex team have pushed out their latest release of the CodePlex platform, and now provides support for multiple default releases from a single project, improvements to the Wiki, and also some new user features for showing projects you have forked.
- Parallel Programming in .NET Framework 4: Getting Started – Alexandra Rusina starts a new series of posts looking at the Parallel programming capabilities of the .NET 4 release, beginning with an introductory look at the Task Parallel Library
- Dependency Injection in ASP.NET MVC: Final Look – Jimmy Bogard rounds off this series of posts looking at the further uses of Dependency Injection in ASP.NET MVC beyond the common use in the controller, and talks about separation of concerns and its place in good API design.
- Rietveld, or "How to revamp your code review process" – Kyle Baley talks about the traditional code review process of formal meetings and WTFs a minute, and then looks at how a code review tool like Rietveld can help change this process and make it better.
- How we test the compiler backend – Alex Thaman talks about how the Visual C++ team at Microsoft go about testing their compiler implementation, looking at the different types of test they perform and how they hook the tests up.
- Cucumber, A Brief Overview – Joey Beninghove takes a look at Cucumber a Ruby library for testing at a high level, such as integration and acceptance testing, showing a few samples of it in use.
- Outside-In BDD: How?! – Sarah Mei gives an overview of how she does BDD style testing using Ruby, RSpec and Cucumber
- Albacore Feature Preview: Building C# Code With CSC.exe – Derick Bailey talks about the latest task addition to the Albacore Rake Build tasks for .NET library. This new task allows the building of C# code using the CSC compiler, and is in the early stages of production now.
- Tip -When writing custom assertion methods – Keep your assertion stack trace clean – Daniel Wertheim talks about a best practice for constructing your own test assertions so that your stack trace presented in the test runner is as clear as possible as to where the assertion error occurred in the system under test, not within your custom assertion.
- Three cautions with mocking frameworks – Tim Stall talks about 3 of the most common issues arising from the use of Mocking Frameworks as a part of testing, spaghetti code, false test coverage, and broken encapsulation.
- Toughest Developer Puzzle Ever – Josh Holmes highlights the second year of the ‘Toughest Developer Puzzle Ever’ a set of 100 puzzles organised by Jeff Blankenburg. This year sees the puzzle count rise to 100 (it was 30 last year) and there are prizes for the first 100 people to complete all 100 puzzles.
Community
- Edge UG June 2010: IIS 7 and Functional Alchemy – London’s Edge Usergroup will be meeting on the evening of Wednesday 16 June at Microsoft’s London offices for two presentations, Andrew Westgarth on IIS 7 and Mark Rendle on Functional style programming ion C#.
Comments Off on The Morning Brew #612
Posted by Chris Alcock on Tuesday 1st June 2010 | Tagged as: .NET, Development, Morning Brew
Software
- Prism V2.2 Posted to Codeplex – Bob Brum announces the release of Prism 2.2 as an official release on CodePlex. Prism is the codename for the Composite Application Guidance for WPF and Silverlight, offering support and guidance about building UIs for these two frameworks simultaneously.
- Introducing AgUnit: Silverlight Unit Testing With Resharper – Davy Brion highlights the work by one of his coworkers who has created AgUnit, a Silverlight Unit Test Runner for ReSharper which allows you to run your unit tests in the actual Silverlight runtime.
- Getting Visual Studio to Get GIT – Greg Duncan points to a useful Visual Studio addin which brings an understanding of the Git Distributed Version Control system to Visual Studio, allowing you to see the version control status of the files in your solutions
- StatLight V1.0 & V1.1 Released (Silverlight Testing Automation Tool) – Jason Jarrett announces the release of Versions 1.0 and subsequently 1.1 of StatLight, his Silverlight testing automation tool which aims to make it easier to test Silverlight in a TDD / BDD style by providing easy integration of setup and execution of tests
- LLBLGen Pro v3.0 has been released! – Frans Bouma announces the relaese of LLBLGen 3.0, his Object Relational Mapper technology. The V3 release includes a new designer experience for .NET 3.5 and higher along with entity framework, NHibernate and Linq to SQL support
- Announcing Pricing for the Windows Azure CDN – The Windows Azure Team announce the pricing structures for the use of the Windows Azure Content Delivery Network. The Azure CNFD is already used by Microsoft for things like Windows Update, and now you can make use of it for your own applications.
- Fault Contract support in WSCF.blue – Alex Meyer-Gleaves talks about the new release of WSCF.blue, the WCF version of Web Services Contract First, and the new addition of Fault Contract Support he has added to the latest release.
Information
- Code Rush Vs. ReSharper – Jesse Liberty shares his thoughts on the differences between the two leaders in the .NET Refactoring and IDE Enhancement tools stakes.
- Writing the tests for FluentPath – Bertrand Le Roy talks about some of the difficulties he faced while creating the tests for his FluentPath System.IO API wrapper
- Running TeamCity from Amazon EC2 – Cloud based scalable build and continuous Integration – Roy Osherove blogs the process of setting up TeamCity on an Amazon EC2 instance to provide a cloud based Continuous Integration Environment
- Sometimes an enum is not the best idea – Peter van Ooijen talks about some of the (often forgotten) downsides to the use of Enums, and some of the confusion they can cause.
- Model Based Apps and Frameworks – Chad Myers discusses Model Based Frameworks as a design concept for Framework development, looking at how they differ from direct configuration based frameworks, and discussing the advantages and disadvantages of this approach.
- Introduction to the Reactive Extensions for JavaScript – Wrapping the Dojo API – Matthew Podwysocki continues his series on the Reactive Extensions with a look at how existing API’s such as the Dojo Framework can be wrapped with Reactive Goodness to allow its events and AJAX to be performed in a reactive way.
- A Coverage Metric That Matters – Michael Feathers discusses the issue of Code Coverage for tests, and discusses what may be a better metric for brown fields ‘legacy’ projects which don’t have many existing tests.
- RavenDB – What’s the difference? – Rob Ashton kicks off a new series of posts looking at the key differences between RavenDB and some of the other Document Database implementations such as CouchDB and MongoDB.
- 1 + – + + + – + 1. Binary solo? WTFJS! – Ajaxian highlights a post by Thomas Fuchs which looks at some of the slightly crazy (yet legal) things you can do in calculations in JavaScript.
- patterns & practices Security Guidance Roundup – J.D. Meier shares a round up of all the Security related content from the Patterns and Practices Team, a huge collection of books, checklists, how-to’s and articles addressing all aspects of software security.
- Porting MVC Music Store to Raven: Porting the checkout process , StoreManagerController & StoreManagerController, part 2 – Ayende continues his series looking at porting the ASP.NET MVC Music Store tutorial application over to using his RavenDB document database. These three posts look at the implementations of the checkout and backend administrative sections.
- Raven & Event Sourcing – Ayende also talks a little about using RavenDB to store events streams, and looks at using aggregations against the event stream to keep stored totals correct as events flow through the system
- NoSQL with RavenDB and ASP.NET MVC – Part 2 – Shiju Varghese continues looking at RavenDB with ASP.NET MVC, with this second part looking at some more serious use with the implementation of some domain entities, Repositories and their use in Controllers and Actions.
- ASP.NET MVC: MVC Time Planner is available at CodePlex – Gunnar Peipman release the sourcecode for his Time Planner application written in ASP.NET MVC and using jQueryUI for some of its User interface.
- C#: Using a dictionary instead of if statements – Mark Needham shares a good use of a dictionary containing a mapping of a key to a function behaviour which can help to eliminate unsightly switch and if statements.
- WatiN screenshot saver – Brian Schroer shares an custom implementation of a screen capture helper class for use with WatiN which will allow you to caputre different screenshots of your tests in operation.
- Observable Collections – Steve Wellens takes a look at the Observable Collection implementation included in the .NET Framework since the .NET 3.0 release, showing a simple example of it in use.
Community
Comments Off on The Morning Brew #611
Posted by Chris Alcock on Friday 28th May 2010 | Tagged as: .NET, Development, Morning Brew
Monday is a Bank/Public Holiday here in the UK, and in keeping with Morning Brew Tradition there will be no edition on Monday, with the normal posting schedule resuming on Tuesday. Have a good long weekend everyone.
Software
- Web Service Software Factory 2010 RTM – Hernan de Lahitte highlights the release of the Web Service Software Factory 2010, a collection of sample source code, tools, patterns and guidance for creating ASMX and WCF web services from the Patterns and Practices team
- The SRE Preview is now available on CodePlex – Barry Dorrans announces the preview release of the Security Runtime Engine as a part of the Web Protection Library May CTP. There is no binary release of the SRE, however the team are looking for comments and feedback to help them improve the product.
- Introducing Kiddo: A Ruby DSL for building simple WPF and Silverlight applications – Freedom Dumlao shares Kiddo, a DSL written in Ruby make it easier to build Silverlight and WPF based applications, Based on the well known Shoes library, Kiddo aims to give an abstraction over the UI creation providing a simple code interface to construct the UI.
- Microsoft tag out of beta – Steve Clayton highlights the move from beta to full product of Microsoft Tag, their 2d, pictorial supporting, digital tag / ‘barcode’ technology providing an easy way of allowing consumers to gain access to related information.
Information
- Cast operators do not obey the distributive law – Eric Lippert looks at an example, inspired by a StackOverflow question, which shows how the cast operators do not follow the distributive law in the way that the multiplication operator does
- Violations Of The"Tell, Don’t Ask" and "Don’t Repeat Yourself" Principles? – Derick Bailey looks at some examples of his own code where he feels that he is violating two of the often cited principles, asking if he actually is, and offering a possible alternative implementation, asking the community for views and other better solutions. Discussion is breaking out in the comments to this one.
- Code Reuse is (Damn) Hard – James Michael Hare discusses Code Reuse, one of the commonly specified advantages of Object Oriented Programming’, looking at some principles which suggest reuse is possible, types of code which may be good candidates for re-use, and talks about how hard it can be to ensure reuse.
- TTDD – Tautological Test Driven Development (Anti Pattern) – Fabio Pereira discusses an anti-pattern in testing where a test’s set up is very similar to a test’s asserts meaning that the asserts are a re-statement of the setup, which results in a lack of meaning to any result.
- WPF Visualizer in Visual Studio 2010 – ‘jgoldb’ highlights a new debug visualizer included in Visual Studio 2010 which allows you to visualise WPF elements when debugging, providing a rendered view, and properties of the element.
- Creating Visual Studio projects that only contain static files – Eilon Lipton shows how you can create a Visual Studio project which only contains static files, and looks at providing ‘build’ support to clean and copy the files at build time.
- .NET Framework Targeting Error (.NET Framework Client Profile) – Janiv Ratson highlights a gotcha found by his colleagues Alon Nativ and Ziv Farjun, where you may get compile errors when working with console applications referencing other projects and assemblies due to Visual Studio 2010 Console Applications (along with many other project types) targeting the Client Profile by default rather than the full framework.
- Non-Dom Element Event Binding with jQuery – Rick Strahl looks at using jQuery to create events on non-DOM objects which can be handled by your code, highlighting along the way an issue where jQuery has problems unbinding event handlers from Non-DOM events
- Porting the MVC Music Store to Raven: ShoppingCartController – Ayende continues his series porting ASP.NET MVC tutorial application MVC Music store to using the RavenDB document database, in this part updating the ShoppingCartController to reflect the changes to the Shopping Cart in the last part
- Readable and testable asynchronous execution – Andreas Hallberg shares a simple helper class which makes writing Async code cleaner, and provides an implementation which can be easily replaced for testing to remove the async nature.
Comments Off on The Morning Brew #610