Posted by Chris Alcock on 18 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- 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.
- 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.
No Comments »
Posted by Chris Alcock on 17 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- 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
- 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.
No Comments »
Posted by Chris Alcock on 14 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- jQuery UI 1.8a1 - Richard D. Worth announces the first preview release of JQuery UI 1.8 bringing the usual bugfixes and three new plugins, one for positioning, one for ensuring the things on the top stay on the top and one for managing zindex
- Array Bounds Check Elimination in the CLR - Dave Detlefs talks about array bounds checks in managed code, and looks at some of the techniques which allow managed code to not do this seemingly vital set of performance impacting checks.
- 15 Free Computer Science Courses Online - Alfred Thompson highlights 15 free computer science courses from a wide range of sources covering topics from mathematics, network security, through to working with robots
- Assert.True is the tool of last resort - Ayende makes a very good point about how Assert.True is a very unexpressive assert in that it gives little or no information should the assert fail in a test run.
- Linq to Mocks is finally born - Daniel Cazzulino talks about a recent development in Moq which truely brings Linq to Mocks into being, with early beta releases availabel now if you wish to try it out.
- Fabulous Adventures In Coding : Four switch oddities - Eric Lippert takes a look at 4 things about the switch statement in C# you may be unaware of, or confused by, along with providing the reasoning behind some of them.
- Testing with NHibernate and SQLite - Krzysztof Kozmic takes a look at testing NHibernate using SQLite as a database for the testing, along with providing an abstract base class for NHibernate tests
- xUnit Browser Attribute - Run Cross-Browser WatiN tests effortlessly - Ben Hall shows how you can utilise the extensibility of the xUnit.Net testing framework to make it so that you don’t have to duplicate your test logic to test across multiple browsers when using xUnit.Net powered WatiN tests
- How-To: Using the N* Stack, part 3 - Jason Dentler continues his series looking at the N* alternative .NET technology stack. In this part he looks at the configuration of NHibernate, and the mapping of the classes from class to database.
- Six things that will happen when you uninstall your MSDN documentation - Roy Osherove talks about the outcomes of removing the MSDN documentation - I have to agree with a lot of what Roy says here, I’m fed up of waiting while the documentation updates, etc and have also contemplated doing this.
- What’s in Your Collection? Part 1 of 3: Interfaces - Jeremy Likness begins a series on collections with a look at the interfaces that make up the collection classes in this Code Project article series.
No Comments »
Posted by Chris Alcock on 13 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- NCover v3.2 Released! - The NCover team announce the release of NCover 3.2 now with .NET 4.0 support along with a feature which allows you to ignore any assemblies which don’t have PDB files (allowing you to focus on just your code). There are also bugfixes and improvements to the NCover Explorer
- Announcing a new product line - Telerik Extensions for ASP.NET MVC - Telerik announce the release of their first Open Source product, released under the MS-PL license, which offers a number of ASP.NET MVC enhancements, and UI controls working with JQuery and JQuery UI
- ASP.NET MVC: DevExpress Mail Demo - Not to be left out, DevExpress Evangelist Mehul Harry announces official support for ASP.NET MVC byt the DevExpress ASP.NET Controls, and shares a sample application based on these controls running in ASP.NET MVC
No Comments »
Posted by Chris Alcock on 12 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- Siesta: Painless REST via ASP.NET MVC - Nate Kohari announces the release of Siesta, the rest based parts of his Zen API. This is an open source release, which is intended to show you how you can work in this manor and how you can implement thios style of working in your own applications
- MVP Releases Silverlight Database Diagram Widget - Jas Dhaliwal highlights a Silverlight Database Scheme Viewer project from Braulio Diez Botella a Málaga based MVP. Full source and Binary release available, licensed as MS-PL
- A Walkthrough of Dynamically Compiling C# code - Saveen Reddy runs through the process of dynamically compiling C# code at runtime using the framework CodeDom and CSharpCodeProvider, and looking at adding references to external code, and the different types of output (EXE, DLL) that can be created
- RunAs in C# - Eugene Rosenfeld shows how you can implement ‘RunAs’ functionality from within your C# code allowing you to switch user contexts at runtime to perform C# operations
- C# 4’s Dynamic in Mono - Miguel de Icaza talks about the Mono 4 implementation of the C# Dynamic keyword, and shows an early implementation in use.
- Statement Trees With Less Pain - Follow-Up on System.Linq.Expressions v4.0 - Bart De Smet continues his exploration of System.Linq.Expressions in V4 of the framework with a look at some of the language level support for statement trees
- Embedding Python Scripts in C# Applications - Harry Pierson continues his look at combining C# and IronPython to create a hybrid application. This part looks at running the Python content from C# using the IronPython hosting environment.
- How-To: Using the N* stack, part 1 - Jason Dentler starts a series of posts looking at getting started with the N* alternative .NET frameworks as a part of an ASP.NET MVC Project. This first part looks at setting up the solution with the correct references, and How-To: Using the N* Stack, part 2 starts looking at a sample application model and how you can make it NHibernate friendly
- Quick look at STM.NET performance - Pawel Pabich takes a look at the performance of the Software Transaction Memory sample release comparing it to traditional locking.
- Improvements to Interop Marshaling in V4: IL Stubs Everywhere - Jesse Kaplan of the CLR Team talks about some of the work the team have been doing on Interop Marshalling in V4 of the framework, making the move to consistent use of IL Stubs which should increase performance and ease debugging
- Using Ninject 2 with ASP.NET MVC - Kevin Rohrbaugh looks at how you can wire up ASP.NET MVC Applications using the Ninject DI/IOC container
- Presentation Patterns on Virtual ALT.Net - Jeremy D. Miller will be speaking at the Virtual Alt.Net event for North America this evening on separated presentation patterns. Unfortunately, unless you are a real night owl in the UK/Europe this will be rather on the late side (starting at around 1am if my calculations are correct)
No Comments »
Posted by Chris Alcock on 11 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- SQL Server 2008 R2 August CTP Available Today - The SQL Team announce the availability of the SQL Server 2008 R2 August CTP now available to Technet and MSDN subscribers, with general availability from Wednesday
- StyleCop update 184.108.40.206 is released - An updated release of StyleCop the Source Code Style and Consistency tool from Microsoft is now available which addresses a number of bugs, and a new feature which allows you to insert attributes to suppress rules in your source like FxCop.
- Precedence vs order, redux - Eric Lippert looks at the relationship (or lack there of) of operator precedence and the order of operations dispelling some myths along the way
- Debugging, Profiling and Analyzing Parallel Applications - Soma Segar looks at some of the new features for debugging and profiling parallel applications in Visual Studio 2010
- Building a Hybrid C# / IronPython App Without Dynamic Type - Harry Pierson talks about how you can build applications across C# and IronPython at the moment even though we don’t yet have the dynamic keyword in C#, and also talks about Compiling Python Packages into Assemblies using the CLR CompileModules fuction and some custom script
- Improved type safety when dealing with generic types, generic methods and reflection - Daniel Cazzulino shares a neat strongly typed reflection technique which will work in .NET 2
- NerdDinner with Fluent NHibernate Part 1 - The domain model - ‘Bengtbe’ sets out to fit NHibernate and FluentNHibernate into the Nerd Dinner ASP.NET MVC sample application to replace the Linq to SQL implementation there. First of a three part series.
- Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 21: Hierarchical Data - Brad Abrams continues his monster series looking at Silverlight and the Rich Internet Applications Services with part 21 looking at how the RIA services allow you to work with hierarchal data, and along the way looks at computed properties
- Expression Trees, Take Two - Introducing System.Linq.Expressions v4.0 - Bart De Smet takes an indepth look at Expression Trees in .NET 4.0, looking at examining expression trees when compiled using the SOS debugger extension.
- Why doesn’t String.Format throw a FormatException if you pass too many parameters? - Raymond Chen turns his attention to the CLR for this week, and talks in this first post of the week about why it is that String.Format throws exceptions if you give it too few parameters, but not if you give too many.
- Refactoring Day 10 : Extract Method - Sean Chambers month of refactoring posts takes a look at the extract method refactoring.
- Implementing A Multi-Tenant ASP.NET MVC Application with S#arp Architecture - Bobby Johnson talks about how he sought advice on creating a multi tenancy application using S#arp architecture, and outlines the solution.
No Comments »
Posted by Chris Alcock on 10 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- xUnit.net 1.5 Beta Released - Brad Wilson announces the release of xUnit.Net 1.5 Beta. This release introduces xUnit .net Test Project files which contain the settings of the assmeblies to test and various run parameters, along with support for ASP.NET MVC 2 and a forced 32bit mode test runner for those who need to test in 32bit but run on 64bit machines
- Windows 7 Code Pack V. 1.0 Released - Charlie Calvert highlights the release of the Windows 7 API Code Pack v1.0 which provides support for the new Windows 7 APIs and features wuch as the new taskbar features, Shell Search API, Common Dialogs, Power Management APIs, and much much more
- WSCF.blue - Updates - Santosh Benjamin highlights some recent updates and the availability of an updated MSI Installer for WCF.Blue the WCF version of the Web Services Contract First project
- Fasterflect - a fast and simple API for Reflection invocation - Buu Nguyen shares Fasterflect a wrapper library for Reflection which aims to make the coding and runtime performance of refection better. The article talks about both aspects and full binary and source releases are linked from here
No Comments »
Posted by Chris Alcock on 07 Aug 2009 | Tagged as: .NET, Development, Morning Brew
- C# Sqlite - Miguel de Icaza highlights the work by Noah Hart on porting SqlLite from C to C#, and the creation of the C#-SQLite project. This is a line by line port, with some reasonably impressive performance, and plenty of room to improve by migrating more of the code to a C# way of working. Plans are also in place to make the port run on Silverlight.
- Released: Windows SDK for Windows 7 and .NET Framework 3.5 SP1 - Karin Meier highlights the release of the Windows SDK for Windows 7 and .NET 3.5 SP1, released yesterday to coincide with the release of Windows 7 to MSDN/TechNet/BizSpark subscribers
- Utility to generate Visual Studio solution file for a group of projects - Vagif Abilov shares a simple utility he wrote to build a solution file which contains all the projects located in a specific root directory, allowing you to exclude certain ones by way of a filter.
- Not everything derives from object - Eric Lippert addresses another C#/.Net related myth, that all types in .Net derive from System.Object, and Eric shows how this isn’t actually true, but that most types do.
- What’s new in System.Net.Mail - Network Class Library Team continue with their series of posts on the new features of various parts of the .NET networking namespaces with a look at some of the new features of .NET 4 with respect to sending mail
- Vista Users - Uninstall Visual Studio 2010 Beta 1 before upgrading to Windows 7 - Scott Hanselman shares some useful information for anyone running Visual Studio 2010 / .NET 4 beta 1 on Vista who wants to upgrade to Windows 7 - If this is you, you need to read this to avoid breaking your .NET install.
- I Hate Global.asax - Harry Pierson talks about his dislike of Global.asax, and how it makes implementing the special events of an ASP.NET Application like Application Start/End much more difficult in dynamic languages
- Pipeline and Yield in C# - Jeremy Likness looks at the pipeline pattern, and how the yield operator provides a nice means of implementing it
- Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 20: NHibernate - Brad Abrams series on Silverlight 3, RIA and related technologies seems to be expanding in scope - In this part Brad replaces his Entity Framework implementation in the Domain Service with an NHibernate Data Access implementation, without needing to change any other code
- ASP.NET MVC 2 - Buddy Classes for your models - Charles Vallance explores the new ASP.NET MVC 2 Preview release, looking at the new Buddy Class / Metadata classes which allow you to decorate your types with attributes which allow you to control how the model is represented in auto generated renderings.
- Beginning ASP.NET MVC 1.0 available on Amazon - Simone Chiaretta announces the release on Amazon of the ASP.NET MVC book he co-authored with Keyvan Nayyeri. The book is coming to Amazon UK, and traditional book stores shortly. Free sample chapters are available, as is the table of contents and index. Congratulations on getting to this point guys!
- 100 copies of Bridging the communication gap for 2.56 each - Gojko Adzic is celebrating this 256th blog post with a special offer on the e-book edition of his book ‘Bridging the Communications Gap’ which looks at improving communication with customers and the rest of the software development team. The offer runs until 100 copies have been sold at the special price of £2.56 / $3.60
No Comments »
« Previous Page — Next Page »