vote up
0
vote down

Some .Net 4 System.IO.Path static methods you might not know about…

Hajan's Blog - Working with System.IO.Path static class “Hello everyone. Today, I was exploring the System.IO namespace in .NET 4.0 on an ASP.NET web application where I came to few changes, comparing with the previous versions of .NET, related to the
tags: .net
Sep 01 2010 05:23 AM
vote up
0
vote down

Pulled Apart - Part XII: Parsing feeds (ATOM & RSS) in .NET

Note: This is part of a series, you can find the rest of the parts in the series index. I’ve mentioned that a podcatcher is really just two things put together, a download manager and a feed parser. Feed parsing is not the easiest item to build, just
 
Robert MacLean
Aug 31 2010 05:57 AM
vote up
0
vote down

Pulled Apart - Part XII: Parsing feeds (ATOM & RSS) in .NET

Note: This is part of a series, you can find the rest of the parts in the series index. I’ve mentioned that a podcatcher is really just two things put together, a download manager and a feed parser. Feed parsing is not the easiest item to build, just
 
Robert MacLean
Aug 31 2010 03:36 AM
vote up
0
vote down

SubSonic SELECT IN and BETWEEN

For the SQL “select … from table where value in (v1, v2)”, in SubSonic you need to use the SqlQuery statement 1: // numbers is a List<string> 2: SqlQuery query = new
 
admin
Aug 29 2010 08:01 PM
vote up
0
vote down

SubSonic SQLite Data Mappings

int maps to Int32 integer maps to Int64 bit maps to boolean guid maps to Guid long maps to Int64 For the complete listing, please see below code snippet from SubSonic 1: switch(sqlType) 2: { 3: case "varchar": 4: return DbType.AnsiString; 5: 6:
 
admin
Aug 29 2010 06:04 PM
vote up
0
vote down

Pulled Apart - Part XI: Talking to yourself is ok, but answering back is a problem. Why IMPF destroyed CPUS?

Note: This is part of a series, you can find the rest of the parts in the series index. Pull for me is as much about learning as it is about writing a useful tool that others will enjoy and often I head down a path to learn it was wrong. Sometimes I
 
Robert MacLean
Aug 28 2010 10:29 AM
vote up
0
vote down

Pulled Apart - Part XI: Talking to yourself is ok, but answering back is a problem. Why IMPF destroyed CPUS?

Note: This is part of a series, you can find the rest of the parts in the series index. Pull for me is as much about learning as it is about writing a useful tool that others will enjoy and often I head down a path to learn it was wrong. Sometimes I
 
Robert MacLean
Aug 28 2010 12:08 AM
vote up
0
vote down

Pulled Apart - Part X: Visual Studio Rulesets

Note: This is part of a series, you can find the rest of the parts in the series index. Microsoft has offered a great tool called fxCop for a number of years now. This free tool takes your compiled .NET code and runs it against a number of rules to check
 
Robert MacLean
Aug 27 2010 01:13 AM
vote up
0
vote down

Pulled Apart - Part X: Visual Studio Rulesets

Note: This is part of a series, you can find the rest of the parts in the series index. Microsoft has offered a great tool called fxCop for a number of years now. This free tool takes your compiled .NET code and runs it against a number of rules to check
 
Robert MacLean
Aug 26 2010 11:24 PM
vote up
0
vote down

Pulled Apart - Part IX: Windows User Account Control

Note: This is part of a series, you can find the rest of the parts in the series index. Windows Vista introduced a feature called User Account Control (UAC) which added the following to Windows (in addition to a lot of hair pulling by some users).
 
Robert MacLean
Aug 26 2010 02:17 AM
vote up
0
vote down

Pulled Apart - Part IX: Windows User Account Control

Note: This is part of a series, you can find the rest of the parts in the series index. Windows Vista introduced a feature called User Account Control (UAC) which added the following to Windows (in addition to a lot of hair pulling by some users).
 
Robert MacLean
Aug 26 2010 12:47 AM
vote up
0
vote down

The fastest way to install dotless : nubular (nu)!

Did you know that dependency management in the .NET open source space really sucks? For a long time have we been looking at Ruby Gems in envy of the ease of use and simplicity, spawning projects like Horn or  Bricks. And while some of these projects
 
Daniel Hölbling
Aug 26 2010 12:25 AM
vote up
0
vote down

Pulled Apart - Part VIII: Protocol handlers

Note: This is part of a series, you can find the rest of the parts in the series index. I’ve mentioned previously about Pull’s support for protocol handlers (see part 4) which enable the application to subscribe to a feed easily just by clicking a link.
 
Robert MacLean
Aug 25 2010 03:53 PM
vote up
0
vote down

Think you can’t unit test ASP.Net? Here’s a tutorial for one way, using the power of Pex and Moles

Peli's Farm - Pex, Stubs, Moles, QuickGraph, MbUnit, Reflector Addins - New! Unit Testing Asp.NET Applications with Pex and Moles Tutorial “We have added a new step-by-step tutorial to help testing Asp.NET applications with Pex and Moles. You will find
tags: .net
Aug 25 2010 07:33 AM
vote up
0
vote down

SubSpec: Assert and Observation

When writing a test, we should make sure only to have one Assertion per test. The reasoning behind this constraint is simple. If we used multiple assertions and our first one fails, we are not able to retrieve the results from the other ones.  In this
Aug 25 2010 03:25 AM
vote up
0
vote down

Pulled Apart - Part VIII: Protocol handlers

Note: This is part of a series, you can find the rest of the parts in the series index. I’ve mentioned previously about Pull’s support for protocol handlers (see part 4) which enable the application to subscribe to a feed easily just by clicking a link.
 
Robert MacLean
Aug 25 2010 03:25 AM
vote up
0
vote down

Tech·Ed Africa 2010: Want to go for free?

Win 1 of 4 Tickets to Microsoft Tech·Ed Africa 2010 worth R6 150 each!!! Venue:    ICC Durban Date:       17th - 20th October 2010 All you need to do is take a photo of a Microsoft Tag in a really
 
Robert MacLean
Aug 25 2010 01:20 AM
vote up
0
vote down

SubSpec: A declarative test framework for Developers

In my last post I described Acceptance Testing and why it is an important addition to the developer-centric way of integration and unit testing. I also described that Acceptance Tests should be as expressive as possible and therefore benefit from being
Aug 24 2010 02:41 AM
vote up
0
vote down

New posters added to www.newdrp.com

Stolen directly from Zayd Kara’s blog, which is a fantastic read. If you not reading his blog, you should. Our team (editor: our = ATC team at BB&D) have been hard at work and are pleased to announce that following posters have been added to the DRP
 
Robert MacLean
Aug 23 2010 11:59 PM
vote up
0
vote down

Pulled Apart - Part VII: PLINQ, not as easy as first assumed

Note: This is part of a series, you can find the rest of the parts in the series index. PLINQ, which is Parallel LINQ or the ability to run LINQ queries with parallel extensions in .NET 4. The idea is that you take a simple LINQ query and append
 
Robert MacLean
Aug 23 2010 11:59 PM
vote up
0
vote down

Pulled Apart - Part VII: PLINQ, not as easy as first assumed

Note: This is part of a series, you can find the rest of the parts in the series index. PLINQ, which is Parallel LINQ or the ability to run LINQ queries with parallel extensions in .NET 4. The idea is that you take a simple LINQ query and append
 
Robert MacLean
Aug 23 2010 10:57 PM
vote up
0
vote down

New posters added to www.newdrp.com

Stolen directly from Zayd Kara’s blog, which is a fantastic read. If you not reading his blog, you should. Our team (editor: our = ATC team at BB&D) have been hard at work and are pleased to announce that following posters have been added to the DRP
 
Robert MacLean
Aug 23 2010 10:21 PM
vote up
0
vote down

Entity Framework, Show & Tell Swenug Skåne event

If you are nearby or live here don’t be square! First NUG event in Skåne, Sweden for the fall is on September 16 is one with two agenda entries; Entity Framework and Show &amp; Tell raffle. Dag König from Microsoft DPE Sweden will join us to give the
 
Magnus Mårtensson
Aug 22 2010 09:18 PM
vote up
0
vote down

SubSonic: Select Distinct Column Values

To do a select distinct from a column for a database table using SubSonic, it is very straightforward Below is the code to get the unique customer number from the Customer table, and order them in descending order 1: Customer.All().Select(c =>
 
admin
Aug 22 2010 03:44 AM
vote up
0
vote down

Mapping SelectMany to Monads

This is just a quick post to write down one of my findings while I’m currently doing a bit of F# hacking. The bind operation is the backbone of Monads. For the collection Monad (M<T> where M is IEnumerable) this is Enumerable.SelectMany for
Aug 22 2010 03:42 AM
vote up
0
vote down

New Concurrency Support in .NET 4

I’ve been reading about some of the new support for parallelism and concurrency in version 4 of the .NET Framework, and came across a really good paper on parallel design patterns by Steven Toub (most or all of which seems … Continue reading
Aug 21 2010 07:01 AM
vote up
0
vote down

Don’t rely on exception messages

Since the dotless 1.1 release we are finally able to present you with good error messages, telling you what line/column the problem was encountered etc. This has led to some tests like this one: public void
 
Daniel Hölbling
Aug 21 2010 03:48 AM
vote up
0
vote down

It's Dev4Dev's time again!

My favourite gathering of developers happens 2 or 3 times a year, it’s called Dev4Devs. This is a free event which Microsoft runs, where ANYONE can present a topic but they only have 20min! This means that in a morning you see 7 topics and rather than
 
Robert MacLean
Aug 21 2010 12:49 AM
vote up
0
vote down

Pulled Apart - Part VI: A simple download manager

Note: This is part of a series, you can find the rest of the parts in the series index. A podcatcher, like Pull, really is just a RSS reader with a download manager built in to download RSS enclosures. This means that both parts should work and work very
 
Robert MacLean
Aug 20 2010 10:45 PM
vote up
0
vote down

Visual Studio Mobile Site

Did you know that there is a mobile version of the Visual Studio website? I stumbled across it recently and it is fantastic resource to have on your phone. One of the really great parts is the Crack the Code game, which gives you four snippets of code
 
Robert MacLean
Aug 20 2010 10:45 PM
vote up
0
vote down

Visual Studio Mobile Site

Did you know that there is a mobile version of the Visual Studio website? I stumbled across it recently and it is fantastic resource to have on your phone. One of the really great parts is the Crack the Code game, which gives you four snippets of code
 
Robert MacLean
Aug 20 2010 10:26 PM
vote up
0
vote down

Pulled Apart - Part VI: A simple download manager

Note: This is part of a series, you can find the rest of the parts in the series index. A podcatcher, like Pull, really is just a RSS reader with a download manager built in to download RSS enclosures. This means that both parts should work and work very
 
Robert MacLean
Aug 20 2010 10:20 PM
vote up
0
vote down

Notes on .NET Testing Frameworks

When I was introduced to TDD the first testing framework I used was MsTest. Why? Because it was the next best thing available and it had the nice (beginner-) benefit of Visual Studio Integration. Soon after that, when I first hit the limitations of
Aug 20 2010 12:57 PM
vote up
0
vote down

Who needs WebMatrix?

Rick Strahl has published an article describing WebMatrix features and thoughts.Razor and its helpers is trying to make .NET more accessible but the reality is that in order to do useful stuff that goes beyond the handful of simple helpers you still are
 
Salvador Gascon
tags: .net
Aug 20 2010 06:14 AM
vote up
0
vote down

Pulled Apart - Part V: You are a DB server with SQLite

Note: This is part of a series, you can find the rest of the parts in the series index. One of the design decisions for Pull, is that it should just run without the need for an install. This requirement means that everything it needs to run should be
 
Robert MacLean
Aug 20 2010 02:03 AM
vote up
0
vote down

Pulled Apart - Part V: You are a DB server with SQLite

Note: This is part of a series, you can find the rest of the parts in the series index. One of the design decisions for Pull, is that it should just run without the need for an install. This requirement means that everything it needs to run should be
 
Robert MacLean
Aug 19 2010 11:09 PM
vote up
0
vote down

Turing on the light for Line of Business, Forms over Data development with VS LightSwitch - Available NOW for MSDN Subscribers (beta)

Beth Massi - Sharing the goodness that is VB -  LightSwitch Beta 1 Available to MSDN Subscribers Today, General Public on Monday “We just released Visual Studio LightSwitch Beta 1 to MSDN subscribers. Public availability will be this Monday, August
tags: .net
Aug 19 2010 03:39 PM
vote up
0
vote down

Pulled Apart - Part IV: Talking to myself, using memory mapped files for communication

Note: This is part of a series, you can find the rest of the parts in the series index. One of the special features of Pull is the ability to have deal with special protocol handlers for podcasts, for example if you click the iTunes Podcast link
 
Robert MacLean
Aug 19 2010 03:14 AM
vote up
0
vote down

Pulled Apart - Part IV: Talking to myself, using memory mapped files for communication

Note: This is part of a series, you can find the rest of the parts in the series index. One of the special features of Pull is the ability to have deal with special protocol handlers for podcasts, for example if you click the iTunes Podcast link
 
Robert MacLean
Aug 19 2010 12:09 AM
vote up
0
vote down

Pulled Apart - Part III: Get on the bus!

Note: This is part of a series, you can find the rest of the parts in the series index. One of the aspects of Pull is that it had to be multi-threaded, because things like downloading a massive podcast shouldn’t lock up the UI. Threading has become
 
Robert MacLean
Aug 18 2010 01:51 AM