Posted by Chris Alcock on 28 Aug 2009 | Tagged as: .NET, Development, Morning Brew
Monday is a Bank Holiday (public holiday) here in the UK, and in keeping with the Morning Brew tradition I will be taking Monday off, so your next instalment (#423) will be on Tuesday. Have a good weekend everyone.
- Fun With Method Missing and C# 4 – Phil Haack explores the wonderful world of the C#4 dynamic support, and along with Method Missing creates a dynamic dictionary and puts it to work in an ASP.NET MVC solution
- F# First Class Events – Changes on Creating Events – Matthew Podwysocki continues his series of posts on F# Events with a look at how the F# language is evolving, exploring how events are created in the VS2010 timeframe.
- Build Your Own Data Access Layer: Lazy Loading – Davy Brion continues his series of posts on building a custom DAL, looking at how Lazy Load of entities can be achived. In A guide into OR/M implementation challenges: Lazy loading Ayende follows on from Davy’s post with a look at how NHibernate handles the Lazy Load
- NHibernate tips & tricks: Efficiently selecting a tree – Ayende also offers a useful post about loading Hierarchical trees of data using NHibernate, showing how you don’t need to round trip to the database for every set of children.
- NHibernate EnumStringType error, and praise for Open Source – Thomas Weller talks about an issue he ran into in NHibernate to do with having enums in the domain represented as strings in the database using the EnumStringType. Thomas shows how he worked through isolating the problem and fixing it in his copy of the NHibernate source, along with submitting a ticket to the project.
- Dynamic Part Instantiation in MEF – Nicholas Blumhardt shows off a new feature of the Managed Extensibility Framework which will not be a part of the .NET 4 release of MEF. This feature surrounds the ability to dynamically create parts in response to application events using a Declarative Context Adapter called PartCreator<T>
- Better Visual Studio F1 – Brian Schmitt follows on from the recent discussion on removing the MSDN Library install from your system and relying on online help with a nice little Visual Studio macro which can be assigned to your F1 key and will take the currently highlighted text and search a number of different sites for it – a worthy replacement I think.
- How To Get Started With Selenium Core And ASP.NET MVC – Derick Bailey gives a nice run through of working with Selenium Core to test your ASP.NET MVC applications interactively
- What’s the Difference? Part Three: fixed vs. fixed – Eric Lippert continues his ‘What’s the Difference’ series with a look at the fixed keyword and its role in making pointers work when there is a garbage collector wanting to move memory around.
- Auto-mocking hierarchies (a.k.a. recursive mocks) with Moq – ‘bengtbe’ follows on from Richard Dingwall’s post I linked to a few days back about complicated mocking requirements offering a suggestion of a Law of Demeter violation. This post talks about how the Moq recursive mock functionality makes the problem of complex mocking of this sort much easier
- SQL Server Express – A Complete Reference Guide – Pinal Dave post a great collection of resources about the SQL Server Express product.
Posted by Chris Alcock on 27 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- A Real WPF WebBrowser – Chris Cavanagh has been at work combining the Chromium and Awesomium projects with some WPF to create a fully functional WPF based web browser allowing you to have a web browser component in WPF applications which behaves well in the WPF layout system. Source is available on CodePlex, and there is a ClickOnce demo too.
- QuickGraph 3.3: Easy interop with Delegate Graphs – Jonathan "Peli" de Halleux announces a new release of his QuickGraph library of graph data structures and algorithms which includes a number of bugfixes and new graph structures based on delegates
- Popfly Parting Present – Ben Anderson shares one part of the now close Popfly system, the game engine which is written in Silverlight. Unfortunately due to the nature of Popfly being a hosted serivce this is the only code that could be released as everything else is coupled to the hosting environment, other systems or shares IP with other products
- Using one platform to build another [HTML 5's canvas tag implemented using Silverlight!] – ‘Delay’ talks about the implementation the HTML 5 Canvas element in Silverlight, allowing browsers without support for canvas (but with Silverlight support) to run HTML5 Canvas based code. Full source code and sample applications are provided
- Build Your Own Data Access Layer: Session Level Cache – Davy Brion presses on with his series on building your own DAL / ORM with a look at session level caching using the identity map pattern
- A guide into OR/M implementation challenges: The Session Level Cache – Ayende follow on from Davy’s post with a look at how the Session level cache in NHibernate compares to Davy’s Implementation
- Starter Project Templates (VS 2010 and .NET 4.0 Series) – ScottGu continues his series on .NET 4 / VS 2010 with a look a some of the new template projects available in Visual Studio for ASP.NET. These now offer the choice between empty solutions and solutions with some common functionality included
- Four Little Known, Helpful Methods, Properties, and Features for ASP.NET Developers – Scott Mitchell shares 4 lesser known ASP.NET framework features, the Application Offline functionality, Default Buttons, Context properties about local access and debug mode, and fully qualified URLs
- IL Stub Diagnostic Tool – Yongtai Zhu of the CLR Team talks about the IL Stub Diagnostic Tool and how it can help debug interop issues
- Plus (+) in .NET Class Names – Ibrahim Abdul Rahim talks about why you sometimes see a plus character in the typename for a .NET type, and how this is due to nested classes
- LINQ to NHibernate: A Vast Improvement – Russell Ball talks about his experience moving from the NHibernate criteria API to the newly RTM LINQ implementation.
1 Comment »
Posted by Chris Alcock on 26 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- Clean Web.Config Files (VS 2010 and .NET 4.0 Series) – ScottGu begins a series of posts looking at Visual Studio 2010 / .NET 4 features. This first post looks at the improved Web.Config file, which after a number of releases adding clutter to these configuration files the team have cleared it all out of the way of your applications config, leaving you with clean config for just your settings
- Law of Demeter is easy to spot when you need extra mocks – Richard Dingwall shows how friction setting up mocks is a sign of (and can be caused by) violations of the Law of Demeter
- The good and the bad of exception filters – Mike Magruder talks about exception filtering, looking at how it works at the CLR Level, some for the unexpected way it behaves, and talking about why so few languages implement support for it
- Build Your Own Data Access Layer: Hydrating Entities – Davy Brion continues his series on building a custom DAL with a look at filling his entities with data and Ayende follows up with this post ‘a href=”http://ayende.com/Blog/archive/2009/08/26/a-guide-into-orm-implementation-challenges-hydrating-entities.aspx”>A guide into OR/M implementation challenges: Hydrating Entities to his shadow series looking at the NHibernate aspect of entity hydration
- Requiring SSL For ASP.NET MVC Controllers – Dan Wahlin shows how using an ActionFilter Attribute you can force certain controllers to run on a SSL secured HTTPS connection in ASP.NET MVC
- NerdDinner with Fluent NHibernate Part 2 – The mapping – ‘bengtbe’ continues the series of posts looking at replacing the NerdDinner sample projects data access with NHibernate using Fluent NHibernate. This part takes a look at the mapping process using Fluent NHibernate
- ASP.NET MVC + MVC Contrib + Unit Testing – Patrick Steele works through building an ASP.NET MVC Controller Action with full unit tests, in a step by step manner using the MVC Contrib Test Helper to assist in the testing
Posted by Chris Alcock on 25 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- How about a StoryTeller Preview Release! – Jeremy D. Miller introduces his StoryTeller project and announces a preview release. The post also gives some background to the use of the StoryTeller tool for creating executable requirements tests for .NET development
- LIDNUG: Free Online Virtual Chat with Me Tuesday Morning – ScottGu will be the ‘speaker’ at this weeks Linked In .NET User Group event to be held this evening for us in the UK (morning for those in the US). By my calculations this will be a 5pm start in the UK and promises to be an interesting event
- One Free Ticket to my UK TDD Master class – Roy Osherove highlights a competition to win a place on his TDD Master class training session. All you have to do to enter is post a specific paragraph of text on your blog before 1st September
Posted by Chris Alcock on 24 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- OpenRasta 2.0 beta 2 is out – Seb Lambla announces the second beta release of OpenRasta 2.0, his resource oriented framework for building MVC applications and REST web services on ASP.NET 2 and beyond
Posted by Chris Alcock on 21 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- ANN: ELMAH 1.1 released – ELMAH (Error Logging Modules and Handlers for ASP.NET) has reached its v1.1 RTM release with a number of changes to its email functionality and additional rules based filtering support along with a few bugfixes.
- HawkCodeBox – Harry Pierson shares a syntax highlighting text box implementation in WPF utilising the DLR TokenCategorizer to tokenize the code to highlight
Posted by Chris Alcock on 20 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- Now available: Small Basic v0.6 – SmallBasic gets another update, taking the version number to 0.6, and adding in German localisation, along with some bugfixes and a number of new features ranging from updates to the manual on Arrays, through to methods to measure time.
- WPF Control Verifier v0.1 Released! – Ivo Manolov announces the release of the WPF Control Verifier 0.1, part of WPF team’s three prong efforts to improve WPF application quality. The WPF control Verifier is a toll to assess the correctness of controls in the form of a number of style tests
- Remember, tomorrow is the last day to download Windows 7 Release Candidate – The Microsoft SMB Community Blog reminds us that today is the last day to get hold of the Release Candidate of Windows 7
Posted by Chris Alcock on 19 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- Try SQL Azure Database CTP Today – The SQL Azure Team encourage you to try out their newly released CTP of Microsoft SQL Azure Database a cloud based relational database engine, which as of this release also includes a driver for PHP to access it. The service is free until Novemeber, when a charging model kicks in, see this post for more details.
- MVP Launches Bing Sharp API – Jas Dhaliwal highlights the work by Joseph Guadagno on wrapping the Bing API in C# providing a more friendly interface for C# developers to interact with Bing in their code.
- Reflector.Babel Addin – Jason Haley releases Version 126.96.36.199 of Reflector.Babel Add-in, an add-in for Reflector which provides a simple interface to the Babel Obfuscator
- STM.NET Contracts aka Access Modifiers for Transactional Memory – Sukhdeep Sodhi explores some of the Code Contracts implemented in the STM.NET preview and looks at how they allow us to know what we can run inside a transaction, and also takes a look at the theory of why this matters.
- Unit Testing Has Changed How I Write Software – Joel Ross talks about how he overcame his failure to obtain the benefits of Unit Testing and Test Driven Development, and how embracing this style has changed the way he writes software.
- Preventing debugger property evaluation for side-effect laden properties – James Gregory talks about the DebuggerBrowsable Attribute which allows you to mark properties to not be evaluated automatically by the debuggers watch views, and talks about how this especially important if your properties have side effects.
- Introducing LazyLinq: Internals – Keith Dahlby talks about the implementation of the key interfaces in his LazyLinq project which aims to support lazy initialisation and deferred disposal of LINQ Query contexts
- Building Strongly-Typed Sessions in ASP.NET MVC – Jarrett Meyer shares a technique for creating strongly typed session wrappers in ASP.NET MVC allowing you to have sessions free from magic strings.
- Building Line of Business Applications with Silverlight 3 – Pros and Cons – Dan Wahlin talks about the up and down side of building a line of business application using Silverlight 3 based on his experiences creating a real Silverlight 3 application for a client to manage timesheets and jobs across their organisation.
- Multiple database support with Entity Framework – Muhammad Mosa talks about database independence in the Entity Framework, looking at how the providers allow this to work, and looks at the steps you should take in your model development to ensure that you obtain the benefits of database independence.
- Top 10 T-SQL Code Smells – Merrill Aldrich shares some signitures of T-Sql code smells and anti patterns along with giving some explanation of why these things are bad.
Next Page »