Browse by Tags
All Tags »
.NET (RSS)
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
More Posts
Next page »