Posted by Chris Alcock on Wednesday 19th August 2009 | Tagged as: .NET, Development, Morning Brew
Software
- 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 1.0.0.0 of Reflector.Babel Add-in, an add-in for Reflector which provides a simple interface to the Babel Obfuscator
Information
- 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.
Community
Comments Off on The Morning Brew #415
Posted by Chris Alcock on Tuesday 18th August 2009 | Tagged as: .NET, Development, Morning Brew
Software
- Moonlight 2.0 goes Beta – Miguel de Icaza announces the newly feature complete beta release of Moonlight 2.0, the cross platform Silverlight 2 implementation
- Rest For ASP.NET MVC SDK and Sample – Phil Haack announces the latest offering from the ASPNET MVC team, a REST SDK and sample application running on top of the ASP.NET MVC framework. From Phil’s post it sounds like lots of this functionality may make the move into the framework over time.
- KIGG 2.5 Released – Amr ElGarhy announces the release of KiGG 2.5, an update to this ASP.NET MVC powered Digg clone. This release includes updates of various components utilised, such as Moq 3, DotNetOpenAuth 3.2, along with utilising the Entity Framework with a repository pattern.
Information
- IoC in .NET part 5: Using CastleWindsor container – ‘Sharpoverride’ continues its look at the various IOC implementations available with part 5 of the series exploring how the Castle Windsor Container compares in the sample scenario, and Part 6 explores the Microsoft Unity container in the same scenario.
- F# First Class Events – Creating Events – Matthew Podwysocki continues his series on events in F# with a look at how you declare / create events and publish them in F#, comparing to the same process in C# along the way.
- Arrays of arrays – Eric Lippert takes a look at the humble array, and shows how they can quickly get confusing when you have arrays of arrays, exploring different possibilities of how things might work before explaining what actually happens
- A total n00b’s guide to migrating from a custom data layer to Nhibernate: getting started – Bertrand Le Roy takes a look into NHibernate and looks at the process of migrating from a custom data access layer to using NHibernate. This post and associated screen cast explores the getting started aspects of working with NHibernate, addressing the references required, and the session factory and mapping files.
- How-To: Using the N* Stack, part 4 – Jason Dentler continues his series of posts on the alternative .NET development stack, with a look into the operation of NHibernate, and writing some tests for the NH mappings backed onto SQLite.
- Law of Demeter: Some thoughts – Mark Needham talks about the Law of Demeter, and looks at its implications on getting data into the view, along with some ways of working that support the ideals of the LoD.
- GC Helper for Obtaining Live Instances of a Type, or How I Implemented GC.GetAliveInstancesOf<T>() – All Your Base Are Belong To Us – Sasha Goldshtein provides a demonstration implementation of a method that Patrick Smacchia asks for, which retrieves references to all the objects currently in the various generations of the Garbage Collector
- Never In Doubt: Do Not Make Every Method Virtual – Ward Bell kicks of an interesting debate about having methods declared as virtual by default, looking at a number of reasons why you wouldn’t want virtual. Ayende responds with his post Virtually everything talking about closed for modification and the importance of extensibility. Mark Nijhof also responds with his post Running with Scissors, looking at keeping parts of frameworks internal/sealed and the protecting people from doing something silly angle
- (Mis)using C# 4.0 Dynamic – Type-Free Lambda Calculus, Church Numerals, and more – Bart De Smet embarks on another brain exploding post, looking at the use of lambda calculus with the C#4 dynamic keyword allowing you to create type free lambda expressions
- LINQ to Ducks – Bringing Back The Duck-Typed foreach Statement To LINQ – Bart follows up with a shorter (and more easily understood) post looking at duck typing in the foreach statement with Linq,
- Automating .NET development (and NHibernate) with IronRuby + Rake – Tobin Harris takes a look at using IronRuby and Rake to automate various development processes.
Comments Off on The Morning Brew #414
Posted by Chris Alcock on Monday 17th August 2009 | Tagged as: .NET, Development, Morning Brew
Software
- Fluent NHibernate 1.0RC – James Gregory announces the Version 1.0 Release Candidate of Fluent NHibernate which includes a number of small breaking changes to the Fluent Interface to reduce verbosity. Expect the RTM pretty soon.
- TestDriven.Net 2.23 Beta – Faster! – Jamie Cansdale announces the release of Test Driven .Net 2.23 Beta which includes a huge speed up for those running on a 64bit OS byt being compiled for x86 rather than x64 – sounds strange, but Jamie explains it a little in this post, and also talks about Cleaner Stack Traces, one of the improvements made to the platform in this release
Information
- Observations on the ‘if’ statement – Chris Brandsma talks about some of the antipatterns surrounding the if statement, looking at how you can refactor to avoid falling into these traps.
- Demeter Transmogrifiers To The Rescue – Phil Haack takes another look at the Law of Demeter, and shows how the Hide Delegate approach can help, but can also lead to silly methods (otherwise known as Demeter Transmogrifiers) being created.
- Singletons Are Evil Part 2 – Scott Densmore takes a deeper look into one of the problems which often accompanies the Singleton pattern, high coupling of dependencies and looks at how an IOC container can help
- Adjusting NHibernate mapping for tests – Krzysztof Kozmic continues looking into using SQLite as a testing database for NHibernate based code and talks in this post about some of the problems you can run into due to the limited subset of features SQLite offers compared to full SQL Server, and introduces a work around in the form of a re-mapper which modifies the mappings for the test database.
- Convention over Configuration – The Next Generation? – Udi Dahan talks about the next steps in the Convention over Configuration movement, dreaming of an ideal where we don’t have to read over configuration files, startup code, an implementation details to get going on a project
- Should I use MEF for my general IoC needs? – Glenn Block looks at some of the finer detail of the Managed Extensibility Framework, specifically looking at how it differs from a traditional IOC implementation
- IoC in .NET part 1: Autofac – ‘Sharpoverride’ has a mini-series looking at Inversion of Control implementations in .NET, with the first part looking at Autofac, the second part looking into how StructureMap does on the same problem, and in part 3 tries out the beta release of Ninject 2, and part 4 sees Spring.Net getting a run out.
- Instantiating interfaces – Ayende (amongst others) shows off a slightly strange looking feature of .NET which allows you in instance an interface and have it filled with a default implementation using the CoClass attribute
- Refactoring Day 16 : Encapsulate Conditional – Sean Chambers presses on into the second half of his month of refactorings series of posts with a look at the Encapsulate Conditional refactoring. I’m really looking forward to the rest of this series now we have got a lot of the standard well known refactorings out of the way.
- ASP.NET disk-based caching – Karl Seguin shares his investigations into providing a disk based cache for ASP.NET pages, and outlines some further extensions that would be possible on top of this proof of concept.
- Velocity CTP3 Set up for ASP.NET Session State – Steve Michelotti takes a look at one of the useful side features of the Velocity distributed cache, a provider for Session State housed in the distributed cache, and looks at the configuration of Velocity CTP3
- Community Convergence LIII – Charlie Calvert highlights posts from the C# team in the 53rd edition of his Community Convergence series.
- Tasks/Continuations and Death of the ThreadPool? – Sacha Barber takes a look at the Visual Studio 2010 / .NET 4 Tasks implementation and wonders if this will be the replacement of the threadpool for most multi-threaded jobs.
- Why can’t I declare a type that derives from a generic type parameter? – Raymond Chen rounds up CLR week with a look at the differences between .NET Generics and C++ templates
- ASP.NET MVC in Action – Jeffrey Palermo shares some discount codes for his (and possibly for other Manning books) which can get you up to 40% off.
Comments Off on The Morning Brew #413
« Prev - Next »