Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / .NET / .NET3.0

.NET3.0

.NET3.0

Great Reads

by Aydin Homay
In this article, I tried to show a real benchmark based on presser test method, for a Big Data collection deals on C++, C#, and VB.NET.
by Mike Corley
C# (.NET and Mono) library provider for RRDtool
by aSarafian
An article that tries to clear up the concept of serialization.
by Sergey Sorokin
Use .NET 2.0 configuration features for building a pluggable provider framework for your application.

Latest Articles

by Aydin Homay
In this article, I tried to show a real benchmark based on presser test method, for a Big Data collection deals on C++, C#, and VB.NET.
by Mike Corley
C# (.NET and Mono) library provider for RRDtool
by aSarafian
An article that tries to clear up the concept of serialization.
by Sergey Sorokin
Use .NET 2.0 configuration features for building a pluggable provider framework for your application.

All Articles

Sort by Score

.NET3.0 

by cesar_boucas
A custom derivative of ServiceHostFactory to control how WCF service hosts are created.
by Sambhav Yadav - Sam D Silva
ASP.NET page/master page/user control's life cycle from the perspective of Session and View State
by S. M. Ahasan Habib
I will demonstrate a generic factory method which will create object from interface type parameter from an assembly (either current or provided) with the help of reflection
by V R Shukla
How to access Active Director users on a WinNT network and show them in a dropdown list.
by MarkLTX
Automatically implement INotifyPropertyChanged for every property in Entity Framework 6.0 entity classes
by HiDensity
Class providing methods to count up a string using a definable character set.
by Yossi Yaari
A basic yet generic state machine implementation
by TheCoolCoder
Numbering for Multilevel ASP.Net Treeview using CSS Counters
by nasir_ml
ASP.NET textbox validation made easy.
by Emiliano El Mariachi
Here is a small library to help you have an automatic undo/redo feature without explicit dependency on Undo/Redo system.
by Robby Tendean
Simple implementation guide for log4net in a VB.NET web application.
by Amit_Mittal
An easy way to bind XAML with properties defined in code behind
by Emiliarge
Both MS Access formats (mdb and new - accdb), MSSQL 2008 R2, MSSQL CE, SQLite, MySQL
by Emiliarge
Read and write data to Access databases without limitations caused by the use of the SQL.
by blitzkrieged
An alternative ProgressBar for C# with extra functionality
by Rakesh Vemula
A Windows application which processes your code and shows how much time it takes to execute your code.
by Darkencrow
A multi-drawer style collapsable UI container
by Emiliarge
2 ways to read and write data to *.xls and *.xls files and display it on DataGridView.
by abhinavshastri
How to Call WebService Dynamically and Read WebService Definition
by Kaveh Yazdi Nezhad
A simple solution to capture entire HTML code of a web page which is displaying on Internet Explorer
by Ank_ush
How to change the background color for an MDI parent form in Visual C#This article demonstrates how to programmatically change the background color for a multiple-document interface (MDI) parent form by using Visual C#.When you use a Windows Form as an MDI parent form, the Application...
by Fenil Desai
Check which .NET Framework version is installed from command line
by Gandhi Ashish
Checking Internet Is Connected Or Not From .NET
by J a a n s
For C# guys....using System ;using System.Runtime ;using System.Runtime.InteropServices ;public class Internet{ [DllImport("wininet.dll")] private extern static bool InternetGetConnectedState( out int Description, int ReservedValue ) ; public static bool...
by Anshul R
Dim value As Boolean = My.Computer.Network.IsAvailable can be used in a situation where the only network a system will be connected to is the Internet.Dim value As Boolean = My.Computer.Network.Ping(hostNameOrAddress ,timeout) hostNameOrAddress can be any valid website -...
by Raju_B
Code behind JavaScript
by Abhishek Sur
It is to be noted, .NET has lately introducedResponse.RedirectParmanent() after a long await. The main motive of this is tohave permanent response redirection to the Search Engines.Response.RedirectParmanent() is an extension function introduced in .NET 4.0.Themain motive of it is to indicate
by KK Kod
How to compress JavaScript and CSS files in a web application to reduce page loading time, using GZIP.
by Tyronne Thomas
Connecting to a C# socket with a timeout.
by Anshul R
The Perfect Translation/Conversion of Code
by FatzBomb
How to convert a written number to a numerical value anywhere in a string.
by Thava Rajan
Copy and insert data at any postion in your datagridview
by Bryan Lyman
A method for duplicating a web page (including all scripts and styles) to run as if it originated from your own server, then modify server-side and client-side functionality afterwards.
by Kirankumar Chauhan
Global Resorce File Creation in json Format using ASP.NET
by Aadhar Joshi
Creating job in sql server which automates taking backup of all stored procedures and functions in physical drive.
by chetan virkar
Create a multi-language website in ASP.NET.
by Sreedhar Puligundla
Simple steps to create SQL joins by using SQL Server 2008 Management Studio
by Nirav Prabtani
CTE Query for optimizing complexity of query in sql server
by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
by Monotosh Roy Mon
XML Serialization & Deserialization for converting our object to XML and XML to Object
by Yugal Pandya
Database driven N-Level Dynamic Menu Control using C#.NET and SQL Server with stylesheet CSS
by Muhammad Ahmed Azam
"Database Driven Dynamic Menu Control"
by crackruckles
Days Left Timer VBS self deleting
by Tawani Anyangwe
A dead simple HTML Sanitizer (and HTML Parser) you can use to clean user HTML input.
by Hassan Alrehamy
JSON Deserialization in depth concept and Dictionary mapping. Special Thanks to Dr. Coral Walker
by TnTinMn
UpdateDefaultButton - Allows detecting change in ActiveControl
by Amin Esmaeily
This trick is about how to effectively reduce reserved memory by process.
by Arvind Singh Baghel
I am writing code to encrypt password in connection string in config file and decrypt password while getting connection from config file.
by JRINC
Connect to remote socket via System.Net.Sockets.Socket.Connect method with timeout controlled by System.Threading.Timer
by Anurag Sarkar
How to export DataGridView data to Excel.
by Peter Boyall
Quick routine to extract keys from FederationMetaData.xml
by Steven.Pinto2000
Factorial Simplified using lambda
by Mario Z
Small WinForm application for reading multiple DOCX files and retrieving their text content
by Steven.Pinto2000
Get GCD
by DrABELL
Hello Steven,As FYI: recently I have published on CodeProject a short article (tip) on rather efficient implementation of GCD/LCM based on Euclid algorithm. They use iteration instead of recursion, because re-cursive algorithms in general and in this particular case are relatively...
by Manoj K Bhoir
A Glass style progress bar
by atlaste
How to fix hiding controls in the Visual Studio user control designer
by the retired
High performance C# byte array to hex string to byte array.
by Your Display Name Here
How to use WebBrowser, a form, and an MDI parent to open Excel files
by Abhay@Accenture
How to bind Derived Type in MVC View
by marks-mike
Demonstrates how to cascade delete on a single table that maintains hierarchy by a ParentId that points to the primary key of the same table
by Pankaj_Shukla
This tip describes how to change username/password for a Windows service programmatically.
by Mukund Thakker
In this post, we will see how we can convert date time in "X Time ago" format in C#.
by Mike Meinz
Source code to demonstrate the creation of a new task in Windows Task Scheduler.
by Dread_Sharp
How to build an easy plugin system with C# which only takes about 30 lines of code!
by Sunil P V
How to access a 64bit registry key from 32bit built application in .NET 3.5 and lower
by dapeacenforcement
Easy way to edit the right ListViewItem (Row/Column) after MouseDoubleClick.
by M.Farrukh Abbas
There is no fool-proof technique to catch the browser close event for 100% of time. The trouble lies in the stateless nature of HTTP. I will explain one of them which is very effective and tested
by jfriedman
//Using MooToolswindow.addEvent('unload', Cookie.delete.pass('applicationCookie'));//using JavaScript by itself...//http://www.quirksmode.org/js/cookies.htmlvar eraser = function () { eraseCookie('applicationCookie'); };if(window.addEventListener) window.addEventListener('unload',...
by KazMaxLtd
This article describes how to hide or show TabControl tabs at runtime
by Bernhard Hiller
That's far too obscure.All you need to do is store a reference to the TabPage instance which was removed from the TabPages collection of the TabControl. You may use the form where the TabControl is placed for that purpose.You could also create your own TabControl which has an extra property...
by AdamNThompson
A reusable component for makeing REST service requests using C#
by Member 4742039
How to sort an object list in C#
by Kees van Spelde
To encrypt or not to encrypt with C# .NET
by BenScharbach
How-To Convert a String Collection to a Multi-Enum item using TryParse
by Rajesh Buddaraju
A simplified example is used to describe the state pattern
by Ahsan Murshed
This article gives ideas to developers to increase development time productivity using the free Visual Studio 2010 extensions.
by RickZeeland
Create an Installer which allows to change the Forms application settings in a custom Inno Setup page
by Rajendra D. Patel
How to insert data using stored procedure in ASP.NET
by submit@perpetuumsoft.com
In this post, we will talk about the wonderful Font class.
by TapasU
IsolatedStorage with Log4Net
by barrd
Fix an exception related to ISupportInitialize.BeginInit and learn why it happens.
by Silvercorer
JavaScript validation for textbox special character selection
by maz2331
License Key class to make generating and validating keys easy.
by dgDavidGreene
Helper utility replaces magic string property names.
by dirigo
Preventing a log file from growing forever
by Juan Davel
Managing Application Scoped Connection Strings
by joejames111
Raw input 64-bit .NET classes.
by Yossi Yaari
A solution for monitoring Events called during test.
by Kouji Matsui
This library is simple and is a substitution of System.String.Format.
by muralikannan_t
How to pass values from one Silverlight application to another using WCF service
by textorijum
How to SIMPLY populate TreeView from some sort of "list" variable / object / structure
by Thomas Daniels
A tip about how to set the position of a Windows Forms MessageBox in C#
by HemendraSingh88
Hi, here we will see how to query a DataSet with LINQ(Language Integrated Query).
by munagalasantosh
Receive IPV6 or IPV4 based data using TcpListener
by Demid Korneev
Example of AltNETType use in OpenGL
by Tyronne Thomas
Resolving a hostname in C#
by The Tigerman
Work in progress, but a simple HTML to RTF converter
by Nelson Kosta Souto
Running the same compiled assembly on Windows and Linux.
by Rishikesh_Singh
The article displays how to save user setting or preference at run time.
by Himanshu Thawait
WCF With No config file needed – all setting in code only, No IIS – Self hosted, consume by channel factory
by munagalasantosh
send data to other system using two different ways, one way using IPV6 and other way is IPV4.
by Gautham Prabhu K
Creating and using Service Locator pattern
by jay1_z
The easiest, most straight-forward delegate tutorial.
by Pasan Eeriyagama
Simple Application Error Logging
by Ritesh Ramesh
Using reflection to build a templating engine
by User 4835047
A simple way to serialize DataTables to JSON and push the data to a browser in MVC
by Hernán Hegykozi
Show you how to make a connection dialog developed completely from scratch.
by Mohammed Hameed
Check-in/Check-Out mechanism for TFS - To avoid Build errors and improve productivity.
by puzsol
This outlines a method for being able to submit HMTL tags from a particular ASP.NET text box while still using the page validation for the rest of the page.
by munagalasantosh
Get all the array index where the sum equals or is greater than some x value
by wmjordan
Generic Lists or Generic Types contravariance without casting.
by Juan Francisco Morales Larios
Useful Actions for debugger in System.Diagnostics
by Cory Charlton
A thread-safe implementation of the ObservableCollection class
by Tauseef M
This tool is used for Encryption of Database in SQL Server 2008 Enterprise Edition
by Marco Medrano
Merged two CodeProject articles to make a better control, the TreeListViewEx.
by Tyronne Thomas
Using C# to monitor the bandwidth for wireless devices.
by Mohamed Amine Aboura
Using Google Search By Image within your .NET application
by heemanshubhalla
How to use Masked Textbox control in .NET
by Anton Pious Alfred
The MVC Pattern was first conceptualized assuming all the three actors were present at one place. Since Web Applications have both a client and a server this needs to be applied differently without technology bias.
by Jacky Yiu
Visual cryptography is a cryptographic technique which allows visual information (pictures, text, etc.) to be encrypted in such a way that the decryption can be performed by the human visual system, without the aid of computers.
by Anup Kumar Verma
Printer independent Watermark on webpage print in asp.net & C#
by In the Face of God
Generalize to access data in a database via HTTP
by ShaikAnwar
This topic gives us an idea of how to write Linq queries on Entities & DataTable. This covers some basic querying and also usage of joins and group by using LINQ.
by jmix90
As you may actually know WPF introduced the routed events. These last are no more specific to a single control but they are routed inside the tree of your controls. If you want to stop an event, you can mark it as Handled. If so, the routing engine will stop to propage it. In fact this is...
by Emiliarge
Using WindowChrome from Microsoft.Windows.Shell.dll
by fadi_sayyed
WPF Compare two brushes IsEquals
by Md. Rashim Uddin
XML Serialization and Deserialization in c#
by Tecfield
This post shows how to create a zip package using System.IO.Compressio.
by MacSpudster
Here's a .NET 3.5 version.Basic testing done./// /// http://www.codeproject.com/Tips/315115/Zip-using-System-IO-Compression /// /// mods by GNoter ~ 20120124_094448 /// - Made dotNET v3.5 compatible /// - dotNET v3.5 does not have the optional param capability that dotNET...