Click here to Skip to main content
15,879,095 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 

28 Sep 2009 by Pete O'Hanlon
3 Feb 2017 by tranthanhtu.vn
In "REST - Overview" article, I were introduced the basic rules in RESTful, Can you show me how to implement in WebApi?Ok, in this article, we will learn how to implement those rules in WebApi using C#.Where could I get sourcode was used in this article?Please checkout the code at https://github.com
30 Sep 2013 by Md. Rashim Uddin
How to download different types of files in asp.net
1 Dec 2010 by Sebastian Solnica
Writing a .NET debugger – breakpoints
1 Aug 2016 by dibley1973
The stored procedure framework now supports dynamic fields within multiple recordsets
13 Apr 2010 by Paulo Morgado
LINQ: Single vs. First
19 Oct 2010 by Ondrej_Uzovic
Simple example showing how to implement a communication scenario where one application sends notifications to other applications.
1 Nov 2010 by Ondrej_Uzovic
Very simple example showing how to send a message from Silverlight application to standalone desktop application
9 Nov 2010 by Sebastian Solnica
How to load module debugging symbols (PDB files) into the debugger and how to bind them with source files
15 Apr 2010 by Paulo Morgado
LINQ: Enhancing Distinct with the SelectorEqualityComparer
29 Oct 2012 by Shahriar Iqbal Chowdhury/Galib
Embrace reflection and export any List collection to CSV
7 May 2013 by Rion Williams
Generating an MD5 hash from a string using LINQ.
3 Dec 2013 by Rion Williams
Applying conditional attributes in ASP.NET MVC Views.
5 Apr 2014 by Pragmateek
Synchronization, Memory Visibility and Leaky Abstractions
15 Apr 2010 by Paulo Morgado
Web Site Globalization With ASP.NET Routing
23 Jul 2010 by atverma
In this blog, I’ll focus on Content Controls and Open XML 2.0 SDK from the experience I gained in the last 2 months.
29 Sep 2010 by outcoldman
This is a small sample of using code contracts.
1 Jul 2017 by outcoldman
C# 4.0 in a Nutshell, Fourth Edition
30 Oct 2013 by Manoj.Kumar12
Authentication against CRM contact using custom STS
15 Apr 2010 by Paulo Morgado
15 Apr 2010 by Paulo Morgado
LINQ: Enhancing Distinct With The PredicateEqualityComparer
12 Jul 2010 by Martin Jarvis
How to convert accented characters to simple characters
23 Jul 2010 by atverma
How dynamic language runtime (DLR) festure in .NET Framework 4 is a book for debugging COM objects
23 Jul 2010 by atverma
How to host a service in Azure and expose using WCF and Visual Studio 2010
8 Jun 2013 by Ivan Krivyakov
How to install a NuGet package in 19 easy steps
25 Sep 2015 by Rajneesh Kumar Verma
Using OData and WCF Service and visualize result using LinqPad
28 Sep 2010 by Paulo Morgado
Patch For ASP.NET Vulnerability Available
12 Dec 2010 by Paulo Morgado
LINQ: Introducing The Skip Last Operators
24 Oct 2010 by Leung Yat Chun
This post explains how to use ContextMenuHelperEx in DirectoryInfoEx to simplify ContextMenu construction under .NET 4.0 Framework.
14 May 2011 by Nikos Baxevanis
This post aims to provide a way to implement lazy initialization in a multi threaded environment using the SingleInstance(Of T) Class.
10 Jan 2011 by erik_nl
Logging with dynamic objects in .NET 4.0 (part 1-n)
10 Jan 2011 by erik_nl
Logging with dynamic objects in .NET 4.0 (part 2-n) - user interaction logging
23 Nov 2012 by Cruz Boon
Let’s say, we have a survey requirement. See how we can store multiple selections in a field by using bitwise.
28 Jan 2013 by Paulo Morgado
With Rx, events are first class citizens that can be passed around and composed as needed in a very simple way.
3 Feb 2013 by Jeffrey T. Fritz
As a follow-up to my previous article about WebAPI, I received an interesting question from a friend on LinkedIn: Is there a way to emit data in Protobuf format?
11 Feb 2013 by Stephen Brannan
WPF Enumeration Data Provider
27 Nov 2013 by Debopam Pal
This example shows you how to create a nested GridView.
16 Apr 2010 by Paulo Morgado
C# 4.0: Covariance And Contravariance In Generics
18 Aug 2010 by Gil Fink
This post will introduce the select N+1 pitfall and explain how to avoid it in Entity Framework.
29 Sep 2013 by Md. Rashim Uddin
7 Aug 2017 by JasonShort
In this article, I want to cover a particular problem I have had many times over the years. How do you speed up multithreaded apps that are bound by blocking functions, or long running I/O operations?
13 Feb 2011 by Abhishek Sur
Code Contracts in .NET 4.0 & its Internals
20 Jun 2013 by Wayne Ye
A complete Impersonation demo in C#.NET
1 Feb 2010 by Pete O'Hanlon
Providing Undo/Redo across VMs (part 1 - simple properties)
23 Nov 2010 by Matthew Dennis
This is the first in a series of articles about using the Munq DI IOC Container and IOC containers in general.
13 Apr 2010 by Arik Poznanski
Back in this post I showed you how you can easily add a fade-in / fade-out effect to a UIElement that changes its Visibility property, using a simple attached property.Some people encountered a problem using this property when they bind the UIElement to a model which initially hides the control.
29 May 2011 by Alexey Kurakin
This article describes generic priority queue implementation in C#, which uses min-heap as underlying storage.
25 Sep 2015 by Rajneesh Kumar Verma
This article will guide you to Create, Read, Update and Delete Data using Angular JS in ASP.NET MVC 4
28 Sep 2015 by Shivprasad koirala
This blog explains C# Out and REF parameters in detail.
12 Jul 2010 by Arik Poznanski
How to configure your Visual Studio 2010 to step into the source code of .NET Framework 4.0.
9 Sep 2010 by Raymund Macaalay
Parallel programming is easier than ever using .NET Framework 4
13 Jul 2012 by Imran Abdul Ghani
Simple steps to enable tracing in WCF
3 Feb 2013 by Jeffrey T. Fritz
HttpHandlers had their place, but going forward, I'm going to use WebAPI whenever I need to transmit data over HTTP to browsers or any other connected client.
17 Jan 2011 by Brij
Concurrent Collections with .NET 4.0
22 Oct 2009 by User 271009
Much improved .NET 4.0 WPF text rendering
18 Apr 2010 by Paulo Morgado
The major feature of C# 4.0 is dynamic programming - not just dynamic typing, but dynamic in a broader sense, which means talking to anything that is not statically typed to be a .NET object.
29 Apr 2016 by Mayur V Lohite
27 Dec 2010 by Nikos Baxevanis
This post aims to provide a way to implement the Model View ViewModel (MVVM) architectural pattern using Plain Old CLR Objects (POCOs) while taking full advantage of .NET 4.0 DynamicObject Class.
18 Apr 2010 by Sky Sanders
Exploring Web.config - system.web/httpModules
23 Sep 2010 by atverma
How to test a class member that is not public using Visual Studio 2010
5 Jul 2010 by JasonShort
LINQ Group By with NULL database values
9 Feb 2010 by Andriy Buday
MEF is the Framework which allows you to load extensions to your application easily. It does discovery and composition of parts you need to be included in your application at run-time. You could extend your behavior simply by adding a new Plugin.
18 Mar 2010 by Sam Meacham
So what’s wrong with EF’s TPT inheritance? The SQL that EF generates. With some simple testing (2 or 3 subclasses) everything may appear to be fine. In fact, you may even be impressed that EF manages to fetch all the data you need in a single trip, indeed, in a single query.
24 Oct 2010 by Ondrej_Uzovic
Simple example showing how to implement the communication scenario where subscribing applications can receive notification messages from more publishing applications.
27 Dec 2012 by Jeffrey T. Fritz
I've been spending a bit of time over the past month looking into ALL of ASP.NET, not just MVC or SignalR or WebAPI.  
19 Dec 2011 by Rui Jarimba
A simple Entity Framework T4 template that generates GetHashCode() method
7 Aug 2017 by JasonShort
LINQPad helps you learn LINQ
27 Nov 2011 by Dinesh K Mandal
8 Nov 2010 by Ondrej_Uzovic
Simple example showing how Silverlight application can receive messages from a standalone desktop application
17 Jun 2010 by User 6619207
The IObservable(T) and IObserver(T) interfaces are part of base class library of .NET 4.0. It's great that there is now a out of the box solution to implement the observer pattern. This was overdue, because other languages provide classes to implement this pattern already since a long time.
23 Jul 2010 by atverma
INotifyPropertyChanging and INotifyPropertyChanged in Real Life using Expression Trees
15 Apr 2010 by Paulo Morgado
LINQ: Single vs SingleOrDefault
30 Jul 2012 by Morshed Anwar
Implementing Repository Pattern with EF4 POCO support.
8 Feb 2013 by Adrian Alexander
Data-binding among complex expressions in C#
16 Nov 2013 by Debopam Pal
Using Microsoft.Office.Interop.Excel library, you can bring your data from your database against LINQ query and store them into an Excel Sheet.
10 Jan 2015 by izualx
First, let me introduce my development enviroment. I’m using Visual Studio 2010 with Office 2010 and all my VSTO applications are basing on VSTO 4.0 and .Net Framework 4.0. All my demo code is basing on them and if you are using VS 2008, you can port these code to VS2008 very easily.
7 Sep 2009 by Abhishek Sur
Some of both Documented and Undocumented Keywords that we dont use often like Check, StackAlloc, Fixed,default,@variables,Nullables, __arglist,__reftype etc are explained with simple examples
18 May 2010 by Abhijit Jana
CSS Friendly Menu Control in ASP.NET 4.0
20 Aug 2010 by Steve Maier
The same database and the same RIA Services can be used as a Web Service by using some simple additions to the setup of your project.
7 Jun 2009 by StormySpike
So, I was curious today, I had some code that used dynamic and was wondering what the heck the compiler was doing on the back end. So, I wrote up a very small test program, and tore into it using Reflector. The version of Reflector I used still only decompiles to C# 3, so it [...]
8 Feb 2010 by Shakeel Iqbal
Lambda Expression is one of the best features of C# 3.0
15 Mar 2015 by Shahriar Iqbal Chowdhury/Galib
Solve Mongo DB Element does not match any field or property of class
26 Aug 2009 by Kunal Chowdhury «IN»
In this post, I will discuss about developing a simple multitouch application using .NET 3.5 SP1.
15 Jul 2012 by Christopher John Paul
JQuery Confirm Box is very simple, and it can be easily customized
5 Jun 2010 by Leung Yat Chun
Reduce the property declaration code to one line, yet still usable directly.
28 Jan 2013 by Paulo Morgado
13 May 2013 by Amogh Natu
This post explains the cause and solution for the HttpException: maxRequestLength exceeded.
15 Apr 2010 by Paulo Morgado
As part of the co-evolution effort of C# and Visual Basic, C# 4.0 introduces Named and Optional Arguments.
17 Apr 2010 by Paulo Morgado
C# 4.0: Alternative To Optional Arguments
19 Feb 2013 by Adam Zuckerman
A generic extension method that allows my program to limit an input to a specific range 
24 Jul 2014 by piyush_singh
How to install SharePoint online management shell on client side
5 Jun 2009 by StormySpike
System.Xml.Linq is a great library, it lets us very easily manipulate XML, in very close fashion to how we would interact with other data sources. My only issue is that it tends to seem a little redundant...
2 Jul 2009 by Salmanzz
How to create a Date Picker Composite Control in ASP.NET (C#)
6 Feb 2011 by kishore Gaddam
Advanced MEF Programming
3 Jul 2010 by Martin Jarvis
How to improve readability with shorter String.Format statements
5 Jun 2012 by ManojKumar19
Hands on Lab for MVVM, Value Converter, XAML Binding, Delegate Command pattern, INotifyPropertyChange, Lambda Expression, LINQ etc. in Silverlight/WPF project