Posted by Chris Alcock on 26 Feb 2010 | Tagged as: .NET, Development, Morning Brew
- .NET OSS dependency hell – Krzysztof Kozmic discusses some of the problems caused by dependencies between different Open Source projects (and the same principle applies with your own projects) looking at some of the ways that direct dependency can be avoided, and some of the things the Castle Project are doing to help.
- "Thread safe"¯ Dictionary(TKey,TValue) – GrumpyDev AKA Steven Robbins takes a look at implementing a Thread Safe Dictionary in .NET 3.5 for a pet project, with a view to moving his project to using the .NET 4 concurrent collections dictionary in the future.
- Coding: Shared libraries – Mark Needham discusses code re-use across projects via a shared library, looking at the types of code you might want to share, some situations where it may seem like a good idea to share when in practice it is not, and some things to be careful about when sharing code
- Noisy code does not equal clean code – Derik Whittaker talks about what he considers to be noise in code, looking at an AutoMapper based example, and showing why he considers certain parts of the usage code to be noise, and looks at a cleaner solution.
- .NET 4.0 And Our Parallel Future – Justin Etheredge takes a look at the Damerau–Levenshtein edit distance algorithm, and shows how the .NET 4 concurrent collections and PLINQ can be combined to make use of multiple CPU cores and improve the performance of the algorithm
- Careful with that axe, part two: What about exceptions? – Eric Lippert continues looking at closing down worker threads, looking this time at the options when a worker thread throws an exception, discussing the possibilities of how your application could behave in that case
- Super Combo: Map + Function Pointer – John Sonmez shares one of his favourite techniques for improving code, combining a map with function pointers and enumerations to help replace a string based switch statement – a nice coding technique, with a good clear example to help explain
- Encrypted Hidden Inputs in ASP.NET MVC – Ashic Mahtab shares a solution for storing secret values in an HTML Form in ASP.NET MVC using encryption and providing the values back to ASP.NET MVC in a seem-less way making their use easier.
Posted by Chris Alcock on 25 Feb 2010 | Tagged as: .NET, Development, Morning Brew
- WSCF.blue 1.0.7 supports VS10 RC – Santosh Benjamin announces the release of a minor upgrade for WSCF Blue, taking the version to 1.0.7, WSCF Blue is a tool for generating web service implementation classes in WCF from the service contract rather than a service implementation, and this updated release brings Visual Studio 2010 RC support in addition to VS2008 support.
- Database theory, your friend for success – Frans Bouma fights the corner for the Relational Database with a look at some of the key concepts in understanding Relation Database Stores
- Sharing the goodness that is VB : Dotfuscator Gets Better (and still FREE) in Visual Studio 2010 – Beth Massi highlights some of the improvements to the free edition of Dotfuscator which is included in Visual Studio 2010, and shares a number of related videos on the Dev Center
- New in .NET 4: Don’t Forget to Dispose() your SmtpClient Instances – Lee Dumond talks about the importance of calling Dispose on objects which deal with unmanaged resources (files, networks, etc), and highlights a change to an existing class which give it a Dispose method.
- ASP.NET, Part 8: Introducing ClientIDMode – Dan Maharry addresses another of the major selling points of ASP.NET 4, the ability to control the identifiers used on HTML elements output by the ASP.NET framework, making it much easier to work with these elements on the client side.
- Is CAS dead in .NET 4? – ‘shawnfa’ talks about some of the changes made in .NET 4 to the way Code Access Security is implemented, and how the Code Access Policy has been deprecated, explaining some of the reasons why and discussing the implications.
- Excerpt #3 from CLR via C#, Third Edition – Jeffrey Richter shares an excerpt from his forthcoming book CLR via C# 3rd Edition, taking a look at the ConditionalWeakTable class.
- The Case of 64-Bit .NET Upgrade Bug – Russell Ball shares a useful reminder of some of the problems you can run into when upgrading projects and running them on different processor architectures even in the .NET world.
- MEF, Silverlight and the DeploymentCatalog – Mike Taulty takes a look at producing a realworld use of the Managed Extensibility Framework in Silverlight, illustrating the principles in some of his previous articles in this screencast.
- How to Setup WinDBG – Chris Clayton shares some tips to ensure that you are getting the most value out of your time working with WinDBG by making sure the environment is correctly configured.
- Sexy Windsor Registrations – ‘Wes’ talks about using the IWindsorInstaller interface to provide an entry point into registering components with the Castle Windsor container in a more fluent way.
- Branching Strategies: When To Branch And Merge – Derick Bailey looks at a couple of different ways of managing your branching in your version control, discussing Branch per feature, branch per team, and branch per iteration patterns, and also looks at The Cost Of Branching And Merging and how that should influence your decision to branch/merge
- Unique Keys versus IDs in Web Applications – Chris Missal discusses the use of human readable (and memorable) identifiers in web applications, and highlights some resources to help make this a reality.
- .Net User Group get-together at QCon London – Mark Nijhof highlights a free ‘Geek Gathering’ in association with NNUG Bergen and the QCon London Conference, to be held in the evening of 11th March 2010 starting at 18:30 (shortly after the end of the second day of the conference), where you will be able to mingle with some of the speakers, and other conference attendees. The event is free, but signup is required
Posted by Chris Alcock on 24 Feb 2010 | Tagged as: .NET, Development, Morning Brew
- ASP.NET MVC 2 Localization complete guide – Alex Adamyan takes a comprehensive look at how to create a Localized ASP.NET MVC application using the ASP.NET MVC 2 RC2 release, exploring view localization, switching languages, Validation, and the effects on caching.
- Why you should check out MVC – Ryan Ohs shares the reasons he believes that you should check out ASP.NET MVC if you havn’t already, exploring some of the common reasons, and a few less common ones too.
- Free Entity Framework v1 eBook – Greg Duncan highlights the availability of a 514 eBook covering a range of Entity Framework V1 functionality, useful if you are working with that version, or simply want to see how things were to better understand where Entity Framework came from.
- System.Uri FAQ – The Network Class Library Team (the folks behind the System.Net Namespace) share a Frequently Asked Questions document on the use of System.Uri, looking at the facilities that it provides.
- Introduction into ADO .NET Data Services/RIA Services – Sacha Barber shares his latest article on CodeProject which takes an introductory look at the ADO.NET Data Services (AKA Astoria) and the Rich Internet Application Services showing the simple use cases (create, update, delete, select and validate) in both of these technologies
- Strengthening your domain: Aggregate Construction – Jimmy Bogard talks about the process of moving from a Model Driven Architecture with and anaemic domain and a number of domain services to a more DDD approach, and the concept of creating valid aggregates in all cases
- Introducing Location in .NET 4.0 – The Sensor & Location Platform Team show how .NET 4 allows you to easily obtain details of where the user is (assuming they have suitable hardware) via the new Sensors API
- ASP.NET, Part 7: A New Viewstate Opt-in Model – Dan Maharry continues his tour of the new ASP.NET 4 functionality with a look at the new Opt In Viewstate functionality which allows easier and finer grain control over which controls are creating viewstate.
Posted by Chris Alcock on 23 Feb 2010 | Tagged as: .NET, Development, Morning Brew
- This is what happens when two Toolkits fall in love… [The February 2010 release of the WPF Toolkit is now available!] – Delay highlights the release of the February 2010 edition of the WPF Toolket, which includes a range of bug fixes to the DataGrid, Visual State Manager, DatePicker and Calendar along with bringing the Data Visualisations library into line with that used in the latest edition of the Silverlight Toolkit
- Babel Obfuscator: Babel 18.104.22.168 Released – Alberto Ferrazzoli announces the release of the 3rd Major version of Babel Obfuscater. This release sees the product becoming a commercial offering, with Professional and Enterprise editions offered at $149 and $249 respectively. A free edition with more limited features still exists, and is roughly comparable with the V2 release.
- Announcing the YouTube SDK for .NET – Frank Mantek of the Google Data APIs Team announces the release of a .NET based Software Development Kit for the YouTube API
- NHibernate Schema Tool (SchemaExport, SchemaUpdate) – .NET Nomad shares a simple command line tool which aims to make it easy to run NHibernate’s Schema Generation routines from both the command line or as a part of your Continuous Integration process. Full Source code available on the projects CodePlex page.
- Setting Up MVC Using StructureMap, Moq and NUnit…Quickly – Garry Pilkington takes a look at getting up and running with his default stack of ASP.NET MVC, StructureMap, Moq and NUnit, showing the code used along the way
- Sharpy – an ASP.NET MVC view engine based on Smarty – Maarten Balliauw takes a look at the Shapry view/template engine which is based on the Smarty engine for PHP and was released recently showing a simple example of it in use, and how you can extend the engine easily.
- An Overview Of System.Collections.Generic – Justin Etheredge follows on from his series on the Concurrent Collections with a look at the standard Generic collections (List, SortedList, LinkedList, Dictionary, SortedDictionary, HashSet, etc, along with the new generic collections added in .NET 4
- GuesPost: Typemock Isolator – Much more than an Isolation framework – Eric Nelson shares the next part in Gil Zilberfeld’s guest post series on Mocking and TypeMock Isolator, taking a look at how TypeMock Isolator allows you to mock out dependencies without changing your production code.
- ASP.NET 4.0, Part 6: New Page Directive Attributes – Dan Maharry continues his look at the new features of ASP.NET 4 with a brief look at the new page directives introduced in the latest release, ClientIdMode, ClientTarget, MetaDescription, MetaKeywords, TargetSchema and ViewStateMode.
- Slaying relational dragons – Ayende talks about complex domains involving lots of entities, and how NHibernate can allow you to get better performance after a little tuning, but also looks at how for certain problems a document database may offer a better solution.
- Careful with that axe, part one: Should I specify a timeout? – Eric Lippert talks about the use of the timeout parameter when joining threads, discussing if it is a good idea, and suggesting that code that behaves is better than having a safety net in the form of a timeout which kills the work.
Posted by Chris Alcock on 22 Feb 2010 | Tagged as: .NET, Development, Morning Brew
- Using Mercurial with CodePlex and GitHub – Jeremy Skinner talks about the Mercurial Version Control system, reviewing its differences from GIT, and showing it in operation against GitHub and CodePlex repositories. Jeremy also has a guide to getting a Mercurial Server up and running on IIS7 located here: Technical Jargon » Hosting a Mercurial Server on IIS7
- Silverlight 4 – Accessing System Devices with Com Interop, such as a Scanner. – Brian Lagunas takes a quick look at COM interop from Silverlight using Out Of Browser applications, showing how it can interact with other applications (Outlook, Excel), running other applications, and doing Text to Speech and acquiring images from a scanner.
- Workflow Foundation Internals (I) , continued in Part II and Part III – Andrew Au takes a look at the innards of Windows Workflow 4 inspired by a similar overview for a previous version in the book Essential Windows Workflow Foundation.
- CQRS and CAP Theorem – Greg Young talks about how Command Query Responsibility Separation can make life easier when dealing with problems with the CAP Theorem which deals with linked principles of Consistency, Availability and Partitionability. Greg also digs deeper into Event Sourcing in his post Why use Event Sourcing?
- Eventual Consistency Is Just Caching – Udi Dahan cuts through all the bother about Eventual Consistency reminding us that Eventual Consistency is what we have whenever we Cache.
- Partial Validation in ASP.NET MVC 2 – Steve Sanderson discusses the change in validation between ASP.NET MVC 2 Release Candidate 1 and RC2, and looks at how you can achieve partial validation under these new circumstances.
- Manipulating Action Method Parameters – Phil Haack looks at a trick using Action Filters and routing to provide a way of mapping between friendly human readable URLs and Ids for use in controllers
- ASP.NET 4.0, Part 5: I’lll Name That Browser In One… – Dan Maharry continues his series looking at ASP.NET 4 with a look at the BrowserCapibilities Object.
- Creating x.509 certificates with Pluralsight self-cert – Mike Hadlow highlights a useful tool from Pluralsight for creating Self Signed x.509 Certificates and installing them correctly on the machine. Mike also highlights a Certificate Authority (StartSSL) who are offering certificates for free.
- Getting Started With Machine.Specifications (MSpec) – Jan Van Ryswyck takes a look at MSpec, talking through the installation of MSpec, and looking at re-creating a BDD style test in its briefer syntax.
- jQuery Custom Element and Global Events – Sergio Pereira takes a look at custom events and global events in the jQuery Framework, showing how a good understanding of them allow you to create good well structured UI Code
Posted by Chris Alcock on 19 Feb 2010 | Tagged as: .NET, Development, Morning Brew
- AutoMapper for Silverlight 3.0 Alpha – Jimmy Bogard announces an alpha level release of AutoMapper for Silverlight 3 which supports the majority of AutoMapper features (all except those that have no meaning in Silverlight), and Jimmy talks about the process he went through to get AutoMapper going on Silverlight.
- Two extensions for VS2008 parity – Noah Richards highlights two simple addins which bring two features of the Visual Studio 2008 editor to VS2010 dealing with the colourisation of foreground and backgrounds of text.
Posted by Chris Alcock on 18 Feb 2010 | Tagged as: .NET, Development, Morning Brew
- ReSharper 5 Beta 2 Released – JetBrains announce the release of ReSharper 5 Beta 2 which now includes support for the Visual Studio 2010 Release Candidate along with improved ASP.NET MVC 2 support along with improvements in usability and in the structural search functionality
- NDepend v3 RC available – Patrick Smacchia announces the first release candidate of NDepend 3. Existing customers will find that their V2 license will work with the pro edition of this release candidate, and new users will be able to get a limited time free trial for the V3 Pro
- AutoPex – Jason Bock announces the 0.1 release of AutoPex, a tool which works with Pex to provide a means of automatically running Pex on methods that have been changed in an assembly, by using the CCI framework to detect changes in the assembly and then firing up Pex to test those methods.
- What have we been up to? – Miguel de Icaza gives a ‘state of the union’ round up of what has been going on in the Mono space over the past few months
- VersionControlTools – Martin Fowler talks about one of the most talked about classes of developer tool – the version control system – looking at the factors that effect the recommendability of a tool, and surveying the version control landscape.
- New MEF Drop (Preview 9) on CodePlex! – Mike Taulty highlights the latest release of the Managed Extensibility Framework, highlighting a number of good resources for more MEF information, and reviews some of the changes that are of particular interest to the Silverlight developer
- ASP.NET MVC 2 Model Validation With Localization – Mickael Chambaud follows on from his previous post on Model Validation in ASP.NET MVC 2 with a look at how you can localize your validation messages using resource files, and how ASP.NET provides support for detecting the language of your user
- ASP.NET 4.0, Part 4: Config Transformation Files – Dan Maharry continues his review of the Config File changes in ASP.NET 4 with a look at the support for applying transformations to the XML config in different scenarios.
- "Understanding Microsoft Virtualization R2 Solutions" – Greg Duncan highlights the availability of this E-Book for Free until the end of this month (Feb 2010), which looks at the usage of the Microsoft Virtualisation technologies.
- Code Contracts By Example – Roy Dictus takes a look at the Code Contracts functionality of .NET 4, showing them in use with plenty of code samples.
- Fun and Games with NHibernate and String Keys – Dylan Beattie blogs about an interesting performance problem when working with NHibernate entities which use a string as their identifier when querying for those entities, caused by casts between string data lengths.
- Tamper Proofing – an implementation (Part 2) – Paul Mason continues with his implementation of tamper proofing for use in NCloak, resulting in a working solution ready to be integrated with NCloak
- Microsoft UK TechDays – London – April 12th to 16th – Mike Taulty highlights the annoucement of the UK TechDays events, including the Visual Studio 2010 launch event. This is a whole week of free all day events held in London, covering the VS2010 release, new functionality of teh release, along with developing for Windows 7 and the Windows Phone. It looks like similar events are running in other countries (for instance, Microsoft TechDays 2010 Portugal over 3 days (20, 21 and 22 of April) in Portugal, including some Alt.Net related talks)
- SQLBits – The 6th Sets – 16 Apr 2010 – London – Sql Bits runs on the 16th April in London, and offers a great alternative to the Microsoft TechDays Windows Mobile session as a way to close out a week of tech events in the city. Registration has yet to open, however you can now submit your session proposals if you are interested in presenting at the event.
Posted by Chris Alcock on 17 Feb 2010 | Tagged as: .NET, Development, Morning Brew
- straighce – straighce, which had its first public release (0.1) yesterday, is a TraceListener which writes to files in a threadsafe, non-blocking way, allowing logging to rotating log files of your applications trace output.
- 60+ .NET libraries every developer should know about. – WebDistortion share a list of over 60 .NET libraries covering a wide range of functionality, giving a brief intro to the top 10, and categorising the remaining into feature areas.
- "FAKE – F# Make" 0.29 released Ready for F# February 2010 CTP and .NET 4.0 RC – Steffen Forkmann announces the latest release of FAKE an F# based Make build tool, which will now happily run under the latest releases of F# and the .NET Framework
- FsCheck 0.6.3 for Visual Studio 2010 RC and F# February 2010 CTP – The FsCheck project gets an update relating to the February 2010 F# and .NET 4 RC releases, removing the dependency on the F# PowerPack, and making it build in both VS2008 and VS 2010
- Announcing a new CLR Team Codeplex Project: CLR Runtime Activation – The CLR Team announce a new CodePlex project which looks at the .NET 4 ability to startup different versions of the .NET runtime, providing a wrapper to deal with the API changes between versions
- Covariance and Contravariance FAQ – Alexandra Rusina sets about answering some of the many Frequently Asked Questions relating to the C#4 Covariance and Contravariance functionality, with plenty of pointers to further information.
- GuestPost: Introduction to Mocking – Eric Nelson hosts a guest post from Gil Zilberfeld on Mocking and Test Doubles, illustrating with a simple example, with this first part of a mini-series on the subject.
- Building an Embodied Social Proxy or Crazy Webcam Remote Cart Thing – Scott Hanselman talks about the creation of a Virtual Scott which can be wheeled about providing him with a better way of interacting with his work colleagues when he is (mostly) working remotely.
- CQRS, Task Based UIs, Event Sourcing agh! – Greg Young continues addressing confusion about Command Query Responsibility Separation, giving an overview of CQRS and explains how it can be separated from the concepts of a Task Based UI, Event Sourcing, messaging and Eventual Consistency
- Async and Parallel Design Patterns in F#: Agents – Don Syme takes a look at F#’s ability to support lightweight reactive agents, and looks at some of the common patterns which are used in the creation of different types of agent
- ASP.NET 4.0, Part 3: Someone has stolen web.config! – Dan Maharry continues his series on ASP.NET 4 with a look at the new minimal configuration web.config files where the default file now contains only 6 lines compared to over 140 for .NET 3.5 sp1.
- Hanselminutes Podcast 200 – Jon Skeet! – Congratulations to Scott Hanselman on hi 200 Hanselminutes podcast. Edition 200 sees Scott chatting to non-other than John Skeet who talks about his C# related interests and his new edition of C# in Depth
Next Page »