Fredrik Normén
ASP.NET, AJAX, Silverlight, RIA, Architecture, Clean Code
Sign in
|
Join
Home
About
RSS
Atom
Comments RSS
Search
Tags
.Net
.NET 4.0
.NET RIA Services
AOP
Architect
ASP.Net
ASP.NET AJAX
ASP.NET MVC
ASPInsiders
AXAJ
C#
CDN
Code
Defensive Programming
Desigm
Design
Design By Contract
Entitis
HTML
IE8
Microsoft
Multiple return values
MVC Framework
Patterns
Resources
REST Service
RIA
RIA Services
Session
Silverlight
Silverlight 3.0
Silverlight 4
Styles
test
Unit test
VB.Net
Visual Studio 2010
VS 2010
VS2010
WCF Ria Services
Write code
Sponsors
advertise here
Navigation
Home
Blogs
Archives
November 2009 (11)
October 2009 (4)
September 2009 (6)
August 2009 (4)
April 2009 (3)
March 2009 (9)
February 2009 (4)
January 2009 (3)
December 2008 (3)
November 2008 (6)
October 2008 (4)
September 2008 (1)
August 2008 (6)
May 2008 (5)
April 2008 (9)
March 2008 (3)
February 2008 (1)
January 2008 (1)
November 2007 (14)
About
Follow me on twitter
Blogroll
ScottGu's Blog
Johan Lindfors
Nikhil Kothari
Johan Normén
My old blog, for archive purpose
Roger Alsing
Robert Folkesson
Tips
Browse by Tags
All Tags
»
C#
(
RSS
)
.Net
AOP
Code
Desigm
Design
Multiple return values
Patterns
VB.Net
VS2010
Write code
.NET 4.0 is so Lazy
by
Fredrik N
With .NET 4.0 there is a new class added to the System namespace called Lazy<T>. This class is what the name says, lazy. Here is an example where Lazy is used: var lazy = new Lazy<IList<OrderRow>>( () => { var rows = //get order rows;...
Filed under:
C#
,
.Net
,
VS2010
Is it important to write good code?
by
Fredrik N
The last three weeks I have visit several companies and talked about writing good code. It's amazing to see how different developer thinks about writing good code. Here are some comments when I asked if it's important to write good code: - I don't care...
Filed under:
C#
,
Write code
,
Code
Region is an excuse for hiding large files
by
Fredrik N
Often when I take a look at sample code there are a lot of regions. I need to open them all the time, it really start to make me crazy. Why does people even use Region in their code, what's the point of hiding code? I think it's only an excuse to hide...
Filed under:
C#
,
Code
,
VB.Net
Map Objects to one Object
by
Fredrik N
In my previous post I wrote about how we could use Dynamic Compilation for mapping object to object in a configuration file, mosly for fun to simply try something different. I spend a few minutes to see if I could do something more with it. It ended up...
Filed under:
C#
,
Design
The configurable application, no need for recompilation and new deployment!
by
Fredrik N
The following I will write about is something I have used in some projects to see if it gives me any value, I haven't seen any evolutionary results yet, but maybe it's because I often move along to other projects when the previous one is completed ;)...
Filed under:
C#
,
Write code
,
Desigm
,
Patterns
Remove code smell with AOP
by
Fredrik N
During the last years you have probably heard about Aspect Oriented Programming (AOP). Different people like or don’t like AOP. I’m one of them who like AOP. As you may now VB.Net and C# are object orientated languages and with object oriented programming...
Filed under:
C#
,
AOP
,
.Net
Multiple return values, I want this in C#
by
Fredrik N
I so badly want to have support for multiple return values in C# instead of using out parameters. Note: The following is only an example, we can use a struct or an object to create a data structure which will hold the value, but I only use this code for...
Filed under:
Multiple return values
,
C#
More Posts