Click here to Skip to main content
15,614,766 members
Everything / Programming Languages / C#



Great Reads

by Alex Pumpet
A simple program for comparing table data from two sources - SQL databases, Excel, CSV or XML-files
by Dr. WPF
.NET 3.5 SP1 is here! It's time to break out your DirectX skills. This article provides the information necessary to get started using a new DirectX interop feature in WPF called D3DImage.
by John Atten
OWIN, Katana and Middleware Pipeline in ASP.NET
by Wonde Tadesse
The other option will be to use Update Panel ASP.NET control as much as possible. It helps to retain the current position on the page whenever a postback happens to the page.

Latest Articles

by Jorge L Orejel
Explicit bit-reversal on C# unsigned Integers
by gggustafson
This article is the third and final in the Bingo Game Suite series.
by Graeme_Grant
Dot Net Core LogViewer Control for WinForms, WPF, and Avalonia using the ILogger Framework with Microsoft Logger, Serilog, NLog, and Log4Net in C# & VB on Windows, Mac OS, and Linux
by Ammar Albush 1997
Logo Recognition System Program written in C# .NET 6.0 Windows Form (,Tensorflow.keras,Emgu Cv,ScottPlot.WinForms,Newtonsoft.Json)

All Articles

Sort by Score


26 Jan 2015 by John Atten
OWIN, Katana and Middleware Pipeline in ASP.NET
13 Feb 2012 by StevenLJackson1
How you can structure your solution and project files in Visual Studio to make updating your assemblies' version number much easier
3 Apr 2012 by Rui Jarimba
Serialize/deserialize your objects using generics. Customize settings like indentation, encoding, namespaces and others
8 Sep 2017 by Joel Ivory Johnson
The override that was not
25 Jan 2012 by Sebastian Krysmanski
The help page for IDisposable provides the code for IDisposable's default implementation pattern in C#. This article will explain each part of it step by step and also provide the equivalent C++/CLI code in each step.
24 Jun 2013 by Madhur Kapoor
In this post, we are going to learn how to call an ASP.NET WebAPI using HttpClient libraries.
28 Jan 2016 by Anton Angelov
The next logical step in your build will be to build your solution or projects. I will guide you how to do it via MSBuild as build engine and NuGet for downloading the necessary packages.
4 Sep 2015 by Afzaal Ahmad Zeeshan
This post attempts to describe the general difference between overloading and overriding in Object-oriented programming languages.
8 Feb 2016 by Steve Naidamast
“Agile Development” – The Software Industry’s New Meme
4 Jun 2011 by MBigglesworth79
An introduction to Reflection in .NET as well as some examples of how it can be used.
3 Dec 2011 by Monjurul Habib
How to: ASP.NET 4.0 Routing and Ext.NET.
12 Oct 2012 by Rob Kraft
Some implementation details
4 Apr 2014 by Pragmateek
Using C# from native C++ with the help of C++/CLI.
25 Feb 2016 by Anton Angelov
Explains different white box test techniques for designing tests in order to accomplish different types of code coverage. Examples in C# code.
17 Aug 2009 by Arindam Sinha
SOAP Request/Response XML can be logged with TraceExtension
21 Nov 2010 by Joel Ivory Johnson
Playing back data that was recorded from the Microphone, in Windows Phone 7
9 Nov 2015 by Sander Rossel
Using Venn diagrams to visualize sets.
6 Sep 2016 by n.podbielski
If you want to optimize code, which is based on Reflection, delegates may be the thing you are looking for. In this part are explained generic methods and events.
12 Oct 2017 by matt warren
Analyzing C# code on GitHub with BigQuery
6 Feb 2023 by Dev Leader
Problem with async void and a solution for it
28 Sep 2009 by Pete O'Hanlon
4 Apr 2017 by n.podbielski
Using Matlab from a C# application
6 Feb 2011 by Brij
Why textbox persists data during postback even if View State set to off
4 Jan 2016 by Anton Angelov
A detailed overview with examples how to utilize the Strategy Design Pattern in automated tests to create an extendable and decoupled Validators.
14 Sep 2015 by Anton Angelov
The article presents how to create a library of generic extension methods to effortlessly formatting currency in C#.
15 Dec 2015 by Afzaal Ahmad Zeeshan
This is part 1 of the articles that I want to write for ASP.NET beginners, who want to build their own personal web sites, that mimic characteristics of blog. It covers the ASP.NET web application part.
18 Dec 2016 by Afzaal Ahmad Zeeshan
Overview of SQL Server on Linux
25 Feb 2010 by César de Souza
A complete explanation for the totally lost, part 1 of 2. The Levenberg–Marquardt algorithm provides a numerical solution to the problem of minimizing a (generally nonlinear) function. This article shows how the Levenberg-Marquart can be used to train Neural Networks.
25 Feb 2010 by César de Souza
Kernel principal component analysis in C#
15 Jul 2010 by mrt_doulaty
The request failed with HTTP status 417: Expectation failed
12 Feb 2011 by Sandeepkumar Ramani
Parallelism in .NET – PLINQ
18 Aug 2011 by Brij
Single Sign On Between Sub Domains: Forms Authentication
29 Dec 2011 by Omar Al Zabir
How to browse the internet faster and save power using a smart HOSTS file
15 Sep 2015 by Anton Angelov
Code samples in C# how to assert DateTime with delta. Write your own Validator for MSTest or use built-in methods in NUnit.
4 Aug 2015 by Anton Angelov
Examples how to use the Microsoft Edge WebDriver to create UI automated tests executed against the new Microsoft browser- Edge.
17 May 2009 by Colin Eberhardt
This technical blog post details a novel technique for leveraging the power of CSS selectors within WPF.
26 Jan 2011 by Abhijit Jana
Details explanation on Compression Enabled Session for SQL Server and State Server Session Mode in ASP.NET 4.0
25 Aug 2015 by bconlon
Ambiguous Classes in C#
9 Dec 2015 by Andy Feng
This article introduces how to apply Google reCAPTCHA into form submission of your site.
3 Feb 2017 by
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
25 Jan 2023 by Dev Leader
Use the "Python for .NET" package as a way to call Python from C# code
10 Apr 2009 by Philip Laureano
A look into the design of a statically precompiled IOC container that performs as fast as an application without an IOC container.
19 Aug 2010 by Abhishek Sur
The article shows how you could use RenderTargetBitmap to render a visual into BitmapSource and convert the same into actual image.
27 Dec 2010 by Arik Poznanski
Order in Chaos: Dependency Property Value Resolution
4 Jan 2011 by Oddleif Halvorsen
Solved: “The number of WaitHandles must be less than or equal to 64″
6 Jan 2011 by Abhijit Jana
Get troubleshooting tips from your favorite blogs
23 Mar 2012 by Md. Rashim Uddin
How to define a simple IoC Container
19 Jul 2013 by m_kramar
A wrapper for Mailslots in C#
22 Jul 2013 by Rion Williams
This post will cover how to create a simple “cookie-aware” WebClient class that will authenticate and persist this authentication for the duration of the WebClient to allow access to secure areas of your MVC Application without the need for re-authenticating for each request.
27 Jan 2014 by Dan Sporici
This article is about how to get the memory dump of a process, by checking almost all memory addresses that can store data.
11 Feb 2015 by Paulo Zemek
A discussion about what is asynchronous execution, how it relates to threads and a brief analysis of its good and bad points.
25 Feb 2016 by Anton Angelov
If you need to rerun Failed Tests (MSTest), you can download the application that I wrote. Examples how to use it and code snippets.
26 Dec 2016 by n.podbielski
Use of IoC container in Xamarin on example of TinyIoC
10 Oct 2017 by IAmJoshChang
Attacking enemies, health system and death animation in Unity
10 Oct 2020 by Sandeep Mewara
An optimization programming technique
11 Nov 2020 by
Drag and drop behaviour in WPF
10 Jul 2010 by Martin Jarvis
Diagnosing Tricky ASP.NET Production Issues with DebugDiag and winDbg
17 Jul 2012 by Daniel Vaughan
Implementing field level change notification in WPF, and how a Lambda Expression can be used to specify a composite property that raises change notifications automatically whenever an associated property changes.
30 Sep 2013 by Md. Rashim Uddin
How to download different types of files in
13 Dec 2013 by saramgsilva
This article aims to show how to use the Tessnet2 library.
3 Sep 2014 by Steve Wellens
While lurking and skulking in the shadows of various technical .Net sites, I've noticed many developers discussing log4net in their blogs and posts; log4net is an extremely popular tool for logging .Net Applications. So, I decided to try it out.
4 Sep 2014 by Ben M Watson
Learn how to use the debugger to answer implementation questions for yourself
8 Sep 2014 by Dan Sporici
Calling a C# method from C/C++ (native process)
14 Oct 2014 by Gediminas Geigalas
Optional parameter visibility in C#
12 Jan 2016 by Jake Drew
Edge detection, blob processing and RGB channels in C#
16 Mar 2016 by Mario Vernari
Very simple experiment, a bit vintage, for driving a common alphanumeric LCD module (HD44780-based) with a Raspberry PI 2 and Windows 10 IoT
6 Apr 2016 by Bill Wagner
C# feature proposal - new access modifier
31 Oct 2016 by matt warren
This post discusses how the "fixed" keyword works
23 Jan 2017 by Junian Triajianto
Beginner guide on how to integrate MySQL database into ASP.NET Core project with Identity and host it on Ubuntu Server
22 Jan 2020 by Jeremy Likness
Blazor Server and Blazor WebAssembly (client) don't store state by default, resulting in a subpar user experience. This article tackles solutions to the problem.
12 Oct 2009 by Pete O'Hanlon
Logging display and WPF
2 Dec 2009 by Jeremy Likness
Use the Managed Extensibility Framework to export dictionary resources using custom ExportProvider in Silverlight
24 Jul 2010 by atverma
How to disable subsequent submit button clicks when a request is being processed in ASP.NET AJAX client side script code
3 Sep 2010 by Abhijit Jana
In this post, I have explained how you can mark methods as obsolete using obsolete attributes which are not in use or may be removed in upcoming builds.
15 Oct 2010 by Raymund Macaalay
How to use AD attributes not represented in UserPrincipal, GroupPrincipal and ComputerPrincipal
3 Feb 2011 by Inaki Ayucar
How to get exactly what you need using DirectoryInfo.GetFiles, with an exact extension match lookup
26 Apr 2011 by User 271009
Using Forms Authentication to secure access to ASP.NET MVC endpoints and WCF services
15 May 2011 by Ondrej_Uzovic
A simple example showing how to implement a service listening to TCP, HTTP and Named Pipe at the same time.
26 Sep 2011 by MBigglesworth79
A good primer for getting into serialization
11 Mar 2017 by Mehdi Khalili
How to walk up the StackTrace
15 Jan 2012 by VIBlend
WinForms Button
3 Apr 2012 by Giorgi Dalakishvili
This post demonstrates how to use Reactive Extensions for loading data from database asynchronously in chunks.
13 Feb 2013 by ferventcoder
Introducing this.Log.
18 Mar 2013 by Luis D. Aguilar
This article intends to demostrate clear examples of both the "traditional" way and the alternative way using the Model-View-Presenter pattern to improve overall user interface design.
12 Apr 2013 by Dmitriy Kozlov
REST with WCF and Entity Framework with JSON serialization.
9 Jul 2014 by Madhur Kapoor
How to get started with AngularJS
13 Aug 2014 by raju melveetilpurayil
One more example of how to do Paging in MVC
15 Sep 2014 by Saleh Hamadeh
In the last three decades, software development has undergone a drastic change. Computer science started out as a mix of discrete mathematics and electrical engineering. As more people bought personal computers, most businesses sold their software for fixed prices.
1 Nov 2014 by Ivan Krivyakov
Difference between 'Resource' and 'Embedded Resource' Build Actions described
9 Dec 2014 by adityaswami89
Article on Validation in XAML applications with Fluent technique
3 Aug 2015 by Anton Angelov
Explains in details how to implement Facade Design Pattern. Use it to follow all SOLID principles and best programming practices.
27 Sep 2015 by Anton Angelov
Benchmark, which works faster for getting the default value for a nullable type, Null Coalescing Operator or GetValueOrDefault or Conditional Operator.
20 Mar 2016 by Afzaal Ahmad Zeeshan
In this episode I am going to talk about using graphical applications in Mono. The graphical framework to use would be Windows Forms.
24 Oct 2016 by Anton Angelov
Use SpecFlow to define automated acceptance tests from business-readable specifications. Learn how to write understandable UI tests within 10 minutes.The post Getting Started with SpecFlow in 10 Minutes appeared first on Automate The Planet.
16 Oct 2017 by IAmJoshChang
Adding new bandit enemy
2 Apr 2010 by Steve Wellens
A user had a problem calling a Web Service from a web page asynchronously. I tried his code on my machine and was able to reproduce the problem. I was able to solve his problem, but only after taking the long scenic route through some of the more perplexing nuances of Web Services and Proxies.
4 Oct 2010 by Dinesh K Mandal
How to embed and use resources from .NET assembly
4 Oct 2010 by Dinesh K Mandal
Calling method in parent page from user control
12 Oct 2010 by Dinesh K Mandal
Using DebuggerDisplayAttribute
27 Dec 2010 by Brij