Posted by Chris Alcock on 31 Jul 2009 | Tagged as: .NET, Development, Morning Brew
Very much looking forward to the Alt.Net UK Conference this weekend, hope to see a few of you there!
- QueryUnit Proof-Of-Concept code released – Davide Mauri shares a proof of concept build of his tool to enable Database code such as queries and cubes to be tested by DBAs using NUnit without them needing to know any .NET code. This looks like a project to watch given some of the proposed features
- Writing a Custom NHibernate Class Validator – Billy McCafferty – Devlicio.us – Billy McCafferty shows how you can use the NHibernate Validator to create validation at the class level, allowing you to validate things across multiple properties, such as this worked example where any one of two properties may be true, but not both.
- Reviewing NerdDinner – Ayende takes a look at the NerdDinner sample application, with a view to (at the urging of Scott Hanselman) creating an NHibernate based version now that Linq to NHibernate is feature complete. Ayende continues with Reviewing NerdDinner: The Select N+1 pitfall where he looks at a possible N+1 select problem which could be triggered from a view.
- CodeRush vs CodeRush Xpress? – Rory Becker highlights the differences (and the amount of stuff you get for free) between CodeRush and CodeRush Xpress. I’m a ReSharper man myself, however if you aren’t using a tool like this, CodeRush Xpress looks well worth a go
- What’s the difference, part one: Generics are not templates – Eric Lippert takes a look at one of the stranger (and more confusing) aspects of Generics, how the framework decides which method to call when the signitures could be the same
- Microsoft Demo Showcase Suite Release at WPC2009 – Lachlan Cash highlights the new Microsoft Demo Showcase Suite, launched recently to partners, andJoe Beernink talks about the processes, practices and principles that his consulting company used in the creation of it in a series of 8 parts thus far.
- August’s Toolbox Column Now Online – Scott Mitchell highlights a number of interesting projects and resources for the .NET Developer in his monthly column for MSDN Magazine
- Creating a Data Access layer using Unity – Martin Hinshelwood takes a look at using the Unity Dependency injection framework to create an easily configurable data access layer
- Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 15: ASP.NET MVC – Brad Abrams continues his series on Silverlight 3 and the RIA Services with a look at sharing application logic between ASP.NET MVC and Silverlight
- Excerpt from ASP.NET MVC Framework – Sams Publishing share the first chapter from Stephen Walther’s book on ASP.NET MVC on Code Project
- WebResource access in ASP.NET MVC – Rick Strahl talks about the parts of the ASP.NET web forms API which are available in ASP.NET MVC when using ASPX pages, and the problems in consuming them from non-ASPX pages, and issues a plea for Microsoft to open up some of the interfaces so the dependency can be broken
1 Comment »
Posted by Chris Alcock on 30 Jul 2009 | Tagged as: .NET, Development, Morning Brew
- Babel Obfuscator: Babel 22.214.171.124 Has Been Released – Alberto Ferrazzoli highlights the release of Babel 2.0, the second major release of this Code Obfuscator which is a complete re-write removing the dependency on the Microsoft Phoenix Framework, and includes nice features to remove any unused code
- Out-of-band security bulletins – Ronan Geraghty highlights two major security fixes from Microsoft released yesterday and in KB971092 Fails to install – Guy Barrette talks about some problems he had installing Visual Studio update, and highlights a work around
- Commenting your Code – Buck Woody shares his code commenting best practices. His examples are for SQL code, but the principles follow into most languages
- Every character has a story #32: U+1e9e (CAPITAL SHARP S, Microsoft edition – Part 1) – Michael Kaplan explores some of the interesting aspects of character sets, and non a-z characters. In part 1 he looks at the font representations of one such character, and in Part 2 looks at some of the issues surrounding input, sorting and case
- Ravings of a Developer TS : Hey Microsoft Coders! Free Stuff (Training, Books, Magazines) to Sharpen your skills! – Angela Binkowski highlights some great free resources for the Microsoft developer, including subscriptions to MSDN Magazine, free e-books and a huge range of free e-learning courses
- Migrating From Visual Basic 6 and earlier – Bruno Terkaly shares a collection of resources for anyone looking at migrating from VB6 or older, along with some tools for those still working in VB6. I also like the screenshot of VB3…that brings back some happy memories
- Macto, a module features spec sheet for authentication – Ayende starts the planning process for his Macto Prison Management System sample application with a look at how he structures his feature sheets with an example for the authentication system.
- Are You Using Multiserver Queries? – Ben Nevarez highlights a new feature introduced in SQL Server 2008 allowing you to run queries on a group of servers simultaneously – this looks very useful
- Dependency Injection with StructureMap – Following on from his exploration of the concepts behind SOLID, Sebastian at Coding Efficiency looks into Dependency injection using the StructureMap framework
- MEF: Making Extensibility Fun – Martin Rue takes a look at extensibility using the Microsoft Extensibility Framework, telling a story of how MEF can be applied to real problems
- MSDN Flash Podcast – Mike Ormond highlights the UK MSDN Flash Podcast being produced by Eric Nelson, looking forward to listening to some of these on my next train journey
Posted by Chris Alcock on 29 Jul 2009 | Tagged as: .NET, Development, Morning Brew
Another post milestone, the 400th edition of the Morning Brew! Now looking forward to the significant 500 post milestone
- Announcing PostSharp 1.5 RTM and PostSharp 1.0 SP2 – The PostSharp team announce the release of PostSharp 1.5 RTM, with the RTM containing a couple of bugfixes over the RC. This alos signifies the end for PostSharp 1.0, with the release of SP2 this ends the V1.0 line.
- T4MVC 2.4 updates: settings file, sub view folders, ActionName support and more – David Ebbo unleashes version 2.4 of his ASP.NET MVC T4 Templates, which includes a number of new features, and some bugfixes over the previously publicised 2.2 release. Significant new features include separate settings file, support for Views in sub folders, support for moving the master T4MVC template outside the web root, and a whole bunch more
- Subtext Security Issue and Patch – Phil Haack shares the details of how to fix a security vulnerability in the SubText blog engine, along with a complete release which includes the fix.
- Spark output caching – Louis DeJardin talks about the new caching features of the Spark View Engine, influenced by Phil Haack’s discussions of donut caching
- Code Contracts – Melitta Andersen talks about the .NET 4 Code Contracts feature giving a nice overview of the functionality in this article for the August edition of MSDN Magazine
- Sending List of Complex objects to Sql server 2005 and persisting it in the database – Aashish takes a look at sending complex objects to the database for persistence by using XML serialisation to convert the object to XML and using the SQL server XML functions to retrieve the data in the stored procedure. Sample code is provided
- DDD and Code ReUse – Jérémie Chassaing continues the discussion started by Udi Dahan on code reuse, with a look at the types of reuse, focusing heavily on application code reuse and talking about how a Service bus can help bring together bounded contexts
- My ideal IDE – Jimmy Bogard talks about his dream IDE looking at the types of features the IDE would have such as multi monitor support, full keyboard operation (no need for a mouse) and a lack of designers and wizards
- SQL Server 2005 – Fast Running Totals solution with ordered CTE update? – Mladen Prajdi? takes a look at how Common Table Expressions (CTE) can help with one of the oldest problems in SQL, running totals
- Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 13: The New Class Library Project – Brad Abrams continues his RIA/Silverlight 3 series with a look at bringing some separation of concerns to his project structure, breaking the various parts apart and looking at the new RIA class library project type
- Free eBook – Developer-Evangelism.com – Joe Stagner highlights a new e-Book by Chris Heilmann of Yahoo about the role of a Developer Evangelist, an interesting read if you fancy a career in this direction, or work for a company which produces technology for techies
- Writing iPhone Sites with ASP.NET MVC – Chris over at FlipBit shares some ASP.NET MVC filters which enable you to serve special views to iPhone users of your website
- Pay Attention to the Foreach Implicit Casting – A level 100 article on something which can possibly catch you out to do with the implicit casting which occurs when you spin through a collection using for each
- Incremental Delivery and Continuous Design – Jeremy D. Miller talks about, and provides some additional links on the subject of Incremental Delivery and Continuous Design, the topic for his MSDN Magazine article for August
- RIA Services With Silverlight 3 – Part 1 – Faisal Khan starts a new series of posts over at dotnetslackers on the Silverlight 3 and RIA Services
- Webinar: Driving unit testing in the organization – Roy Osherove and Gil Zilberfeld of TypeMock are running free webinar on a introducing and improving Testing in your organisation, to be held at two time slots tomorrow, allowing attendees from most timezones to attend. UPDATE: This is actually today, I slipped a day
4 Comments »
Posted by Chris Alcock on 28 Jul 2009 | Tagged as: .NET, Development, Morning Brew
- STM.NET on DevLabs – Somasegar announces the availability of STM.NET an experimental enhanced version of the .NET Framework 4 beta 1 which brings Software Transactional Memory for C#, allowing you to create chunks of code that execute atomically
- The First Few Milliseconds of an HTTPS Connection – Jeff Moser digs down into what goes on when we shift to an HTTPS connection. I’m a strong believer in understanding the underling principles of the technology we use, so a good understanding of things like HTTP (And HTTPS) are important as they underpin most of what a developer deals with these days, and Jeff provides a great run through of HTTPS in this article
- 6 Books That Should Be On Every .NET Developers Bookshelf – Charlie Chen highlights the 6 books he considers to be essentials for any .NET Dev, and I have to say I agree
- Improving Mono’s compatibility with .NET CLR – Miguel de Icaza talks about how the Mono team improving and filling in the gaps in Mono by making use of the Test suite for Silverlight Class Libraries which Microsoft have provided to create versions of Mono which better support the DLR based languages
- Pitfalls – Ayende talks about a specific bug in some sample code about DateTimes and starts a discussion of the common warning signs that indicate that there may be a problem in some code, and some of the common coding errors. Comments are well worth reading on this one.
- Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 12: DataSet – Brad Abrams continues his Silverlight 3 series with a look at using entities backed onto the ADO DataSet but still using the RIA toolset to deal with paging ad validation.
- Bugs in IE8’s Lookahead Downloader – Eric Law takes a look at one of the Internet Explorer 8 page performance enhancements, abut looks at some of the bugs and problems it can cause.
- Multithreading in C# (with Asynchronous Delegates) – Kevin Babcock talks about the use of Aysnchronous Delegates to easily introduce multi-threading into your applications, exploring the concepts vaia real world example.
- Log Elmah errors in Team Foundation Server – Martin Hinshelwood shows how you can integrate ELMAH (Error Logging Modules and Handlers) error logging into issues in TFS
- Iterator Blocks, Part Six: Why no unsafe code? – Eric Lippert closes out his series on Iterator blocks with a look at why you are not allowed to use unsafe code inside an iterator
- Polling by sleeping versus polling by waiting with a timeout – Raymond Chen talks about two different strategies for having background tasks run in you application, looking at the pros and cons of them, and offering an alternative way.
- Reading Code: Rhino Mocks – Mark Needham talks about a recent code reading session he had looking at the Rhino Mocks mocking framework, and sharing his experiences of the code reading process and a little about how Rhino Mocks works.
- Macto, or How To Build a Prison – Ayende gives a little more background on the problem space for his forthcoming end-to-end sample application series.
Posted by Chris Alcock on 27 Jul 2009 | Tagged as: .NET, Development, Morning Brew
- NHibernate Linq 1.0 released! – Ayende announces the 1.0 release of NHIbernate Linq, a Linq provider for NHibernate based entities which has been a part of NHContrib for a while, and is now a standalone NHibernate Release
- Caliburn v1 Release Candidate 2 is Available! – Rob Eisenberg announces the second release candidate of Caliburn 1, a library which aims to help in the development of WPF and Silverlight applications bringing implementations of common UI patterns.
- Process Monitor 2.5 – Mark Russinovich and Bryce Cogswell share the news of the latest release of Sysinternals Process Monitor, introducing a number of improvements over the previous version such as IOCTL and error result decoding, Quick filtering in summary views and by-directory and by-extension views in the file summary dialog
- Blacklight v4.1 Update Released – Martin Grayson announces the latest update to BackLight, a 4.1 release which fixes a few bugs and adds a few features to the V4 release from last week
- Announcing Bling 3! – Sean McDirmid shares the latest release of Bling, a C# based library which uses a DSL to aid the creation of WPF UI including visual effects such as animation, interactions and visualisations
- Visual Basic gets some T4 Toolbox love – The T4 Toolbox now supports C# and VB as a template languages – Greg Duncan highlights the T4 Toolbox project which now supports both C# and VB.NET as templating languages
- Is Your Application Ready for Windows 7 RTM? – Yochay Kiriaty talks about the steps you should be taking to ensure your Windows Applications are Windows 7 compatible, and also talks about how you can enhance your applications to take advantage of the new features in Windows 7
- How MassTransit Publish and Subscribe works – Mike Hadlow continues exploring the Mass Transit service bus with a look at how it implements the Publish Subscribe pattern
- Using an Associated Metadata Class outside Dynamic Data – David Ebbo looks at uses of the Associated Meta Data Class outside of Dynamic data to attach additional information to classes when they are defined partially
- Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 11: The Client-Only World – Brad Abrams continues his series of posts on Silverlight 3, with part 11 ignoring the RIA Services and looking at some of the client side functionality
- Generic Expression Builder – Jan Van Ryswyck shares some generic code which helps in the construction of Fluent Interfaces for expression builders for domain classes, using reflection to set properties.
- Selenium Test Powered by jQuery.parcel – ‘Luning’ talks about using jQuery.parcel to improve the writing of Selenium tests by making the code more expressive and succinct, comparing it to the normal way of writing selinium tests
- Guidelines for Better Unit Tests – Mark Levison gathers together some best practice guidelines for writing better unit tests from various recognisable names in the development sphere.
- Macto: An end to end sample – Ayende announces a series of posts and screen casts which will look at building an end to end sample application to illustrate many of the principles he talks about regularly, and in his post ‘More on Macto‘ he reveals that the problem domain will be a Prison Management system.
- Flow control in T-SQL Scripts – Merrill Aldrich looks at the common control flow structure in TSQL, exploring GO, RAISERROR, RETURN, and looking at combining them all in a sample
- .NET Support for More Than 64 Processors – Sasha Goldshtein announces a C++/CLI wrapper called Multi-Processor Extensions for .NET which aims to work around the .NET Limit of only being able to address 64 processors natively despite Windows 7 and Server 2008 R2 supporting 256 processors. This library allows you to investigate the processors on the machine and assign .NET Threads to different processor groups.
- Refactoring challenge #2 – functionally illiterate – Jimmy Bogard sets his second refactoring challenge, once again based on some code in AutoMapper, this time looking at the configuration of the matching algorithm used to match members
- Introducing exception signatures – Markus Olsson talks about some work he did in his organisation to capture and group exceptions by introducing an Exception Signature which allowed similar exceptions to be gathered together. Code to do this is included in the post
Posted by Chris Alcock on 24 Jul 2009 | Tagged as: .NET, Development, Morning Brew
- ReSharper 4.5.1 is Available – JetBrains announce ReSharper 4.5.1, a maintenance build which contains a vast array of bugfixes and minor improvements to the product
- NHibernate Caches 2.1.0GA – The NHibernate Team share the news of a new release of the NHibernate Caches project taking its version to 2.1.0GA Also updated is NHibernate Validator 1.2.0 Beta1 , the NHibernate based validator framework which also now runs with NHibernate 2.1
- Two IronPython releases in 1 week – Dino Viehland shares the news of a busy week in the world of IronPython with two releases in one week, a bugfix release which is IronPython 2.0.2, and the second release being the second and final beta release of IronPython 2.6
- TestApi v0.3 Released! – Ivo Manolov announces the release of TestApi 0.3. TestApi is a collection of test and utility APIs which make testing WPF, winforms, and win32 applications easier
- Microsoft Tag API announcement – The Microsoft Tag Team announce the release of their API for the creation of Microsoft Tag images from the comfort of your own application
- Basic Unit Testing Guidelines – Chris Eargle shares some great guidance for writing Unit Tests, looking at the structure and naming of tests along with highlighting the differences between Unit and Integration tests
- NHibernate and NDepend – skimming the surface – Ayende continues the discussion about NHibernate’s structure based on the NDepend analysis from Patrick Smacchia, and some further analysis carried out at Ayende’s request
- Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 10: LinqToSql – Brad Abrams continues his Silverlight 3 series with a look at using the RIA (Rich Internet Application) Services with Linq-toSql
- Speed Up the Visual Studio Toolbox – Steve Wellens shares a simple confuguration tip to improve the speed of the Visual Studio Toolbox for both Winforms and WebForms
- ComposedRegex – Martin Fowler talks about decomposing complex regular expressions into smaller chunks and then composing them together to produce the final regular expression to aid code clarity
- Wrapping collections: Inheritance vs Composition – Mark Needham talks about the two common techniques for wrapping collection classes using Inheritance or Composition, examining when each technique is more suited and looking at the ups and downs of each
- Introducing Fizzler – Colin Ramsey talks about Fizzler, a .NET Library which brings CSS3 style selectors to your .NET Code allowing you to select parts of HTML pages programatically in your .NET Code. Fizzler has just reached a 0.9 release, and is not far off the 1.0 mark.
- ASP.NET AJAX and Client-Side Scripting – Mike Snell shares Chapter 6 from his MCTS Exam book covering ASP.NET 3.5 Development. Chapter 6 looks at the use of ASP.NET Ajax, and looks at the extension controls such as the update panel, progress indicator and timer.
- Silverlight Toys – The folks at Content Master have opened a new site for Silverlight Developers and those who wish to learn Silverlight, containing a number of sample applications and tutorials
- .NET Framework 4.0, Visual Studio 2010, WCF Enhancements – Bruno Terkaly continues his series of posts on what’s new in Visual Studio 2010 and .NET 4 with a look at Windows Communication Foundation changes, C# 4.0 – Dynamic Language Runtime and Covariance and Contravariance
- Feature by feature – Ayende talks about how he thinks about features in his application, looking at how he has been structuring application features recently in building composite applications
- The Template Pattern: A Benevolent Dictator – Ben Yoder takes a look at the template design pattern, examining how it maintains control at the top level, and how that can be both a good thing and a bad thing
- Introducing Rx (Linq to Events) – Jafar Husain talks about the Rx (Reactive) Framework which is included in the Silverlight 3 Toolkit, which he considers to be one of the most exciting additions to the .NET framework since Linq.
- Using IDisposables with LINQ – Keith Dahlby takes a look at working with IDisposable objects in Linq ensuring that items get disposed as consumed, and looking at how you can do deffered queries when you need to dispose
Posted by Chris Alcock on 23 Jul 2009 | Tagged as: .NET, Development, Morning Brew
- When will you get Windows 7 RTM? – Windows 7 hit RTM yesterday, and the Windows 7 Team Blog shares the details of when Windows 7 will be made available to different groups of users.
- Windows Server 2008 R2 RTM’s! – Windows 2008 R2 also joins Windows 7 at RTM state yesterday, and this post from the Microsoft SMB Community Blog gives some of the headline new features
- Microsoft Expression Studio 3 Released! – Microsoft also released Version 3 of Expression Studio, which goes hand in hand with Silverlight 3 to allow you to easily create UI beauty using the tools included such as Expression Belnd, Sketchflow, Expression Web, Expression Encoder and Expression Design
- Latest Updates for SQL Server 2008 are Out – Buck Woody highlights the release of Cumulative Update 3 for SQL Server 2008 Sp1 and Cumulative Update 6 for SQL Server 2008 RTM
- jQuery Ribbon 1.0 RTW and 2.0 sneak peak – Mikael Söderström releases version 1 of his JQuery based Ribbon UI linrary, and shares some insight into what he has planned for v2
6 Comments »
Posted by Chris Alcock on 22 Jul 2009 | Tagged as: .NET, Development, Morning Brew
- Branch-Per-Feature Source Control. Part 2: How (Theory) – Derick Bailey continues looking at using branching for every feature in your source code control, looking in his part at how you actually implement this in theory with nice clear diagrams showing the branch and merge processes needed to make it work
- NHibernate 2.1 Changes Overview – Patrick Smacchia runs the newly released NHibernate 2.1 through NDepend and compares it to the previous V2 release revealing the level of change involved in the creation of 2.1. Patrick also raises some concerns about the NHibernate code bas based on the NDepend metrics which Ayende responds to in his post Answering to NHibernate codebase quality criticism, where he makes the good point that code metrics are only a good indicator if the metric and the software being developed share the same principles and ideas
- Introducing CodePaste.NET – Rick Strahl unvails his first ASP.NET MVC project. CodePaste.NET is a site for sharing snippets of code with people over social networking sites like twitter and facebook. With syntax highlighting for a number of languages and formats and comments this one looks like a useful tool
- Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 7: ADO.NET Data Services Based Data Store – Brad Abrams fills in the gap in his series on Silverlight 3 Business Applications with part 7 which looks at using the Cloud based ADO.NET Data Services to store his data
- Braindump on the Event Aggregator Pattern – Jeremy D. Miller shares a brain dump of his ideas on the Event Aggregator Pattern which will be forming the basis of a chapter in his book on presentation patterns
- Simplify calling ASP.NET AJAX services from jQuery – Dave Ward looks at using the consolidation feature of JQuery’s $.ajax call to make calling ASP.NET AJAX Services easier
- Sending mails, development machine, without actual mail server – Amr ElGarhy shares a useful tip about getting the framework to write emails to disk instead of sending them via SMTP using just config. This is a great little setting I think I will be making some use of in development lots.
- Instantiating types with no public constructors – Kirill Osenkov looks into some details of the Activator.CreateInstance methods and looks at a technique that will allow you to create instances of types which do not have public no parameter constructors
- Creating Games with Silverlight: A Simple Shooter – The Coding4Fun blog walks you through the creation of a simple Silverlight based in space shooting game, with code provided in C# and VB.NET. For added 1980’s computer magazine sample game feel, print the article out and copy type the source code
- Attaching SQL Server database without log file – Gunnar Peipman shows how you can manage to re-attach a SQL Server database with just having the MDF and not the LDF transaction log. Throwing away the LDF is not a good idea, however sometimes it is necessary to re-attach a database this way and this technique may come in handy in those instances
- SOLID – L: Liskov Substitution Principle – Sebastian at Coding Efficiency has been posting a series of posts on the SOLID Principles. Now in the middle of the series taking a look at the Liskov Substitution principle, how concise and clear posts have been giving a nice overview of SOLID
- Good Lazy and Bad Lazy – Mark Needham talks about Developer laziness and how it can be both a good thing and a bad thing
- Don’t castrate your architecture – Ayende talks about how a traditional Web-Business-Data-Database application architecture may not be the best choice when working with NHibernate as you loose a lot of the good powerful features of NHibernate by introducing too many tier boundaries.
- Use Code Analysis to measure the quality of sample code – Habib Heydarian shows how Visual Studio 2010 Team Systems code analysis feature can help identify problems in sample code allowing you to better judge the quality of the sample. That said, I’m of the belief that sample code should be simple and illustrate just the principles which are being demo’ed – too much validation (and other things you would have in production code) in a sample can hide the actual point of the sample.
Next Page »