Jeremiah Clark's Blog

A place to collect my ramblings about Microsoft and the .NET Framework.

Browse by Tags

Tagged Content List
  • Blog Post: Testing Your Unity XML Configuration

    When using Unity as your IoC container , one way to configure the container is to use an configuration section in your app.config or web.config file. A simplified example of this configuration is shown below: 1: <? xml version ="1.0" encoding ="utf-8" ? > 2: < configuration >...
  • Blog Post: Lazy Evaluation requires you to think outside the box

    I was watching a presentation today and there was a point brought up that I found really interesting. Say you have the following LINQ code: 1: int [] iArray = new int [] { 5, 4, 3, 2, 1, 0 }; 2:   3: IEnumerable< int > results = iArray.Select(i => 100 / i); 4:   ...
  • Blog Post: Consume an RSS Feed with .NET 3.5

    .NET 3.5 added some new classes that really help when dealing with RSS/ATOM feeds.  These classes are located in the System.ServiceModel.Syndication namespace in the System.ServiceModel.Web.dll library.  The SyndicationFeed class in this namespace can be used to both expose and consume a feed...
  • Blog Post: Parallel Extensions for .NET - Part 1

    Some of my recent posts have mentioned the Parallel Extensions to the .NET Framework CTP that was released in December by the Parallel Computing Team at Microsoft. This post is meant to give an introduction to the Parallel Extensions, as well as some resources for the project. The Parallel Extensions...
  • Blog Post: Mixing Extension Methods and Anonymous Types

    In my recent post Overcoming the Limitations of Anonymous Types , I talked about ways to get around the method scope and read-only limitations of anonymous types. These were fairly simple examples that used reflection to gather data from the type once it had been passed outside of the containing...
  • Blog Post: Overcoming the Limitations of Anonymous Types

    It seems clear that the new anonymous types feature for C# 3.0 is going to be very useful, however there are a few limitations that come along with them: limited scope and read-only properties. Anonymous types have a method scope. This means that if you pass an anonymous type outside the containing...
  • Blog Post: LINQ Makes Life Easier

    LINQ is really cool. There are tons of examples on the web that show you how to use LINQ to query a database, xml file, text file or collection. This is what LINQ will primarily be used for; to simplify and support the need to provide an association between external relational data and object oriented...
  • Blog Post: C# 3.0 Anonymous Types

    I have been playing around with some of the new C# 3.0 features, and I really have to say that I like the anonymous types. In reality, they do not present a great advantage over typical code defined classes, but they are simple and easy to use and require a lot less code. I really like the fact that...
Page 1 of 1 (8 items)