Loonquawl

Stories kicked by Loonquawl

C# by Contract - Using Expression Trees(aabs.wordpress.com)

submitted by aabsaabs(850) 4 years, 4 months ago

Using Lambda Expressions to get more bang for my buck! This Article is part of a series exploring the capabilities of .NET 3.5 and how new advances allow the development of a very powerful Design by Contract (or Contract First or Contract Driven Development) system in very few lines. DBC can help you write better code and although the examples in this post are in C#, they will work equally well in VB.NET. read more...

add a comment |category: |Views: 42

tags: another

.NET Framework Library Source Code now available(weblogs.asp.net)

submitted by dalzieldalziel(6230) 4 years, 4 months ago

Scott Guthrie announces that the .NET framework source code can now accessed in Visual Studio read more...

1 comment |category: |Views: 90

tags: another

C# Object Initialization(devtopics.com)

submitted by DevTopicsDevTopics(1050) 4 years, 4 months ago

Fields then Constructor. Static then Base. Derived then Base, except Instance Constructors. read more...

add a comment |category: |Views: 4

tags: another

Borrowing Ideas From 3 Interesting *Internal* Classes in the .NET 3.5 (moserware.com)

submitted by moserwaremoserware(1665) 4 years, 4 months ago

Improve your code by borrowing ideas from System.Linq.Strings, System.Linq.Error, and Microsoft.Contracts.Contract. read more...

add a comment |category: |Views: 17

tags: another

Best type-safe session state pattern. Evar. (statestreetgang.net)

submitted by yesthatmcgurkyesthatmcgurk(4063) 4 years, 4 months ago

We've seen two examples of type-safe session state handling today. This is my version and, I believe, the best. It uses generics, delegates and a session-singleton pattern to keep session object retrieval type safe and keeps cross-cutting down to a minimum. read more...

8 comments |category: |Views: 96

tags: another

Does C# 3.0 Beat Dynamic Languages at their Own Game?(25hoursaday.com)

submitted by zvikarazvikara(275) 4 years, 4 months ago

For the past few years I've heard a lot of hype about dynamic programming languages like Python and Ruby. The word on the street has been that their dynamic nature makes developers more productive that those of us shackled to statically typed languages like C# and Java. A couple of weeks ago I decided to take the plunge and start learning Python after spending the past few years doing the majority of my software development in C#. I learned that it was indeed true that you could get things the same stuff done in far less lines of Python than you could in C#. Since it is a general truism in the software industry that the number of bugs per thousand lines of code is constant irrespective of programming language, the more you can get done in fewer lines of code, the less defects you will have in your software. read more...

1 comment |category: |Views: 6

tags: another

Krypton 2.7.0 UI Controls released(componentfactory.com)

submitted by tafallentafallen(110) 4 years, 5 months ago

Phil Wright has released the latest version of his awesome .net UI toolkit with loads of new UI components. It's great, and a fair chunk of it's free too. read more...

3 comments |category: |Views: 75

tags: another

LINQ let Keyword (How did I miss that)(spellcoder.com)

submitted by bashmohandesbashmohandes(3000) 4 years, 5 months ago

This is strange, because I've been working with LINQ for almost 2 years since (March 2006 CTP), and I've never noticed the new keyword "let" which is used inside LINQ queries to create temporarily variables. read more...

add a comment |category: |Views: 66

tags: another

Optimize Your Code For Multi-Core Machines(msdn.microsoft.com)

submitted by GaussZGaussZ(580) 4 years, 5 months ago

Use the Task Parallel Library (TPL) to easily benefit from multiple processor cores. This introduction gives great examples of how easy it is to rewrite your code for multiple cores and what performance gains await you afterwards. read more...

add a comment |category: |Views: 11

tags: another

Best C# Blogs(devtopics.com)

submitted by DevTopicsDevTopics(1050) 4 years, 5 months ago

What makes a C# blog good? Pretty much the same thing that makes any blog good, but with a focus on C#, of course. read more...

add a comment |category: |Views: 191

tags: another

ASP.NET 3.5 by Scott(weblogs.asp.net)

submitted by RemanReman(1970) 4 years, 5 months ago

The blog entry from Scott read more...

4 comments |category: |Views: 2

tags: another

10 Podcasts Every Developer Should Listen To(randypatterson.com)

submitted by rpattersonrpatterson(745) 4 years, 5 months ago

A list of 10 developer related podcasts, some popular and some rather obscure, ranging in topics from Agile tenets to Architecture best practices. A list I hope everyone will discover at least a few new gems to listen to. read more...

1 comment |category: |Views: 23

tags: another

Why throw; is not allways the best way to rethrow exceptions(blog.vuscode.com)

submitted by malovicnmalovicn(1590) 4 years, 5 months ago

This blog post explains why the standard throw; approach of rethrowing exceptions is not the best in case you care of the full stack trace information read more...

8 comments |category: |Views: 86

tags: another

Linq to Sql Surprise Performance Hit(jdconley.com)

submitted by jconleyjconley(650) 4 years, 5 months ago

JD outlines a classic case of making assumptions while performance tuning. It turns out there are cases where Linq To SQL can take longer to compile a query than the round trip to SQL. read more...

2 comments |category: |Views: 36

tags: another

SQL Server Best Practices -links in TechNet(technet.microsoft.com)

submitted by JemmJemm(9604) 4 years, 6 months ago

Get the real-world guidelines, expert tips, and rock-solid guidance to take your SQL Server implementation to the next level. These SQL Server best practices draw on the extensive experience and expertise from respected developers and engineers at Microsoft, who walk you through the specifics on solving particularly difficult issues. read more...

add a comment |category: |Views: 6

tags: another

Visual Studio Express 2008 Versions Download for everyone!(microsoft.com)

submitted by bladefistbladefist(471) 4 years, 6 months ago

Here anyone can download the express versions! read more...

1 comment |category: |Views: 6

tags: another