Questions tagged [.net-2.0]
The 2.0 version of the .NET Framework.
9
questions
3
votes
2
answers
672
views
Byte extension methods for common bitwise operations
I'd like to learn how I can optimize the following byte extension methods.
I'm targeting .NET Standard 2.0 but I'm curious if there are any ways to go about some of this functionality using features ...
3
votes
1
answer
156
views
Read characters slowly (Threading with delay, .NET Framework 2.0)
Couple of months ago I was asked to develop a console app to do the following:
Write an application that takes an array of ICharacterReader
interfaces, accesses them in parallel, and outputs a ...
4
votes
1
answer
365
views
Return a paged DataTable
Is there a better way to do it and have it be .Net 2.0 compatible?
...
4
votes
3
answers
784
views
Central Database class
I have this web site I inherited as part of my job and it has some old code. I'd like to optimize it, but I don't really have the time to do it right, so I'm looking for some "low hanging fruit" to ...
3
votes
3
answers
1k
views
Validating the value of a property of an object
This code snippet is intended for validating the value of a property of an object. The min and max range is supplied as an .xml file like Nhibernate .hbm files. Since the data-type of the property is ...
3
votes
1
answer
2k
views
Automatic Databinding of controls to Model [closed]
I have developed a prototype framework (MVVM) where control on the form is bound to a model property using a naming convention and its UI behavior is controlled using custom attributes.
As of now the ...
4
votes
1
answer
347
views
Repository Pattern Review
I have following code for a library management system.
Is the following code a proper implementation of the Repository Pattern?
How can I adapt this code to use generics?
Should I let ...
9
votes
1
answer
4k
views
Database Class Creator
Overview
I've written a class that will create C# code. The output is a single .cs file for each table in the default database (the database is defined inside a web.config file). I'm looking for a ...
6
votes
2
answers
9k
views
Database access class
I'm looking for any comments or feedback on my database access class. Security and speed are two things I'm most concerned about.
One thing to note is this class has to work in a C# .NET 2 ...