Click here to Skip to main content
15,868,164 members
Everything / .NET / .NET4

.NET4

.NET4

Great Reads

by Igor Ladnik
Wrapper to facilitate usage of TCP sockets
by Roman Kiss
This article describes a design, implementation and usage of the Custom Routing Manager for managing messages via Routing Service built-in .Net 4 Technology.
by Nish Nishant
An ExifReader class in C# that supports custom formatting and extraction. StyleCop compliant code, with demos for WPF and Windows Forms.
by defwebserver
How using the Silverlight DataTrigger allows you to run a process and then raise another when using View Model (MVVM)

Latest Articles

by Elmue
An easy to use 3D control which can be integrated into an application in a few minutes
by NikStar
Using OutgoingMessageProperties and OperationContextScope to implement authorization by http header for WCF client that communicates with non WCF-based web services.
by Ralf Meier
In this article, I demonstrate how to integrate Shelly® relays into my smart home, controlling the devices through routines in VB.NET.
by Sufyan S Jabr
All that you need to know when working with MSDTC, troubleshooting and problem solving.

All Articles

Sort by Score

.NET4 

8 May 2019 by Bruno Tabbia
Automatic positioning and resizing of explorer windows, without overlapping (for obsessive superusers)
15 Feb 2013 by Dread_Sharp
How to build an easy plugin system with C# which only takes about 30 lines of code!
14 Dec 2014 by MarkLTX
Automatically implement INotifyPropertyChanged for every property in Entity Framework 6.0 entity classes
9 Dec 2013 by dietmar paul schoder
How to get the location of a specific IP-address
12 Aug 2013 by Le Sourcier
This tip helps in using font icons as ImageSource.
5 Dec 2012 by tumbledDown2earth
Using dynamic or ExpandoObject is a breeze to dynamic data WebAPIs, but when serializing to XML, it can cause a brain damage sometimes :)
11 Nov 2014 by Sibeesh KV
Using Intro JS (Integration to Code Project FAQ)
31 Mar 2013 by Melih Mucuk
Creating a WCF Service with JSON data for use on iOS
7 Oct 2014 by Milad Ashrafi
We need this script for database based ASP.NET websites for using HTML content in post pages.
22 Jul 2013 by Paw Jershauge
Want your own movie database??? Download IMDB in 20 minutes.
30 Nov 2015 by Mohammad Dayyan, VahidJafari
A library for creating .Net Serializable Expressions to send via WCF services
17 Aug 2013 by Prince Tegaton
Building a Custom User Control for Messagebox
24 Dec 2014 by Prince Tegaton
This entails how to easily add mobile website feature to your ASP.NET website/app
13 Nov 2012 by maximaximum
The article describes how to draw a grid of vertical and horizontal lines in WPF.
9 Jul 2012 by Christian Amado
In this tutorial, we will discuss on ProgressBar & Background worker. Follow the step-by-step tutorial to know how to use these clases.
1 Jul 2019 by Lance Roberts
A tray utility for monitoring log files and popping up error messages
16 Aug 2013 by Moudud Hassan
Fix to COM component retrieving error:80040154 in web application running in IIS
31 Oct 2013 by Debopam Pal
How to bring data from Entity model to Excel file using LINQ.
28 Sep 2014 by Vahid_N
It's easy to forget not disposing object contexts, which leads to memory leaks and also leaves too many related connection objects not disposed as well.
4 Sep 2015 by Igor Sorokin
In this article I would like to describe simple WPF application for showing System.Windows.SystemColors list.
9 Aug 2015 by Clifford Nelson
This tip provides an alternate way to combine data with text in a WPF control using a ValueConverter that could be considered easier.
15 Jan 2016 by veen_rp
Big lists (>1,000,000 items) can cause out-of-memory errors raised by .NET. Manage them by a List of List(Of T)
27 May 2014 by Matus Kovacik
This component allows to overlay grid with colored blocks spanning across multiple columns.
10 Oct 2011 by Venkatesh Mookkan
If you have different DateTime pattern (especially separator) in the locale
20 Nov 2011 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...
10 Apr 2013 by Jason Curl
Using System.IO.Stream default implementation of BeginRead() and BeginWrite() may result in unexpected deadlocks.
4 Jul 2013 by sumit_kapadia
Create and Bind gridview at client side with Jquery Template and ajax in asp.net
4 Apr 2014 by Arthur Peka
A tutorial to compare .NET objects
8 Apr 2014 by Fabrizio Stellato
Run ngen to optimize your application during the installation process
29 May 2014 by Randy Kroeger
Created a POC that dynamically builds a predicate using Expression and Reflection.
29 May 2014 by Thang Believe
Deep dive into cookies generation to support Remember Me at login
14 Sep 2014 by Mario Vernari
Here is a simple trick for simulating the shared-sizing feature of the WPF Grid even in a StackPanel fashion.
5 Feb 2015 by Miller Nguyen
This article will show you how to implement a complete solution of electronic signature by using HTML5 canvas in ASP.NET (VB).
28 Mar 2015 by Alaa Ben Fatma
Surf your PictureBox using scrolling bars
8 Apr 2011 by Chris Trelawny-Ross
You got me thinking about other ways to accomplish "objects that are not numbers honoring math operators without implementing the operators on the objects."I'm too long in the tooth of strongly typed languages to have a good comfort level with all things dynamic (although reading about the...
11 Oct 2012 by Peter Carrasco
A quick introduction to data annotations in C#
23 Dec 2012 by Oleksandr Kulchytskyi
This tip explains how to increase performance in serialization by using MessagePack
24 Jan 2013 by Oleksandr Kulchytskyi
More advanced singleton implementation.
25 Feb 2013 by TnTinMn
UpdateDefaultButton - Allows detecting change in ActiveControl
17 Jul 2013 by JO Hyeong-Ryeol
Introduces the DragSource class in the Nicenis project.
14 Feb 2014 by BenScharbach
How-To Convert a String Collection to a Multi-Enum item using TryParse
28 May 2014 by Thava Rajan
Copy and insert data at any postion in your datagridview
12 Jun 2014 by LM Heah
Google BigQuery API Client Example Code for C#.NET
17 Jun 2014 by cjb110
A String To Brush Converter for WPF/Silverlight
20 Jun 2014 by NobsterTheLobster
Implements a taskbar notifier using an invisible window and a popup control
10 Jan 2015 by John L. Vidal
Know how an event in your app is performing by using Reactive Extensions
27 Jan 2015 by HiDensity
Class providing methods to count up a string using a definable character set.
13 Mar 2015 by Aman Thakur
The tip explains how to make recurring payments using the Stored Credit Cards in the Paypal Vault.
29 Apr 2015 by HUONG Minh-Luong
How to use PresentationMapper to generate presentation objects
23 Jun 2015 by MarcusCole6833
A simple program to make an HTML page from an XML file
22 Jul 2016 by Abhay@Accenture
Performance tuning using SqlBulkCopy
24 Oct 2011 by AlexCode
Adding support for IHttpHandler on ASP.NET Routing
2 Aug 2012 by Himanshu Thawait
WCF With No config file needed – all setting in code only, No IIS – Self hosted, consume by channel factory
23 Aug 2012 by Purushotham Agaraharam
Dynamic changing of version number using SolutionInfo.cs through out the application.
6 Dec 2012 by xibao
Code to produce holidays for NYC Stock Exchange.
25 Mar 2013 by jkirkerx
Basically a slideshow script, but more simple in design and easier to deploy.
24 Apr 2013 by Lee Reid
How to make a splash screen appear for a minimum duration with very little code
9 May 2013 by Abhay@Accenture
14 Jun 2013 by Mike Meinz
Source code to demonstrate the creation of a new task in Windows Task Scheduler.
28 Jul 2013 by Raja.Krishnasamy
Attached the test data with method for regression testing by declaring ref type in attribute
26 Aug 2013 by linush
How to serialize a kendo treeview current view into JSON data
11 Oct 2013 by heemanshubhalla
How to use Masked Textbox control in .NET
1 Apr 2014 by sbarnes
Sometimes better isn't, necessarily
14 Apr 2014 by Ankur .K. Vishwakarma
This tip shows you a T/SQL function to split a string concatenated by a delimiter.
4 Jun 2014 by arpanmukherjee1
RelayCommand.CanExecute in MVVM with attributes not WPF Requery
4 Aug 2014 by Matus Kovacik
Single class encapsulating UDP IP multicasting functionality and exposing it via observer pattern.
7 Aug 2014 by Gold$Coin
This tip will help you to create a collection from a DataSet
26 Nov 2014 by SergVoloshyn
Main program for testing modem or GSM phones by AT commands, use only standard classes and libraries.
14 Feb 2015 by DerStauner
With this library it is possible to query datatables with SQL commands.
9 Mar 2015 by Chinh Vo Wili
This tip describes how to use Selenium WebDriver extension for jQuery of RaYell and customize waiting element loading
2 Mar 2016 by Akhil Mittal
Helper class to compare two class objects while unit testing
26 Mar 2016 by Sumit Samediya
Here we will learn how to remove default background color of ListBox item on selection in Windows Universal App
16 Mar 2017 by Robert Bettinelli
Easy JSON Recursion in VB.NET with nested levels
25 Dec 2011 by Juan Davel
Managing Application Scoped Connection Strings
7 Feb 2012 by thatraja
I found this utility in sourceforge.DescriptionCVSVC is Windows utility for converting between Visual Studio 2010 Forms Project to 2008 version İts supports only Visual Studio 2010Visual Studio Converter 2010 to 2008[^]
16 Mar 2012 by Carlos Conceição
This article how you can use TextToCalcExpression to generate Linq Expressions in runtime
6 Jul 2012 by Omar Rwemi
An interesting way of making Disposable (Heavy) objects
6 Nov 2012 by SoumenBanerjee
Get page HTML using System.Net.WebClient class of .NET as well as striping HTML using Regex and export a list into Excel or XML.
27 Nov 2012 by Aadhar Joshi
Creating job in sql server which automates taking backup of all stored procedures and functions in physical drive.
22 Dec 2012 by scott_liu
By use of a cutomized metadata provider, MVC model data annotation validation messages can be localized in a simple and elegant way.
19 May 2013 by Yossi Yaari
A solution for monitoring Events called during test.
19 May 2013 by Yossi Yaari
A basic yet generic state machine implementation
17 Sep 2013 by Yachana_
While working with Microsoft.Office.Interop.Excel.Application after publish
25 Mar 2014 by sbarnes
Rewriting and restoring XML files (streams) with two helper classes
5 Aug 2014 by saurav ray
Article determines how to bind a crystal report with a virtual database
6 May 2014 by Daniel Lieberwirth (BrainInBlack)
This describes a simple way to create interactive, bitmap based, buttons for WinForm applications.
14 May 2014 by atlaste
How to fix hiding controls in the Visual Studio user control designer
14 May 2014 by Peter BCKR
In legacy applications you can get a MissingMemberException bei acessing a SqlParameterCollection if you work with object-variables there are reference a SqlCommand-Instance.
26 May 2014 by Tkach Aleksey
WPF Gmail-style emails input control using C#, with email validation
26 Oct 2014 by Bimaln
Describe about the SOAP message in WCF with example.
4 Jan 2015 by Thorvaldur Arnarson
Abstract class inheritance inversion where in the base class calls the inheriting class.
12 May 2015 by HUONG Minh-Luong
This tip is a tutorial that explains how to use PresentationRequestor Nuget package.
14 Oct 2010 by InActive
How to use the .NET DateTime class in C++ to generate a basic calendar via a console program
12 May 2011 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...
27 Aug 2013 by Måns Tånneryd
This tip shows how to significantly speed up inserts of large amounts of data using the entity framework.