Posted by Chris Alcock on 30 Jan 2009 | Tagged as: .NET, Development, Morning Brew
- Many-to-One mapping throwing a ObjectNotFoundException, and how to resolve it - Derik Whittaker highlights a very useful feature in NHibernate (introduced in v1.2 IIRC) which helps you deal with missing entities in Many to One relationships - this is especially useful if you have to interact with a legacy database which has less than ideal referential integrity.
- Back To Basics: Mark and Sweep Garbage Collection - Abhinaba Basu continues his series on Garbage Collection with a look at the Mark and Sweep technique for identifying and removing items that are no longer required
- jQuery 1.3 Cheat Sheet - Kris Thompson shares a nice JQuery 1.3 cheat sheet containing references for all functions and properties of the Core JQuery library
- Students only – Get your hosted Windows Server for nearly NOTHING!! - FrankFi highlights an excellent offer which is a part of the DreamSpark programme for students (which entitles you to a huge amount of free software) allowing you to get a dedicated server from 1&1 at a significantly reduced rate.
- Understanding the Binder – Part 1 - Aarthi Ramamurthy of the CLR team at Microsoft talks a little about the CLR Binder which is used to identify and load assemblies when supplied with their name
- Functional Programming Unit Testing – Part 7 - Matthew Podwysocki move back to looking at refactoring in his latest post in his series on Unit Testing in Functional Programming Languages
- VSTricks - Rory Becker highlights Scott Cate’s Blog where he has continued on from where Sara Ford left off with her visual Studio Tips series when it ended in December. A little over a year ago I was in a similar position to Scott, following on from a great series of posts by a well known name in the industry (In my case following on from the Daily Grind by Mike Gunderloy) Go Give him some support.
- True Swiss don’t like mocks! - Gabriel Schenker explores the use of Mocks and Stubs in Test Driven Development looking at the differences between the two and showing them in use.
- TDD: Test DRYness - Mark Needham talks about the Don’t Repeat Yourself (DRY) principle in unit tests, and highlights a few techniques you can use to avoid repetition.
- C# Single Instance App With Ability To Restore From System Tray (Using Mutex) - ‘devzoo’ shows two useful techniques, on using Mutex to prevent having two copies of an application open, and the other, minimising an application to the System Tray area in this Code Project article
- Cool Delegates - Petar Vucetin explores in some detail the Action, and Func delegates with code examples of them in use.
- F# and Haskell, Estranged Cousins - Rich Minerich explores the commonality between F# and Haskell, taking a trip back through their somewhat shared history to see where the similarities come from
- For vs Foreach on arrays and lists - Jon Skeet shares his benchmarks for the different types of looping around arrays, along with the code for the tests and his benchmarking framework.
- 50% off All Manning Books for DZone Members - DZone have teamed up with Manning Publications to offer 50% off any purchase from the Manning books site. You will have to be quick though, the offer runs out on 3rd February
- European Virtual ALT.NET Meeting on 02/02/2009 - Jan Van Ryswyck announces the first European Virtual Alt.Net Meeting, to be held on 2nd February 2009, starting 7pm GMT. Greg Young will be talking about Domain Driven Design for the event. I’ve been wanting to check these events for a while (having listened to the recordings of the US ones) and I’m really glad that the event has been scheduled at a time that is more suitable for the UK.
2 Comments »
Posted by Chris Alcock on 29 Jan 2009 | Tagged as: Uncategorized
Slightly later than planned, here’s today’s edition….
- Creating a common generic and extensible NHiberate Repository - Chris Marisic shares his implementation of a Generic repository for use with NHibernate
- Hashing Algorithm Roundup - Beau Monday follows on from yesterdays encryption round up with a similar look at hashing algorithms.
- .NET Circuit Breakers - Tobin Harris looks at the concept of a Circuit Breaker in programming, and highlights the Lokad Shared Libraries which contain nice implementations of the Circuit breaker along with code for handling exceptions, retries, etc in an elegant way.
- ASP.NET 4.0: ViewStateMode…giving you more control over ViewState! - Scott Galloway, in continuation of his series of posts on ASP.NET 4.0 , explores some of the viewstate changes coming in ASP.NET 4.0
- Controlling Time - Patrick Kua looks at how you can provide time based tests with times you want by insulating your dependency on the actual time
- Parameter Order Should Be Consistent - Brendan Enrick writes about an annoyance I also discovered the other day about a lack on consistency in parameter order between some common (and related) exception constructors.
- Long division - Eric Lippert explores why when dividing an int by a long returns a long.
- Tales from High Memory Scenarios: Part 2 - Sasha Goldshtein continues his series on High memory use, looking further into the problems encountered, and talks about the use of the debugger to inspect what was going on.
- Much Ado About Monads – Maybe Edition - Matthew Podwysocki attempts to explain what Monads are and why we should care about them, exploring the origins in Haskell, and looking at implementations in F#
- Anonymous Methods, Lambdas, Confusion - Mike Taulty looks at the evolution of the language support for anonymous methods and lambda expressions, working from first principles through to the format we have available now.
- ConfigSectionHandler for Hierarchical configs - Rohit Gupta gives a (mostly code) run through of how you can easily build custom configuration section handlers to read nested config from the application configuration file.
- Annotating Code with .NET Reflector and Review Add-In - Ben Hall looks at using Reflector with a Reviewing add-in for performing code and API reviews
- ASP.NET MVC Source Code Now Available - The source code for the RC1 release of ASP.NET MVC is now available on the ASP.NET Codeplex site.
- User Experience Changes since Beta 2 - The Internet Explorer team talk about some of the User Interface refinements based on user feedback that went into the latest release of Internet Explorer 8 (RC1)
- ASP.NET MVC 1.0 RC1 and T4 Templates - Add Controller. - David Hayden looks into the new ASp.NET MVC IDE integration with T4 templating, providing nice templates for thinsg like controllers, etc
- SQL Server 2008 System Views poster is now available for download! - Aaron Bertrand highlights the availability of the SQL 2008 edition of the System Views poster which details the data contained and the relationships between the system views in the 2008 release of SQL Server
2 Comments »
Posted by Chris Alcock on 29 Jan 2009 | Tagged as: Uncategorized
Problems with Ma.gnolia’s web service have delayed this mornings edition of the Morning Brew - as soon as I can build today’s edition I will post it up
No Comments »
Posted by Chris Alcock on 28 Jan 2009 | Tagged as: .NET, Development, Morning Brew
I don’t know - you wait ages for a release candidate and then three come along in a week(IE, Hyper V Server, ASP.NET MVC)! My reading list was absolutely huge this morning with all the talk about these, so today’s edition is a little larger than usual, and has a special section dedicated to ASP.NET MVC
- ASP.NET MVC 1.0 Release Candidate Now Available - ScottGu gives his usual screen shot rich and detailed release announcement for the ASP.NET MVC 1.0 Release Candidate release, with a look at the improved tooling support, along with details of enhancements to the view, form post support, Unit Testing, Cross Site Request Forgery Protection, File Handling, and Ajax support - See further down today’s edition for a special ASP.NET MVC section.
- MEF Preview #4 Released - Krzysztof Cwalina announces the release of Preview 4 of the Managed Extensibility Framework. It looks like this project is coming to an end as they are now finalising the API
- NCover 3 RC1 is now available - The NCover team have also reached release candidate status on their new Version 3 project, offering a few new features and a number of bugfixes over the previous beta release.
- Fluent NHibernate: Auto mapping and base-classes - James Gregory is continuing his series on Fluent NHibernate at quite a pace. This post talks about auto mapping and how this works with base classes, Introduction to static reflection talks about some of the reflection magic that makes Fluent NHibernate work, and I think you mean a many-to-one sir which explores a common ORM problem of people using the wrong type of mapping for object relations.
- Guidelines for Method Overloading - Dave Donaldson shares some best practices for overloading methods, looking at how you should structure your overloads, and how they should work
- Encryption Algorithm Roundup - Beau Monday gives a nice roundup of the common encryption algorithms, details of their type, strength and if they have been defeated along with a little bit about the history of each.
- Validation Application Block – Unit Test Validation Logic - Steve Michelotti talks about testing the rules used by the Validation Application block, and how when testing you should have separate tests for each thing you are testing, and by that he means each rule you are testing.
- Recursion made simple - ‘himanshuleo’ explores recursion in C#, looking at the different ways of achieving it providing code snippets along the way in this Code Project article
- Tales from High Memory Scenarios: Part 1 - Sasha Goldshtein talks about cache memory usage, garbage collection and how having lots of memory can mean that these things don’t occur when you might want them to.
- ASP.NET MVC options for consolidating HTML - Jimmy Bogard looks at the options for handling common HTML that needs to be included in a lot of places, exploring the strengths and weaknesses of Master Pages, Partials, Partial Requests / SubControllers, and extending HTMLHelper to solve this problem.
ASP.NET MVC RC1
- ASP.NET MVC 1.0 Release Candidate Now Available - (Duplicated from Software Section above) - ScottGu gives his usual screen shot rich and detailed release announcement for the ASP.NET MVC 1.0 Release Candidate release, with a look at the improved tooling support, along with details of enhancements to the view, form post support, Unit Testing, Cross Site Request Forgery Protection, File Handling, and Ajax support
- ASP.NET MVC Release Candidate - Phil Haack gives his announcement of the ASP.NET MVC release candidate, including a short review of some of the key features of the release.
- Controls Collection Cannot Be Modified Issue with ASP.NET MVC RC1 - Phil Haack highlights a known issue with the newly released ASP.NET MVC Release Candidate, and also provides a workaround for this problem.
- ASP.net MVC RC1 - ViewData.Model becomes Model - Ben Hall has a short series of posts on the new ASP.NET MVC beta release, looking at the new Model property of the page, how you can remove the code behind files from your ASPX pages and upgrading from a project from the Beta to the RC1
- Free screencast on ASP.NET MVC - Fritz Onion shares a screencast on introducing ASP.NET MVC - given the ASP.NET MVC RC 1 release yesterday its unfortunate that Fritz doesn’t say which version the screen cast is for
- DDD South West – Saturday 23rd May, 2009 - Steve Sanderson highlights DDD South West, a DeveloperDeveloperDeveloper UK community event to be held in Taunton in South west England. Session submissions are now open for this event, so if you are interested in speaking at an event get submitting your session abstracts
2 Comments »
Posted by Chris Alcock on 27 Jan 2009 | Tagged as: .NET, Development, Morning Brew
- General availability for the Windows 7 Beta to end - The Windows 7 beta download period has been extended to February 10th, so if you haven’t already grabbed the beta release you still have a couple of weeks.
- Pragmatic Internet Explorer 8 (RC1) Testing - The rumours were true, and Internet Explorer 8 RC1 has now been released to the wild. Available in over 25 languages this release is aimed at getting final wide spread testing of what may actually become the final release. As usual, Virtual Machines are available for testing purposes, or you can actually install it on your own machine.
- Microsoft Hyper-V Server 2008 R2 Beta Released - The Microsoft Hyper-V Server 2008 R2 Beta has been released on the Download Center, bringing with it a number of new features such as Fail Over Clustering, live migrations and support for larger hardware.
- Fast Reflection Library - Jeffrey Zhao shares a reflection helper library aiming to help improve performance of reflection operations used by things like Object Relation Mappers
- Video: ASP.NET MVC – Show me the code! - Steve Sanderson shares the video footage from his Developer Developer Developer 7 talk on ASP.NET MVC - I attended this session and throughly enjoyed it, and these videos give a great idea of how this type of event actually is to attend.
- Framework Design Guidelines: Avoiding custom delegates - Brad Abrams continues his series sharing some of the wisdom in the Framework Design Guidelines book - this post discusses why you should use Func<> and Action<> delegates where ever possible over defining your own.
- Ignoring Testing can be Explained, but Never Excused - Chris Missal looks at a number of reasons often given as to why ‘automated testing is mandatory’ is not a common policy in our industry. Interesting reading, and a number of good comments on this post.
- When is a postback not a postback? - Just because it looks like a post back and tastes like a post back doesn’t mean it actually is a post back, Barry Dorrans explains why
- How do you know your tests are good? - Laila Bougria looks at how Test Driven Development can give you better certainty that your tests are good.
- CodePlex 2008 – A Year in Review - Sara Ford looks back at how 2008 treated the CodePlex site, looking at visitor number, top projects, and features introduced
- Back To Basics: Reference Counting Garbage Collection - Abhinaba Basu continues his series on Garbage Collection with a look at reference counting techniques for keeping track of objects in scope.
- Enterprise Library 5.0 kick-off! Spend your $100 wisely! - The Enterprise Library Team are getting ready to start working on Version 5, and are looking to the community to get suggestions for what to include using the virtual $100 method to allow you to show preference for features.
- SQLBits Session voting - Simon Sabin announces that the session voting for the SQLBits 4 conference to be held in Manchester, UK on 28th March 2009 is now open. This is where you as an attendee get to shape the conference you will be going to. Simon also notes that 4 of these sessions will be streamed live - excellent news for those who might not be able to make it in person.
1 Comment »
Posted by Chris Alcock on 26 Jan 2009 | Tagged as: .NET, Development, Morning Brew
- Ora - Home - Ora is a Visual Studio 2008 add-in which gives a nice overview of the code document currently loaded, grouping together properties, methods, etc with custom ordering and making navigation much easier
- MVC Storefront Part 26: Finis - Rob Conery wraps up his MVC Storefront screen cast series after 26 excellent episodes. In this edition Rob gathers together some loose ends, and talks about the future of the storefront codebase.
- DDD & Many to Many Object Relational Mapping - Udi Dahan takes a look at the complexities of Many To Many Mappings using ORM technology from an architectural / DDD standpoint.
- Convention over Configuration in MSDN Magazine - Jeremy D. Miller highlights his latest MSDN Magazine article on convention over configuration, and also highlights David Laribee’s piece on ‘An Introduction to Domain Driven Design’
- New Poll: What’s Keeping You From Using NHibernate? - Davy Brion is interested in finding out why people aren’t using NHibernate, so if you are one of these people, go add a comment to his post letting him know why.
- Total View Validation - Sacha Barber explores cross business object validation for WPF applications in this Code Project article.
- Using Reflection to load unreferenced assemblies at runtime in C# - Jacob Jordan gives a nice summary of using Reflection to dynamically load and inspect assemblies with a view to providing a plug-in / Add-on architecture
- Designing LINQ operators - Jon Skeet explores some of the features you should consider when designing your LINQ operators.
- jQuery Playground from Google - A neat online tool from Google which allows you to experiment with a number of common libraries (such as JQuery, MooTools, Dojo, etc) along with a range of Google API’s right in your browser
- PLINQ - Daniel Moth talks about PLINQ, showing how easy it is to use, and explaining a little about how it actually works
- My thoughts about IRepository<T> - Laila Bougria talks about Generic repositories, what the DDD view is according to the Evans book, and what the DRY (Don’t repeat your self) and SRP (Single responsibility principle) would suggest you should do.
- Quick update - Steve Sanderson give an update on xVal, his validation framework, including news of an xVals provider from the Validation Aspects project, along with some roadmap of where the project is going.
- Null Considered…Harmful? Awful? Annoying? - Jason Bock explores the idea that Nulls might be a bad thing due to their annoyance level and the amount of code you have to write to defend against them. I have to agree a little with this - I wish there was some way of saying ‘This return will *NEVER* be null’ so you can make the IDE tell you you don’t need null checking on that object.
- NHibernate and Future Queries and Part 2 - Davy Brion looks at the new Future Query functionality that will be available in NHibernate 2.1
- Free Webinar – Increase Productivity with .NET and LINQ - Dan Wahlin is giving a free web cast on 5th February 1pm EST covering the productivity improvements that LINQ technologies can bring, with a look at LINQ to Objects, LINQ to SQL, LINQ to XML and LINQ to Entities.
- DDD and deployment challenges: this Tuesday - Gojko Adzic is delivering a session on DDD with distributed systems at Skills Matter (London) tomorrow (Tuesday). The session is free, however you do have to pre-register in order to get in.
- Party with Palermo - March 1, 2009 - RSVP Now - Jeffrey Palermo announces his Party With Palermo event for the Alt.Net / MVP Summit 2009. For the price of one business card you get free food, drink and swag, along with the opportunity to network with like minded folks.
1 Comment »
Posted by Chris Alcock on 23 Jan 2009 | Tagged as: .NET, Development, Morning Brew
- jQuery 1.3.1 Released - The jQuery Team announce the release of V1.3.1, a bug fix only release fixing issues raised in 1.3
1 Comment »
Posted by Chris Alcock on 22 Jan 2009 | Tagged as: .NET, Development, Morning Brew
- Jimmy Bogard Spawns His AutoMapper OOM (object-object mapper) - Jeffrey Palermo highlights a new project by Jimmy Bogard. Auto Mapper is a convention based object mapping library which aims to make it easier to map from domain objects to DTOs
- XGENO.ORM - XGENO.ORM is a new Object Relational Mapper project release on the code.msdn.com site, which appears to be from a Bahrain based company. The empahsis on this project seems to be easy of use, simplicity and performance, so it may be one to watch.
- Real Swiss don’t need SRP, do they? - Gabriel Schenker celebrates his move to Los Techies with an excellent and detailed post on the Single Responsibility Principle, including showing how you can refactor code that violates the SRP into code that conforms.
- ASP.NET MVC Tip #46 – Don’t use Delete Links because they create Security Holes - Stephen Walther highlights an important security consideration for the humble delete link, and how it can be exploited. Another problem with using delete links is that if someone uses one of the many tools to make a website available off line it will follow the delete links and your database will rapidly empty of valid content. Stephen looks at an alternative and safer implementation using AJAX
- Introduction to NHibernate, pt. 4 - Ian Cooper continues his series on NHibernate with a look at the support inheritance amongst entities.
- C#: Builder pattern still useful for test data - Mark Needham considers if the Object Builder pattern still has a place in the .NET 3.5 world where object initializers are now supported.
- Thoughts on Three Monitors for Developers - Just when you though your developers had enough screens, Roland Weigelt talks about life with 3 monitors. Contra to the popular belief, I’ve actually found myself being far more productive with just one (laptop) screen recently.
- Application Patterns for Application Architecture - J.D. Meier announces the Patterns and Practices Application Architecture teams latest patterns, a set of Application patterns covering REST, Rich Clients, Rich Internet Applications and Web Applications.
- All Microsoft SDKs in one place! - Karin Meier highlights a page on the Microsoft site which contains links to all the (50+) software development kits available from Microsoft.
- LINQ Overview Concept Map & Concept map of rough edges in ADO.NET 3.5 SP1 - Eric Nelson shares two concept maps of the technologies and relationships between them for ADO.NET and LINQ
- Shrinking code for the Mix09 10k challenge - Timmy Kokke talks about some code minimisation techniques that may come in handy when working on challenges like the Mix09 10k challenge. Of course you’d never use any of this in a normal system (would you?) but its still very interesting to see what can be done.
- Installing ReSharper 4.5 in an Experimental Visual Studio Hive - James Kovacs talks about his experiences installing the bleeding edge of ReSharper (v 4.5 nightly builds) into the Experimental Visual Studio Hive, allowing it to be kept separate from his main VS installation.
- I am being stalked by CLR bugs - Ayende runs into some strangeness with finalizer behaviour, while a number of commenter’s to the post suggest that this is actually the expected behaviour. Further proof that the devil is in the detail.
- Free E-Book of the Month from Microsoft - David McCollough highlights two free e-books from Microsoft Press in celebration of their 25th year. The e-books are free in the sense that you do have to sign up for the Microsoft Press newsletter in order to get them. The books on offer this month are a SQL Server 2005 Integration Services book and the Winows Server 2008 Core Admin Pocket Consultant.
1 Comment »
Next Page »