Alex Hoffman

Perspective on development, management and technology

Syndication

News

    Subscribe

    IASA Member

Browse by Tags

All Tags » .NET (RSS)
CodeDomProvider - Targeting .Net 3.5
If your using a CodeDomProvider to compile code yourself programmatically in VS 2008, what version of the Framework is targeted? By default it is 2.0, irrespective of which VS 2008 target version (2.0, 3.0 or 3.5) is specified. In order to target the...

Posted Wednesday, August 29, 2007 3:15 PM by Alex Hoffman | with no comments

Filed under: , ,

Adventures in .NET 3.5 Part 4
This is the 4th part in a series. See Part1 , Part 2 and Part3 . Extension Methods continued So, where we left things last time , was with the creation of a Transform () extension method that allowed us to output to the console, lowercase states transformed...

Posted Tuesday, August 07, 2007 11:21 AM by Alex Hoffman | 2 comment(s)

Filed under: , ,

Adventures in .NET 3.5 Part 3
This is the 3rd part in a series. See Part1 and Part 2 . Inferring a Collection Type In C# 3.5, the compiler can (typically) infer the type of a collection. The member type doesn't need to be explicitly specified. var nums = new[] { 1,2,3 }; or var states...

Posted Monday, August 06, 2007 2:36 PM by Alex Hoffman | 4 comment(s)

Filed under: , ,

Adventures in .NET 3.5 Part 2 - Ruby Blocks
In my previous post , I talked about .NET 3.5 Extension Methods and ended by mentioning Ruby Blocks - because they are much admired. As one example in Ruby, one might output the sum of an array of numbers as follows ... list = [1,2,3,4,5,6,7,8,9,10] sum...

Posted Saturday, August 04, 2007 7:11 PM by Alex Hoffman | 3 comment(s)

Filed under: , ,

Adventures in .NET 3.5 Part 1
A "Print" To the Console Because I write a lot of small console applications, I find myself typing ... Console.WriteLine("some text"); in C# again and again. I've always pined for the ability to simply be able to have an object "Print" itself to the console...

Posted Saturday, August 04, 2007 3:34 PM by Alex Hoffman | 4 comment(s)

Filed under: , ,

Number of Types/Methods in IronPython
Thomas and Oren recently showed a couple of scripts in PowerShell and Boo respectively that count the number of types and methods in mscorlib. Here is one possible implementation in IronPython ... import System typeCount = methodCount = 0 mscorlib = System...

Posted Tuesday, June 05, 2007 11:20 AM by Alex Hoffman | 2 comment(s)

Filed under: ,

DDD and SOA Are Unrelated
There seems to be a lot of discussion these days regarding the relationship between DDD (Domain Driven Design) and SOA (Service Oriented Architecture). Udi Dahan says they are orthogonal , and via that post , Richard Campbell says they are opposites ...

Posted Saturday, September 09, 2006 12:02 PM by Alex Hoffman | 5 comment(s)

Filed under: ,

XPO (ORM) vs ADO.NET?
I recently responded to a question on a newsgroup regarding what to use for persisting data - XPO (an Object/Relational Mapper ( ORM ) tool) or Microsoft's ADO.NET . The question was from a Delphi developer new to .NET . For posterity, I've included...

Posted Friday, July 21, 2006 11:43 AM by Alex Hoffman | with no comments

Filed under:

SQL Express 2005 Remote Connections and Backups
SQL Server Express 2005 doesn't allow remote connections by default. Some simple instructions for allowing remote connections can be found at ... http://www.datamasker.com/SSE2005_NetworkCfg.htm . Also grab the free ExpressMaint console utility available...

Posted Monday, May 01, 2006 4:57 PM by Alex Hoffman | 2 comment(s)

Filed under:

Books and an Update to Fritz Onion's Classic
My favorite book on ASP.NET is without doubt Fritz Onion's Essential ASP.NET With Examples in C#, but I've been wondering about an update for 2.0. Looks like the answer is that he'll be co-authoring Essential ASP.NET 2.0 with Keith Brown - can't wait...

Posted Sunday, April 23, 2006 11:16 AM by Alex Hoffman | with no comments

Filed under:

More Posts Next page »