lizzard

Stories kicked by lizzard

.NET Framework 3.5 Is Shared Source(weblogs.asp.net)

submitted by benrickbenrick(1020) 4 years, 7 months ago

Microsoft's .NET Framework 3.5 is going to be released open source. read more...

26 comments |category: |Views: 152

tags: another

Banker's Rounding vs. Common Rounding in .NET (blog.troyd.net)

submitted by powerrushpowerrush(3873) 4 years, 10 months ago

Depending on your math background, .NET's rounding functionality MAY NOT work the way you expect!!! Check out the included code to implement an alternative (known as Common Rounding) in addition to .NET's built-in Math.Round() function. read more...

1 comment |category: |Views: 36

tags: another

IDisposable – 1, 2, 3, …(ajdotnet.wordpress.com)

submitted by ajdotnetajdotnet(2940) 4 years, 11 months ago

IDisposable is one of these beasts. Considered to be common knowledge and yet regularly ignored. A well documented pattern and yet occasionaly improperly applied. And this is just the beginning; the finer details are lost more often than not. read more...

4 comments |category: |Views: 13

tags: another

Static analysis to win business and influence others(weblogs.asp.net)

submitted by ScottWScottW(320) 5 years, 1 month ago

How static analysis tools can give a crucial competitive advantage read more...

add a comment |category: |Views: 4

tags: another

Persistent Object Management in less than 300 Lines of Code(codeproject.com)

submitted by rcerffrcerff(160) 5 years, 1 month ago

There's a lot of repetitive work associated with the writing of data classes within the data access layer of an N-tiered architecture. Apart from adding a column to the relevant database table, adding a field to the class involves adding a private variable to hold the field value, a property to expose it to other classes, and several lines to make sure the field is included in insert, fetch, and update operations. If you're using stored procedures (very silly for CRUD queries) that several more modifications to make. This is dull work I'm sure you'll agree. Presented here is a lightweight method for taking away all this tedium, such that you only have to add a getter/setter property in order to add a field to a data class. The technique involves abstracting SQL query writing and execution, and variable storage in data access classes to a base class. In the implementation presented here I've named this base class "PersistentDataObject". The "less then 300 lines of code" referred to in the title of this post are the lines of code in this base class, the database access class it uses, and a couple of exception classes used as markers to add clarity to exception origins. The complete code is included at the end of the post. read more...

2 comments |category: |Views: 7

tags: another

New home and new owner for Tree Surgeon(weblogs.asp.net)

submitted by bsimserbsimser(1240) 5 years, 1 month ago

Have you ever spent a few days setting up a new development tree? Have you ever spent several days setting up several development trees? Have you even spent weeks trying to perfect all your development trees using a set of best practices? If the answer to any of the above answers is 'yes', then you'll like Tree Surgeon! Tree Surgeon is a .NET development tree generator. Just give it the name of your project, and it will set up a development tree for you in seconds. More than that, your new tree has years worth of accumulated build engineering experience built right in. Tree Surgeon has a new home and new owner on CodePlex. read more...

add a comment |category: |Views: 1

tags: another

Fast Switching with LINQ(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 5 years, 1 month ago

Jomo Fisher from the Microsoft C# development team shows how to use LINQ expressions to implement a very fast look up that can yield a 900% performance improvement over standard dictionary searches. read more...

1 comment |category: |Views: 22

tags: another

Intro to JSON with .NET(msdn2.microsoft.com)

submitted by superghostsuperghost(2260) 5 years, 1 month ago

JavaScript Object Notation (JSON) read more...

add a comment |category: |Views: 47

tags: another

The vastly ignored System.Transactions namespace(developer.com)

submitted by yesthatmcgurkyesthatmcgurk(4063) 5 years, 2 months ago

2.0 introduced transaction support in the .NET framework. Most everyone is aware of transactions and how they work in databases. But few are aware that transaction support is now built into the .NET platform. This article is a good starting point for learning how transactions work in .NET 2.0. read more...

add a comment |category: |Views: 12

tags: another

Object-oriented database programming with db4o(codeproject.com)

submitted by qn111qn111(575) 5 years, 2 months ago

db4o at The Code Project. Very interesting discussion between the author and Carl Rosenberger (db4o's architect) can be found in the message board. read more...

add a comment |category: |Views: 14

tags: another

C# Latitude and Longitude Class using Google Maps API(blog.donnfelker.com)

submitted by donnfelkerdonnfelker(1290) 5 years, 2 months ago

Retrieve the Latitude and Longtitude of any addresses in the United States, Canada, France, Germany, Italy, Spain and Japan with this class. Its easy, just call one static method and get the latitude and longitude ... read more...

1 comment |category: |Views: 4837

tags: another

.NET Remoting Use-Cases and Best Practices(thinktecture.com)

submitted by salimsalim(780) 5 years, 2 months ago

Most people who don't know me personally assume that I value .NET Remoting above all other means of developing distributed applications. They might also assume that I'll use Remoting as a catch-all solution to any distributed application. read more...

1 comment |category: |Views: 39

tags: another

Continuation Passing Style & Anonymous Methods(wesnerm.blogs.com)

submitted by wesnermwesnerm(220) 5 years, 2 months ago

C# anonymous methods allow programming in the versatile continuation passing style to be done conveniently, concisely and elegantly. read more...

2 comments |category: |Views: 59

tags: another

Creating a Generic Collection Class with Sorting Support in .NET 2.0(kylefinley.net)

submitted by salimsalim(780) 5 years, 2 months ago

One of the coolest new features in .NET 2.0 is the introduction of Generics. For those of you that have been creating tons of strongly typed collections for your business objects I'm sure you had the same reaction I did when you heard about them. "Sweet!! Now I can stop generating and tweaking derived collection classes all over the place!!" (This is assuming you've all been using some sort of refactoring tool that can generate the collection classes for you, I hope you have.) OK, so now we know we can create strongly typed collections in our code. You might be wondering why I'm suggesting we still create a separate collection class and not just use the generic collections included in the System.Collections.Generic namespace. The idea is that we can create our own collections that support generics that provide us with specific needs that we might commonly use or need for a specific application. In this article I will present a simple collection class which both supports Generics as well as Sorting. read more...

add a comment |category: |Views: 100

tags: another

Visual Studio SP1 Update for Vista Final(microsoft.com)

submitted by rimsystemsrimsystems(6119) 5 years, 2 months ago

The Visual Studio 2005 Service Pack 1 Update for Windows Vista addresses areas of Visual Studio impacted by Windows Vista enhancements. Download the final version (direct link to MS Downloads). read more...

add a comment |category: |Views: 13

tags: another

The Predicate object(jeremyjarrell.com)

submitted by jeremyjarrelljeremyjarrell(2685) 5 years, 2 months ago

Did you know that you can use the predicate object to significantly reduce the amount of code that you write? You can also use it to make the code that you do have to write incredibly more elegant. Here's how! read more...

add a comment |category: |Views: 53

tags: another