|
|
lizzard
lizzard
 |
|
Stories kicked by lizzard
|
|
published 1 year, 4 months ago, submitted by
powerrush
1 year, 4 months ago
blog.troyd.net — 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: C# | Views: 6
|
|
tags:
.net2.0, Math, C# | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 6 months ago, submitted by
ajdotnet
1 year, 6 months ago
ajdotnet.wordpress.com — 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: C# | Views: 1
|
|
tags:
IDisposable, C# | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 7 months ago, submitted by
rcerff
1 year, 7 months ago
codeproject.com — 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: ADO.NET | Views: 2
|
|
tags:
Persistance, DataObject, ADO.NET | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 8 months ago, submitted by
bsimser
1 year, 8 months ago
weblogs.asp.net — 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: Community | Views: 0
|
|
tags:
.Net, Community | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 8 months ago, submitted by
CharlieCalvert
1 year, 8 months ago
blogs.msdn.com — 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: C# | Views: 3
|
|
tags:
LINQ, C# | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 8 months ago, submitted by
yesthatmcgurk
1 year, 8 months ago
developer.com — 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...
|
|
tags:
System.Transactions | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 8 months ago, submitted by
qn111
1 year, 8 months ago
codeproject.com — 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: C# | Views: 3
|
|
tags:
OO, Database | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 8 months ago, submitted by
donnfelker
1 year, 8 months ago
blog.donnfelker.com — 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: C# | Views: 831
|
|
tags:
API, GoogleMaps, Google | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 8 months ago, submitted by
salim
1 year, 8 months ago
thinktecture.com — 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: Tips & Tricks | Views: 12
|
|
tags:
use-case, Practice, SAO, singlecall, Remoting | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 8 months ago, submitted by
wesnerm
1 year, 8 months ago
wesnerm.blogs.com — C# anonymous methods allow programming in the versatile continuation passing style to be done conveniently, concisely and elegantly. read more...
2 comments
|
category: C# | Views: 1
|
|
tags:
AnonymousMethods | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 8 months ago, submitted by
salim
1 year, 8 months ago
kylefinley.net — 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...
|
|
tags:
Generics, .Net, collection, Custom, Collections | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 8 months ago, submitted by
rimsystems
1 year, 8 months ago
microsoft.com — 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...
|
|
tags:
sp1, download, VS.NET, Vista, VisualStudio | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 8 months ago, submitted by
jeremyjarrell
1 year, 8 months ago
jeremyjarrell.com — 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: C# | Views: 9
|
|
tags:
Predicate, C# | tag it
Everyones tags: | Your tags: | |
|
|
|
|

Sponsored Link: www.carlist.ie
Ads via The Lounge
|