Browse by Tags
All Tags
»
C#
(
RSS
)
.Net
Configuration
Functional Programming
Linq
Performance
Reflection.Emit
TDD
Threading
Threading Patterns
Visual Studio
22 March 2009
How to: Add CData or Text in a ConfigurationElement
I was working on a MsScriptControl based ETL project. One of its requirements is to be able to use vbscript functions in the transformations it performs. It is fairly easy to hard-code functions then register them during start-up all at the expense of maintainability. I guess the better side of me prevailed...
Read More...
17 February 2009
MethodInfo.Invoke vs MethodCall Performance on DynamicMethods
I posted a question on cvega ’s article on using CIL getters and setters to speed up the execution of heavily reflection-based code asking which one will perform better using DynamicMethod.Invoke or using DynamicMethod.CreateDelegate then calling that delegate. On which he promptly replied. But...
Read More...
03 February 2009
Threading Patterns: Producer-Consumer Pattern Examples
This is the third installment to my series of posts about threading patterns. Today we will look into familiar scenarios where we can apply the producer-consumer pattern particularly applications of the ThreadedQueueBase<T> class. Usage Pattern Note that the threaded queue classes that I provided...
Read More...
12 January 2009
Threading Patterns: The Producer-Consumer Pattern
This is the second installment to my series of posts about threading patterns . In the previous article , we looked into the worker thread pattern . It models the concept of thread-per-message by creating one thread per instruction/message pair. This approach is effective in achieving some level of parallelism...
Read More...
10 January 2009
IConfigurationSectionHandler Is Dead! Long Live IConfigurationSectionHandler!
I was tasked to create the configuration functionality of the architectural components for an SOA project that I previously worked on. I took as much time as I can in designing the XML thinking that it will be very easy to process it and churn it into a Configuration class by implementing the IConfigurationSectionHandler...
Read More...
20 December 2008
Threading Patterns: The Worker Thread Pattern
As promised, I am beginning this series of posts about threading patterns that I find useful in everyday coding. To start off, I will introduce you guys to the concept of the worker thread pattern. This article assumes that you know a thing or two about the concept of threading in general. .Net Threading...
Read More...
17 December 2007
Closures and Linq in C# 3.0
Keith posted a great article demonstrating Linqs capabilities. There he was asked if his examples where " closures ". Let me take this opportunity to explain how closures are used in Linq by clarifying what a closure is and showing how the Linq queries are translated at compile time(from linq...
Read More...
26 July 2007
VS 2008 and .NET 3.5 Beta 2 Released
So for those of you aching to try the new partial methods feature this is your chance. You can access it here . Scott Guthrie has a post about the features and an installation note to prevent your older asp.net ajax applications from having a dependency on the asp.net ajax binaries that come with beta...
Read More...
01 May 2007
A Conceptual Concurrent Testing Framework for .Net Applications
Technological advancements in micro-processors suggest an imminent paradigm shift in software development. The sudden shift from old architecture to a new breed of multi–core processors dictates the use of concurrency concepts to optimize performance and to get around synchronization abstractions like...
Read More...
29 March 2007
A Tribute to the Unsung Heroes of C#’s Functional Revolution
Many of us may not have noticed it but C# 2.0 gave us several really cool delegates and methods aimed at providing a gentle transition to the functional programming concepts introduced in C# 3.0 and Linq. This post aims to take a look at these useful yet under appreciated delegates and functions instrumental...
Read More...
23 March 2007
Lambda Expressions in C#
C# 3.0 introduces a new feature called lambda expressions. While this is not a revolutionary thing, it opens up a plethora of new possibilities for .Net programming. This post aims to introduce lambda expressions by providing a backgrounder, looking into its syntax and providing examples along the way...
Read More...
Home
Contact
jakelite
RSS for Posts
Atom
RSS for Comments
Recent Posts
How to: Add CData or Text in a ConfigurationElement
MethodInfo.Invoke vs MethodCall Performance on DynamicMethods
Threading Patterns: Producer-Consumer Pattern Examples
Threading Patterns: The Producer-Consumer Pattern
IConfigurationSectionHandler Is Dead! Long Live IConfigurationSectionHandler!
Tags
.Net
C#
Configuration
Cryptography
Debugging
Functional Programming
intermission
Java
Linq
Performance
Personal
Reflection.Emit
TDD
Templates
Threading
Threading Patterns
Visual Studio
Archives
July 2009 (1)
March 2009 (1)
February 2009 (2)
January 2009 (3)
December 2008 (2)
December 2007 (1)
July 2007 (1)
May 2007 (1)
March 2007 (3)
Search
Go
Community
Home
Blogs
Media
Forums
Groups
Email Notifications
Email Notifications
Go
Projects
daemoniq