The Morning Brew #854

Posted by on Wednesday 18th May 2011 | Tagged as: .NET, Development, Morning Brew

Information

  • Eduasync part 5: making Task<T> awaitable – Jon Skeet continues his EduAsync series exploring how the Async functionality which will be included in C#5 can be implemented. In this post Jon attains a full demonstration of Asynchrony by implementing awaitability on the Task<T>
  • C#/.NET Fundamentals: Of Lambdas and LINQ – James Michael Hare shares a nice back to basics presentation looking at Lambda expressions and LINQ extension methods giving developers who are not familiar with them the basic understanding needed to build upon.
  • Diffing Files to Avoid Easy Goofs – Sharon Cichelli discusses a good developer practice – self reviewing your change set before committing to your Version Control System allowing you to identify mistakes, missing comments, etc.
  • Automated builds and versioning, with Mercurial – Nathan Evans discusses and shares his implementation to allow for automated builds run on a build server to be correctly versioned using AssemblyFileVersionAttribute. This post explores the different version number strategies, the creation of MSBuild Tasks to perform the update, and the configuration to get it to all hang together.
  • Display branch name in Visual Studio 2010 title bar – Sebastian Negomireanu highlights a neat method to make multiple instances of Visual Studio working on different branches of the same solution identifiable using a feature of the VS Commands 2010 Extension.
  • Maximizing the lifetime of your SSD – Tom Wijsman shares some excellent advice to help (if you are lucky enough) owners of SSD disks to ensure that they get the best lifetime out of the drive, highlighting a variety of configuration settings and features to enable and disable to keep unnecessary and damaging writes to a minimum.
  • My "Windows 7 Power Users Guide" eBook is Now FREE – Mike Halsey announces the availability of his 170 page Power Users Guide to Windows 7 as a free eBook. The book covers all aspects of Windows 7 in 16 chapters with content applicable to beginners and ITPros alike.
  • Silverlight 5 Beta – Combining Implicit Data Templates & Multiple Windows – Mike Taulty continues his exploration of Silverlight 5 beta, looking this time at how you can effectively work with multiple details windows, sharing a Window Manager class to help when working with a number of windows.
  • An Introduction to Service Bus Queues – David Ingham takes an introductory look at the use of AppFabric Service Bus Queues, discussing scenarios where you should use queues, some of the theory behind their use, and looking at basic uses in code.
  • ASP.NET Suggester – Auto-complete Control – Lisetsky Val shares a nice looking implementation of a multiple select auto complete control for use in your ASP.NET Web applications. The control supports all browsers (including IE6) and has hooks for matched and unmatched items, along with data support for WCF/ Web Service data sources.
  • Using the Windows Phone 7 Advertising SDK – Doug Holland digs into the use of the Windows Phone 7 Advertising SDK which allows you an easy route to generating income from your phone applications, looking at the code implementation and the required account configuration to include Ads in your applications.

Community

  • 21st May 2011 – XPManchester XL2 – XP Manchester are running their second all day event this Saturday (21st May) at MadLab in Manchester. The event is language agnostic and will be exploring a variety of eXtreme Programming topics. The event is free to attend, but registration is required, and if you want an idea of what the last event covered take a look at XPManchester XL – Follow up
  • The Cloud Hack – Saturday 11th June sees ‘The Cloud Hack’ event running in London. This event is an all day Code’a’thon working with the Cloud and a number of public and private APIs, along with support from Microsoft Experts, free trial of Azure and competitions and prizes. Registration is required and places are limited, with free tickets available until 4th June.
  • NxtGenUG – Event: Get down low with SpecFlow – Paul Stack joins the NxtGenUG in Cambridge for a session on Tuesday 21st June, exploring the use of SpecFlow for automating your testing using WatiN and a BDD style of testing.
  • Microsoft Tech-Ed North America 2011 – How to view and access information, videos and resources – Eric Ligman highlights how, even if you are not attending TechEd North America this week, you ca still get access to lots of the great content .

The Morning Brew #853

Posted by on Tuesday 17th May 2011 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • Optional argument corner cases, part three – Eric Lippert continues this series of posts looking at the use of optional arguments in methods in .NET 4, discussing in this post how the optional arguments actually work at the call site, and not, as may people think, by generating methods at compile time for all possible signatures,
  • Outercurve Foundation: Partnering with the open source community – Somasegar discusses the work of the OuterCurve Foundation (previously known as the CodePlex Foundation) over the past 18 months, and highlights te Orchard and NuGet Projects as two successes where Microsoft have worked with the community to produce great results.
  • Announcing Xamarin – Miguel de Icaza talks about the continuation of the Mono project following the closing down of all work on the project by Attachmate. The Project (and team) live on and will be producing an equivalent product line (MonoTouch, MonoDroid, etc) and continuing work on the Open Source aspects of Mono. Good Luck to them – this is important work.
  • Speed up Visual Studio Builds – Arik Poznanski discusses some tips to help improve the performance of the build in Visual Studio when you are working with solutions with large numbers of projects.
  • Windows Phone Choosers – Paul Sheriff continues exploring some of the key features of the Windows Phone platform, looking this time at the use of Choosers, outlining the background and showing the PhoneNumberChooserTask in use.
  • Publish 5 Windows Phone apps, get free advertising – Glen Gordon highlights an offer of free advertising from Microsoft for anyone publishing 5 Windows Phone applications between April and the end of June
  • Playing with dapper Micro ORM and ASP.NET MVC 3.0 – DotNetJalps – Jalpesh P. Vadgama takes a look at the use of the Dapper Micro ORM project in an ASP.NET MVC 3 setting walking through a simple use case.

The Morning Brew #852

Posted by on Monday 16th May 2011 | Tagged as: .NET, Development, Morning Brew

Information

  • Effective Tests: Test Doubles – Derek Greer continues his series of posts on creating effective tests with a look at the theory and use of the various forms of test double, mocks, fakes, stubs to test colaborations between objects in isolation.
  • Effective Tests: Test Doubles – Derek Greer continues his series of posts on creating effective tests with a look at the theory and use of the various forms of test double, mocks, fakes, stubs to test collaborations between objects in isolation.
  • Eduasync part 2: the shape of the caller / async method boundary, Part 3: the shape of the async method / awaitable boundary & Part 4: Filling in AsyncTaskMethodBuilder<T> – Jon Skeet shares the next three parts of his EduAsync series looking at how the Async APIs work, exploring the method boundary between caller and async method, looking at the API implementation, and in part 4 starts to add actual async like behaviour.
  • Using Lazy<T> to Solve Deadlocks in Resource Caches – Rick Brewster.discusses how he was having problems with locking when accessing resources in Paint.NET and how using Lazy<T> helped resolve them by allowing him to remove his own locking for read operations.
  • Parallel Containers – CodeProject – ‘logicchild’ takes a look at the concurrent collection classes available in the .NET Framework, discussing the features and behaviour of each and sharing an example of each in use.
  • Great Free Video Training on ASP.NET Web Forms and ASP.NET MVC – Scott Guthrie highlights the availability of two online video training resources on the ASP.NET website – one for ASP.NET MVC and the other for ASP.NET WebForms. These training resources have been created by Pluralsight, and feature K. Scott Allen and Dan Wahlin in 10 sessions on each technology.
  • Automated Unit Testing – BlackWasp have a nice series of posts on the subject of Unit Testing with NUnit and related techniques, exploring the framework, different types of assertion, and the use of Mocks an Stubs.
  • Aligning Numbers on the Decimal Separator – Ron Petrusha discusses the BCL’s support for formatting numbers, and explores how you can implement number alignment centred on the decimal separator.
  • Code First EF 4.1 : Building Many to Many Relationship – Wriju is in the midst of a nice series of posts exploring a variety of scenarios with the Entity Framework 4.1 Code First Functionality. Along with this post topics explored include the use of Stored Procedures, changing table and column names, Visual Studio templates, and Many to Many relationships.
  • Introducing Real World Windows Azure Guidance & Microsoft UK white papers to help evaluate Cloud Services – The Windows Azure Team highlight a new series of guidance documentation which provides some real world Windows Azure experiences from the community. Eric Nelson highlights three white papers from the UK Enterprise Strategy Team looking at the cloud, and Keyvan Nayyeri discusses his experiences getting up and [Now] Running on Windows Azure
  • Prepare Your Site For IE9 With Pinify – Prashant Khandelwal highlights the newly renamed Pinify library (formerly IE9ify) which provides scripts based on jQuery which easily implement the IE9 Windows 7 Task Bar integration, illustrating its use with a worked example.
  • Windows Phone Launchers – Paul Sheriff discusses the use of the various launchers from within your Windows Phone 7 applications which allow you to jump out of your application to other pieces of functionality within the phone such as the MarketPlace, media player, Phone calls, etc.
  • MSDN Instant Answers – Cameron Skinner highlights a new feature in the MSDN Search giving ‘Instant Answers’ in the form of new search results interface
  • Bulk upsert to SQL Server from .NET – Derek Fowler discusses the SQL Server and NET Framework support for Bulk Insert / Bulk Upsert and how they would make an ideal performant solution for inserting entities in ORMs
  • Nhibernate BatchSize and massive insert – alkampfer discusses the large insert scenario in NHibernate, highlighting how batching of queries makes a dramatic difference to performance by reducing the round trips to the database.
  • PetaPoco and Spatial Data Types – John Katsiotis takes a look at the PetaPoco micro-ORM and explores extending it to provide a way of working with the Spatial Data Types available in recent SQL server releases.
  • Dapper.Net – A Micro ORM that puts you back in control – Michael Ceransk shares a short introduction to Dapper.NET, another micro ORM, exploring some simple use cases and its use in solving them.
  • Stylesheet Limits in Internet Explorer – Eric Lawrence highlights the limits on style sheets in Internet Explorer 6 – 9, discussing why these limits exist due to the way the stylesheets rules are stored in memory.
  • Best Practices to Improve ASP.NET Web Application Performance – Maulik Dusara shares a collection of tips for improving ASP.NET Web Application performance, discussing ASP.NET Specific items along with CLR and Data Access recommendations.

« Prev - Next »