Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Languages / C#3.5

C#3.5

C#3.5

Great Reads

by Anurag Prajesh
Add new user registeration information in XML with C#
by yazanjaradat
Ant-Colony Based Routing Algorithm (ARA) C# Simulation
by Saad_Mahmood
Magical MVVM using power of Expression Blend
by BrokenEvent
.NET WinForms Tray icon implemenation with Win7 and Vista features: GUID identification, large custom icons, custom UI instead of the hint, etc.

Latest Articles

by Anurag Prajesh
Add new user registeration information in XML with C#
by yazanjaradat
Ant-Colony Based Routing Algorithm (ARA) C# Simulation
by Saad_Mahmood
Magical MVVM using power of Expression Blend
by BrokenEvent
.NET WinForms Tray icon implemenation with Win7 and Vista features: GUID identification, large custom icons, custom UI instead of the hint, etc.

All Articles

Sort by Score

C#3.5 

by Anurag Prajesh
Add new user registeration information in XML with C#
by yazanjaradat
Ant-Colony Based Routing Algorithm (ARA) C# Simulation
by BrokenEvent
.NET WinForms Tray icon implemenation with Win7 and Vista features: GUID identification, large custom icons, custom UI instead of the hint, etc.
by Muthu Nadar
This article will explain about null coalescing operator along with its advantage and disadvantage.
by JatinKhimani
Develop a web application in 3 layer architecture code style
by Jeong, WonYoung(Brad)
Making BitField with C# alternative to BitField made with union and struct of C++
by shijo joseph
An ADO.NET Layer for SQL Server and Oracle which makes it easier for interfacing with database
by Southmountain
Some take-away to improve the quality of desktop software
by Marlon Hizole
An elegant approach to pagination
by shijo joseph
An easy to implement yet powerful logging library which requires absolute zero learning curve
by LLLLGGGG
A really simple implementation of a C# menu for console applications
by charles henington
This is an alternative for "Send Mail With Attachment File"
by nilotpalbarpujari
VS 2010 style toolbox written in C#
by gunjan k saxena
This tip will help to create an action filter to compress the contents like Json, partial view, etc.
by Vipin_Arora
Adapter Design Pattern in C#
by Ankit Bansal MVP
This articles explains the insertion of data into SQL Database using Stored Procedures with Output Parameters. Some Bootstrapping is also used to create a good looking HTML.
by JoaoSousa23
Using MVC, Entity Framework, ASP.NET5 Scaffolding, and Azure SQLServer you can create a web application that stores your information on an SQL Azure database. This demo shows you how to create a web application with MVC and Entity Framework 7, that communicate with a SQL Azure Database
by Anurag Prajesh
How to add banner and slideshow in your website with adrotator
by JoaoSousa23
This tip walks you through the steps for creating a ASP.NET MVC 5 Web Application using Bootstrap as template for layout.
by Alex_1
Cool menu, MVC bootstrap menu HTML helper
by JoaoSousa23
This article walks you through the steps for create a report in Excel using EPPlus (ExcelPackage)
by Christopher John Paul
Prevent users from entering comma
by TheCoolCoder
Numbering for Multilevel ASP.Net Treeview using CSS Counters
by nasir_ml
ASP.NET textbox validation made easy.
by Kumar_Jitendra
The asynchronous controller enables you to write asynchronous action methods.
by SREENATH GANGA
Auto updating the exe if the latest exe is available in the network share
by Ordiales
If a Zip file has his origin in Linux or Mac. ZipArchive class can fail trying to return Entries Collection
by Zhuyun Dai
Your build will fail if you print 'Error:' in your custom Build Events of Visual Studio.
by Arkadeep De
Bind an image slider without database in ASP.NET
by manchanx
Tidy, generic solution to bind Enums (with or without a DescriptionAttribute) to a ComboBox or other Controls
by RumataEstorish
Simple code for applying and disabling blur effect on any UIElement
by Rapuru Amarendra
This tip presents an example of datatable in responsive using bootstrap and dataTable.js
by Shamim Uddin
Operator overloading in C#
by Rakesh Vemula
A Windows application which processes your code and shows how much time it takes to execute your code.
by Sameera Millavithanachchi
This is a custom mapper which can be used to map two objects instead of automapper
by emerR46
Simple and easy to use code in resizing all controls
by metastruct
When WebClient, HttpRequest, and all else fail, BITSadmin solves your download woes
by Sem.Shekhovtsov
Caching the entire asp.net 3.5 web forms page using modules.
by Abhay giri
Here we see how can we invoke other orchestration by using Call orchestration shape
by Bob Stoom
New drag-and-drop intuitive engine on the OCR MODI base
by IssaharNoam
Simple and customizable Chat Conversation control, with DataTable datasource, inspired by SMS application balloons in OnePlus One Android smartphone.
by Gerardo Recinto
A Tracer API, simply. :)
by Serge Weinstock
A ComboBox whose suggestion list is based on loose character search
by #realJSOP
This is an alternative for "Compareing Two Complex objects of same class"
by KK Kod
How to compress JavaScript and CSS files in a web application to reduce page loading time, using GZIP.
by Kishan Zunjare
Configure email providers like SMTP/GMail using Dependency Injection.
by SREENATH GANGA
To set the Connectionstring and the other configuration variables in a file and access it dynamically
by Surya Kiran Bonugu
Client Web Application which consumes OAUTH enabled restful WCF service using JavaScript
by Mawy
To control the speed of scroll viewer component in Windows phone
by Sibeesh KV
Convert CellSet to HTML table
by Mahmudul Haque Azad
Suppose we have a base entity class called BaseEntity.We create a child Entity named Status inheriting BaseEntity public class Status: BaseEntityNow lets assume we have two Generic ListList mainList = new List();List childList;Now we want to...
by SREENATH GANGA
Copying the data of a datagridview to clipboard so that we can paste it to Excel
by Prakash Lekhak
Create a Class-Collection of another Class, Extend a class like a List
by Kirankumar Chauhan
Global Resorce File Creation in json Format using ASP.NET
by saurabh sri
Basic steps to create ASP.NET WebApi services.
by Er. Mayank Kothari
Generate barcode image in web application
by how_fun
Create PDF from CRM 2013/2015 online/on-prem with Jscript / plugin. All in the solution file, no custom page or Silverlight.
by Carlos Conceição
This article how you can use TextToCalcExpression to generate Linq Expressions in runtime
by Israel Gebreselassie
This tip/trick shows you how to edit the web.config file dynamically .
by D Sarthi Maheshwari
A suggested solution to create Partition based Dictionary (reducing chances of OOM errors and adding capability to hold bigger KVP set in Dictionary).
by assamheart
Crop a photo and signature from an scanned image
by Narsimlu Keshagouni
The code shows how to implement currency masking (format like $21,900) in Silverlight DataGrid using the IValueConverter. User can edit the data in numbers with out entering the commas.Having knowledge in Silverlight data binding to DataGrid is enough to understand the code.Create a simple...
by defwebserver
Current masking in Silverlight Datagrid
by Kishor Deshpande
Methods which facilitate the conversion from string to value type
by Raja.Krishnasamy
Data Driven Testing in MSTest by using Excel as data source and Named Region as table name instead of sheet name
by Hassan Alrehamy
JSON Deserialization in depth concept and Dictionary mapping. Special Thanks to Dr. Coral Walker
by giaosucan
Introduce the simple way to display 3D Model in your window application
by Sonali Agarwal
Here I am showing the local time in various timezones in the world
by Sunil_Sebastian
Duplicate Notifier for a List using ObservableCollection.
by Yesy
dynamic WPF theme by zip
by Dipankar Hazari
How to populate a dynamically created menu bar from the database according to user credentials using C# .NET and ASP.NET.
by Randy Kroeger
Created a POC that dynamically builds a predicate using Expression and Reflection.
by Nadir Muhammed
Creating an RDLC report by just binding a Dataset
by Mayur Shah
Article describes how to dynamically generate Context Menu Items, requiring separate templates based on items on the collection
by ravgill66
Use LINQ to XML to split an XML file into a number of smaller files
by agent_kruger
There is usually a mis-conception with people thinking "DataGridView Cell.Value" gets the current value of the cell in datagridview. This article will tell you the difference between "EditedFormattedValue v/s Value in Datagridview".
by Kishan Zunjare
Configure different email provider sources using the Provider design pattern
by kennysun
encrypt all stored procedures in SQL server with powershell
by Srinivas Kalabarigi
Encrypt data before sending via QueryString and decrypt upon reception in the target page.
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 Yamin Khakhu
Encrypting the configuration in Web.Config
by Miral Sarwar
It supports in C#.NET and Android platform for Encrypting and Decrypting data.
by Sherjil_Ahmed
Mixing DB-First and Code First Approach for using SPs in EF-Way
by Mostafa A. Ali
A quick introduction to events for absolute beginners
by ArindamSarkar
Tips and tricks to quickly find out how to manipulate Excel using .NET Managed Code
by Sridhar Pasham
Export and import database using SMO
by SREENATH GANGA
This is a tip to export Datagridview to Excel without changing the DataGridview formatting.
by JatinKhimani
Export Gridview data in Excel formate with gridview design.
by Yuriy Anisimov
Expressmapper - lightweight, lighting fast and easy to use .NET mapper
by Md Kamruzzaman Sarker
Bookmark extraction from PDF files and showing it in a treeview.
by Md. Marufuzzaman
Extract only numbers or characters from a set of characters (string)
by Vipin_Arora
It is a tip to implement Facade design pattern in c#
by pavan1361
adding require blocking site in hosts file
by shijo joseph
A simple and fast CSV reader which you can directly use against Oracle and SQL Server databases or for any direct implementation
by Jose Segarra
Fast, really fast, import/export from Excel OOXML
by bbirajdar
How to find an open port in a machine using C#.
by George Swan
The tcpEndPoints array has duplicates and members outside the required range. It may be better to restrict the array members to the required range, sort them, and remove the duplicates. The first free port can then be found by finding the first non-sequential value.using...
by Rajesh Kariyavula
Find the Odds Out in A Generic List
by Andre van Dun
Generate game list based on list of players in C#
by T-C
Use an extension method that applies to any object to Cast to other types
by Bryan Tubbs
This tip will show how to sort a list of a particular class type from a SqlDataReader object by dynamically creating a lambda expression to carry out the process of sorting the list.
by Bankey Sharma
Converting DataReader Result into List of Objects Using Generic Type, Property Attribute and Reflection
by Dr Gadgit
Written in C# and VS2010 as a class libary to be used in your own project.
by suis
Integrating Google direction and geocoding services using C#. NET code behind.
by Komail Haider
.Net control/wrapper for the Google NEW ReCaptcha API 2.0
by sreeyush sudhakaran
Application to add a file header comment at the start of every human-created code file
by Cuba Cubicula
Attached behavior that saves control's template in a file as XAML
by vaid_sumit
Achieving Low Coupling & High Cohesion by applying SOLID principles
by Dr. Vinayak Ashok Bharadi
Homomorphic filtering is a generalized technique for signal and image processing, involving a nonlinear mapping to a different domain in which linear filter techniques are applied, followed by mapping back to the original domain.
by Shivi Gupta Lucknow
Using JavaScript and jquery, I will demonstrate how to call codebehind method from the client side. There are three ways of doing so.
by Mukund Thakker
In this post, we will see how we can convert date time in "X Time ago" format in C#.
by debashishPaul
How to convert LINQ query to DataTable
by Sunil P V
How to access a 64bit registry key from 32bit built application in .NET 3.5 and lower
by Ajitchahal
This is quite useful if you are building a crawler or need to download images from public sources. Transparent images can be easily discarded.
by Gaurav B Sinha
Finding the second largest element in an array using Linq
by Ed Nutting
How to fix LocalDB / SQL Server: "Cannot open database "XYZ" requested by the login. The login failed. Login failed for user ABC"
by Pasan Eeriyagama
how to get gridview selected row value to text box which is in another windows form
by Amit Singh Baghel
Saving Details Table Data (An HTML Table) in Database by converting it into a jagged array and passing it to a table type parameter
by karimbaig5
This tip provides an idea about how to insert a record into a table having no primary key using LINQ to SQL.
by AdamNThompson
A reusable component for makeing REST service requests using C#
by Ricardo R Carneiro
In this tip, I describe how to post/send data of a table (or list) of HTML for a LIST/ARRAY in C#.
by _Rizwan_Khalid_
Here I will show you how we can register and use multiple classes implementing same interface when Autofac is used as dependencies registrar.
by Rohit Nanda
The easiest way to send form data to Google Docs/Spreadsheet from your web page, using your own form and AJAX. Nowadays, Google Docs/Drive is a widely used service for data storage and documents sharing.
by Bitla Phanindra
How to solve error: 404.2 The page you are requesting cannot be served
by Member 4742039
How to sort an object list in C#
by TheKarateKid
Shows how to use simple ASPX page to return JSON or XML response
by Member 13040242
This article explains the Session creation during HTTP Module pipeline
by Rajesh Buddaraju
A simplified example is used to describe the state pattern
by OmarIsaid
Solution for passing data from View to controller, contains useful concepts for beginner developers
by Wladis
Calling Commands and Queries from Razor Views using IML instead of Controller
by Rajendra D. Patel
How to insert data using stored procedure in ASP.NET
by Rachana BG
Use Of JQGrid In ASP.NET Using ASMX Web Services(Paging,Sorting,Add/Edit/Del Functions)
by ArindamSarkar
How to add dropdown inside Editable Kendo Grid
by NightRider92
Custom .NET Numerical Keyboard Control
by nileshwar shukla
Applying Minimum Spanning Tree using Kruskal in Graphs
by Peter Silling
Lambda expressions were introduced in Java 8, and the concept is little bit different than in C#. We'll go through how these things are implemented in C# and in Java.
by Clifford Nelson
If you are having issues with getting the WPF Focus() method working, then maybe all you need to do is add a delay on the Initialized event before setting the focus. This solution is a nice demonstration of the features of TPL, and how easy TPL can make doing asynchronous programming in the UI.
by Programm3r
I sometimes get asked how to get a single object from a generic list based on a LINQ query. i.e. Performing a LINQ query on a generic collection and then returning only the single instance without looping through the collection. Well this is how I do it:public class Person{ public...
by bbirajdar
LINQ: Get all the values from a column in a DataTable in C#
by Kabwla.Phone
Which will crash if the datatype of the column is not a string.You might also want to note that this only works for typed datasets.This version works for all datasets, can handle any datatype, and handles null values: table.Rows.AsQueryable() // make...
by Anand Gunasekaran
Listview Paging Feature to split the records of the listview in sevaral pages.
by tahirshaikh23Dec
Using the Microsoft Translator API with Spy++ logic.
by LShep
This tip describes an IEnumerable extension method that allows you to select an item modulo Count()
by Member 7874525
This how you can monitor your database changes
by Pritam Deshmukh
This tip elaborates few useful tricks and shortcuts of VS 2013 mainly for professional edition (You can find them with Ultimate version too).
by VijayRana
Some useful MVC Attributes (Bind Attribute, HandleError Attribute, HiddenInput Attribute, Remote Attribute)
by SRS(The Coder)
Introduction to ASP.NET MVC & Its Architecture
by JatinKhimani
Nested GridView With Editing Facility of both gridview.
by subhajit bhadury
nKnight - RBAC Solution for C#.NET
by Rofiqul Islam
This tip will help convert numbers to words in C#, SQL Server, and Crystal Reports.
by me.ajaykumar
OData
by Omar Isaid
Passing data from page to another page using Page.Items Property
by Mr. Tapan Kumar
In this article I will describe how to integrate paypal in your asp.net web application
by Anant Beriwal
How to counter crash issue in applications
by Handy Torres
POCO to CAML simplifies creating of CAML queries by using expression trees.
by Vijendra(VJ)
This article shows the what's and how's to use const and readonly variables in one's code
by Sandesh M Patil
Prevent firing button click event when refreshing the page
by lixinwang
Web Controls
by Nadir Muhammed
Easily setup service example with windows application
by vivektiwari97701
Datatype conversion in query (Excel query) add null column for unavailable field in destination database
by gayani dassa
Read & Insert Data Using Stored Procedures
by munagalasantosh
Receive IPV6 or IPV4 based data using TcpListener
by Sumit Samediya
Here we will learn how to remove default background color of ListBox item on selection in Windows Universal App
by Rajdeep Debnath
Replace all HTML tags from text/string
by Mohtshm Zubair
IHttpModule intercepting EndRequest to convert URL passed to Response.Redirect.
by SREENATH GANGA
Restricting a Child Form Opening Multiple Times in Windows Form
by Yogesh Gulve
Return Comma Separated String using SQL
by Arora Sumit
Routing in MVC
by Ahmed E Osama
Run an executable that is inside the resources in C#
by madhusudhanReddy
Running the SQL Script File
by Rumman92
An application which allows user to create the encrypted message and then emails it to the desired person.
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 Abdallah Al-Dalleh
by Bhagyashree Chaudhari - Member 10473634
Show dialog box with very few lines of code
by User-Rock
Silverlight user control validation display techniques
by metastruct
Easy to use class for downloading, uploading, and other FTP commands.
by Pasan Eeriyagama
Simple Application Error Logging
by Godwinsmith
Function to find the exact address of particular latitude and longitude using Google maps service in C#
by Anoop Kr Sharma
In this Tip/Trick, I am going to show How to create Simple Paint Application in C#
by Rumman92
A simple web scraper that loads only the readable contents of a website.
by Atulkumar P Patel
Anti Patterns are wrong practice followed by Developers. They are opposite to Design Patterns.
by Sandeep Kumar Tripathi
This tip is used for creating SSRS Report Subscription by using C#.
by Vashisth121
Tips to manage state during exceptions
by idreeskhan
String interpolation or String handling in C# 6.0 with new feature
by cjb110
A String To Brush Converter for WPF/Silverlight
by dibley1973
Call stored procedures in a type safe way using my StoredProcedureFramework for .NET
by munagalasantosh
Get all the array index where the sum equals or is greater than some x value
by Raja.Krishnasamy
Attached the test data with method for regression testing by declaring ref type in attribute
by Mohammed Ibrahim.L
How to extract a specific text from a webiste
by SREENATH GANGA
Making a TextBox accept Regional Language Input (Malayalam)
by me.ajaykumar
Thread safe collections
by Cory Charlton
A thread-safe implementation of the ObservableCollection class
by LShep
Turn an Enum into a simple state machine via a generic wrapper and modular increment methods
by Shibasis Sengupta
Outlook email recipient type type-ahead feature using Listbox
by 1sumitanand
AutoComplete Textbox with Validations
by Steffen Ploetz
This tip shall help to select the desired GCFunction for fill operations.
by AnuragTripathi
Convertor for Unicode to Krutidev and vice-versa.
by Manoj Deshmukh
Steps to upgrade your Web API Swagger package to 5.2.x version from earlier 4.1.x version
by Sonali Agarwal
Creating a simple Text Editor web application using multiple web services.
by chris.obrien.07
How to create a user friendly way of updating user-id (AccountId) fields
by Deepak Kr Choudhary
This article is about the session use in ASP.NET.
by Md Nazmoon Noor
Uses of Func in C#
by Fenil Desai
Increase ASP.NET Application performance with explicit casting
by OriginalGriff
I've answered quite a few questions in the last couple of months about how to get the physical location of a client from a website. And people seem to get annoyed when I say: "Don't. It's no real use". But that's the truth: you can get it, but it won't be accurate. Let's have a look and see why.
by OriginalGriff
This is really easy - but it's hard to work out for the first time. For example, get a list of files, and group them by the date which is in the 2nd to 10th characters of the name, ignoring extensions. Easy!
by grantliu
Utilize NLog.net in a Service-oriented architecture
by Mansur Kurtov
This article shows how to use reflections in C#.
by Christ Akkermans
Code for verifying the resources used by DisplayAttribute in order to catch any missing resource strings
by NikStar
Using OutgoingMessageProperties and OperationContextScope to implement authorization by http header for WCF client that communicates with non WCF-based web services.
by Nandakishore G N
Send and receive XMPP messages in Windows phone 8
by Andrew Rober
Windows software licensing data and information in a nutshell
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 arpanmukherjee1
A base viewmodel implementing IDataErrorInfo
by Diwakar M A
WPF based preloader animation sample. Let's make WPF applications more interactive during long process.
by OrlandoCurioso
When GridSplitter stops resizing by mouse, yet operates by keyboard arrows