October 2010
Monthly Archive
Posted by Chris Alcock on 18 Oct 2010 | Tagged as: .NET, Development, Morning Brew
Software
Information
- Writing a Compiler in C#: Parsing, Part 1 – Sasha Goldshtein moves on from Lexing to look at parsing of C# code, and how it takes the output of the lexing stage and gives it meaning, exploring the use of the Backus-Naur Form to represent code.
- Hidden Facts of C# Structures in terms of MSIL – Abhishek Sur explores the differences between Structs and Classes, looking at the key behaviours and illustrating them with some samples before digging into the Intermediate Language representations and comparing further
- Some Best Practices for C# Application Development (Explained) – Kunal Chowdhury shares a number of C# best practices, providing both the ‘rule’ and some explanation for the rules existence
- Better Rate Limiting in .NET – Jack Leitch discusses the creation of RateGate, a simple library for controlling the rate at which items are processed from a collection, discussing a number of strategies for achieving the rate limitation, sharing an implementation and looking at its use in LINQ and parallel code. Full source is available.
- Free Books – Qink have a very wide ranging list of Fre Programmer related e-books covering a huge range of topics from Graphics Programming to VIM with lots of interesting stuff in between. There are also a number of other great resources mentioned in the comments.
- Windows 7 Development Resources – Jennifer Marsman shares a huge collection of Windows 7 Developer resources, highlighting blogs of note, Hands-on labs, forums and SDKs
- Windows Phone 7 – Application Lifecycle – Ocean for the Phone – Karl Shifflett discusses the application lifecycle of Windows Phone 7 applications, exploring and sharing a sample application which logs the key method calls in the applications lifecycle. Karl also looks at using his port of the Ocean Framework to the Windows Phone 7 to provide validation, access to isolated storage, and additionally some helpers for tombstoning the application
- Fiddler and the Windows Phone 7 Emulator – Eric Lawrence shares a workaround for getting the Fiddler HTTP Debugger working with the Windows Phone 7 emulator in the final RTM edition.
- RavenDB – The Image Gallery Project (XII) – Integrating our view with ASP.NET MVC – Rob Ashton continues with his Image Library implementation using RavenDB and ASP.NET MVC. This part explores tying the view together with ASP.NET MVC, and hooking up and testing Image retrieval
- A Feature-driven Comparison of Entity Framework and NHibernate – Fetch Plans – Dino Esposito looks at the implementation of FetchPlans in both NHibernate and Entity Framework, looking at where they are similar and some of the differences between the implementations.
- Benoit Mandelbrot – Luke Hoban remembers the mathematician Benoit Mandelbrot and his most famous discovery the Mandelbrot fractals, and shares two implementations for calculating and displaying these fractals in F# and JavaScript.
- Diverse.NET – Ian Cooper replies to Rob Conery’s post from last week on adopting open source projects with a discussion on Open Source Alternatives, and the Microsoft ‘habit’ of creating their own and stifling the open source pre-cursors. Ayende replies to this post sharing his own thoughts on this stifling in his post’re: Diverse.NET‘
- Building polyglot packages for OpenWrap and NuPack, Installing OpenWrap from the sources, Using NuPack as a package repository in OpenWrap & Creating your own OpenWrap repository on a file-share – CodeBetter’s latest addition to their Blogging lineup, Seb Lambla, kicks off his time on the site with a number of posts on his OpenWrap package management system, discussing how you can build packages for NuPack which work in OpenWrap too, how you can get started and install OpenWrap, Utilise the NuPack package repository from OpenWrap and creat your own OpenWrap repository
- LINQ: Introducing The Take Last Operators , Implementing The TakeLast Operator & Implementing The TakeLastWhile Operator – Paulo Morgado talks about his implementations of a Take Last operator for LINQ, talking about how they offer a better performance than the common Reverse method, discussing the code and implementation of two complementary operators.
Community
- Presentation: Intro to NoSQL – Ayende highlights the availability of the video recording of his NoSQL Introductory session delivered in Aarhus, Denmark for ANUG/Trifork.
Comments Off on The Morning Brew #709
Posted by Chris Alcock on 15 Oct 2010 | Tagged as: .NET, Development, Morning Brew
Software
- Patch for VS 2010 "Scrolling Context Menu" – Scott Guthrie announces the release of patches for Visual Studio 2010 and WPF which resolves a commonly encountered IDE bug where the context menu will scroll unnecessary when there is sufficient screen spaces to show the menu with no scrolling.
- Prism v4 Drop 10 Published – Karl Shifflett highlights the release of Prism V4’s 10th drop release, which brings the project to a code complete status and includes a number of new documentation chapters. Karl also highlights some recent blogposts of his which have been updated to reflect Drop 10.
- VsVim Update Released (Version 0.9.2) – Jared Parsons announces an updated release of VsVim, the Visual Studio Extension which brings Vim keyboard bindings to the Visual Studio IDE. This version is a substantial update adding new motion commands, a rewrite of the Visual Mode, and fixes for memory leaks and other bugs.
- KiGG 3.0 Released – Muhammad Mosa announces the release of KiGG 3.0, a social news platform created in .NET technologies providing a real world sample application which build on ASP.NET MVC 2, Linq to SQL / Entitiy Framework, Patterns and Practices libraries, xUnit.NET, Moq, JQuery and much more
Information
- Updating NuPack Contributor Guidelines – & NuPack Up For Grabs Items – Phil Haack follows up on his previous post on managing contributions on Open Source projects, and talks about a category of issue recorded in NuPack’s CodePlex issue tracker which is intended to provide new contributors with good issues to make a start on
- RavenDB – Image Gallery Project (IX)&- The Basic Image Model – ,(X) – File Storage & (XI) – Our First View – Rob Ashton presses on with his series on building an Image Gallery in .NET using RavenDB to provide the the data store and explores the building of the Image model classes, the uploading of images and the storage of them in documents in the database, and takes an initial look at building ASP.NET MVC Views.
- ChartResult: Testable ASP.NET MVC 3 controller actions that return Chart – Gunnar Peipman continues exploring the ASP.NET MVC3 support for creation of charts, exploring the options for testing chart generation code.
- Making Static Code Analysis and Code Contracts work together, or the CA1062 problem – Terje Sandstrom looks at getting Code Contracts and Static Code Analysis working together, sharing two work arounds which work around the CA1062 warning that combining the two causes.
- CruiseControl.Net and MSTest – Maria Marcano shares notes on setting up CruiseControl.Net to run your projects MSTest based tests, sharing the configuration sections and XSL templates required to generate reports from the test run
- RavenDB – Live projections, or how to do joins in a non relational database – Ayende discusses a new RavenDB feature which has him very excited. Live projections provides a way of pulling data from a related document as a part of the main query, and Ayende illustrates the feature with an example of users and user aliases and querying to return users and their aliases in one result.
- Use a Single Version File For All Projects in a Solution – Mike Hadlow discusses a good practice for ensuring you have common version numbers and other assembly level attributes across all the projects in a solution by sharing a common Version.cs / AssemblyVersion.cs file.
- Gotchas: Assembly Level Attributes in F# – Ade Miller looks at assembly level attributes in F#, and highlights a trick you need in order to get them to compile.
Comments Off on The Morning Brew #708
Posted by Chris Alcock on 14 Oct 2010 | Tagged as: .NET, Development, Morning Brew
Information
- Code Contracts (Part I): Beginning – Oleg Smirnov kicks off a series of posts on Design by Contract using the Code Contracts feature of .NET 4, setting the scene in this first part by looking at how contracts were enforced in older version using exceptions and lots of code.
- How Good C# Habits can Encourage Bad JavaScript Habits: Part 2 & False-y, Testing and Default Values, Comparisons, and Looping – Elijah Manor continues his series on how your programming preconceptions from C# and harm your JavaScript, looking in this part testing and setting default values for parameters, the many values JavaScript considers to be false, Comparison Operators, and the use of For…In loops.
- Cool site of the day: extensionmethod.net – John V. Petersen highlights ExtensionMethod.NET, a user submitted catalog of over 250 extension methods for C# and VB.NET, and a potential time saver – well worth checking out next time you need to write a possibility common extension method.
- ASP.NET MVC 3 Beta: Strongly-typed views in Razor – Gunnar Peipman continues exploring the ASP.NET MVC 3 Beta looking at how you can now create strongly typed views using the Razor View Engine illustrating with a simple example.
- Porting the MVC Music Store to SQL Azure – Steve Yi looks at porting the ASP.NET MVC Music Store sample / tutorial application into the cloud on SQL Azure and a Web Role, walking through the required changes in a step by step manner.
- Entity Framework CTP 4.0 – Database Initialization – Sankarsan explores the Entity Framework CTP 4.0’s ability to create database schema for you on first use when developing using the Code First Approach, showing how to configure and use this mechanism.
- WebMatrix Helpers – Antiforgery – ‘kashyapa’ discusses the purpose and use of the Anti-forgery support in Web Matrix Beta 2, giving background on the protection the anti-forgery feature gives and showing it in use.
- Announcing Two Weeks of Architecting WP7 Apps & Architecting WP7 – Part 1 of 10: Navigation Framework – Shawn Wildermuth kicks off a two week series of posts every week day on building Windows Phone 7 applications. In Part 1 he starts by exploring the navigation capabilities of the platform, showing how you move between screens.
- 31 Days of Windows Phone | Day #14: Tombstoning (Multi-tasking) – Jeff Blankenburg has been progressing his Month of Windows Phone 7 series on a daily basis and is now almost half way there. Day 14 looks at the tombstoning functionality which is intended to be used to restore your application to where it left off when execution is interputed.
Community
Comments Off on The Morning Brew #707
« Previous Page — Next Page »