Click here to Skip to main content
15,881,750 members
Everything / Programming Languages / C#

C#

C#

Great Reads

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.
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

Latest Articles

by Zijian
Reusable codes for JWT security in business applications
by Mishael Ogo
A look at a simple SQL builder for Dapper
by honey the codewitch
Implementing a simple JSON parser with Visual FA
by Akram El Assas
Functional Programming in C# through Algebra, Numbers, Euclidean Plane and Fractals

All Articles

Sort by Title

C# 

10 Dec 2009 by Alex Kofman
"Soft Delete" or "Logical Delete" in ORM
25 Apr 2011 by Wayne Ye
"Unique URL Pattern" in Ajax Web Application
31 Mar 2010 by Tom Janssens
"Var keyword is for JavaScript" - about using the var keyword & other coding guidelines
10 Feb 2016 by dibley1973
In this series of posts, I am going to share with you the solution I have used in a recent project for a centralised event dispatcher.
24 Jan 2012 by Felice Pollano
Listed here are 5 interesting uses of Linq.Expression without writing a LinqToSomething provider, of course.
14 Jan 2014 by Cindy Potvin
Many options of the .LESS CSS parser can be set directly from the Web.config file, but many of them are not clearly described. Here is my attempt to document them.
14 Apr 2010 by Nuno M. F. Gomes
Finding out whether an assembly was compiled in Debug or Release mode is a task we must do from time to time...
15 Jun 2012 by Rick Bassham
How to use the SqlChangeMonitor with the new MemoryCache class in .NET 4.0.
25 Jul 2014 by Thomas Maierhofer (Tom)
.NET CLR Synchronization Mechanisms Performance Comparison
9 Jan 2010 by Inaki Ayucar
What a long title, isn’t it? That’s because, in some cases, there are a bunch of things related to make your .Net applications ready to work in both x86 and x64 environments. Specially if you need to use some unmanaged code or access the registry.
21 Aug 2013 by George Mamaladze
C# implementations and usage of Trie data structures.
12 Oct 2012 by John Atten
How to change the formatting of the Active Column Header to track user location.
1 Sep 2010 by Gediminas Geigalas
I just came up with a hack for .NET ListView to react to users doubleclider separator to auto resize the column to fit column contents.
30 Apr 2015 by Lee P Richardson
.NET on Mac for the OS X n00b without Mono via Visual Studio Code
30 Jul 2010 by kb-boxer
.NET Reflection Extravanganza !!!
25 Oct 2010 by Ivan Krivyakov
.NET - Exception stack trace has no frames above the catch point
13 Jan 2013 by Ivan Krivyakov
If there is even a remote possibility that your “constant” value might change in the next version, make it a readonly field.
20 Feb 2016 by Anton Angelov
Find some advanced WebDriver tips and tricks how to use the framework like turn-off the JavaScript, execute tests in a headless browser or use a particular browser's profile.The post 10 Advanced WebDriver Tips and Tricks Part 1 appeared first on Automate The Planet.
28 Feb 2016 by Anton Angelov
Find some advanced WebDriver tips and tricks how to use the framework for dealing with extensions or downloading files.The post 10 Advanced WebDriver Tips and Tricks Part 3 appeared first on Automate The Planet.
20 Feb 2016 by Anton Angelov
Find some advanced WebDriver tips and tricks how to use the framework for changing user agent or dealing with SSL certificates.The post 10 Advanced WebDriver Tips and Tricks Part 2 appeared first on Automate The Planet.
6 Jan 2011 by mbcrump
Here is a list of 15 things I've discovered about Silverlight
25 Feb 2016 by Anton Angelov
A short list of keyboard shortcuts for things you probably do often in Visual Studio
25 Feb 2016 by Anton Angelov
A short list of keyboard shortcuts for things you probably do often in Visual Studio
7 Sep 2019 by Lee P Richardson
This blog post lists 3 days to refactor EF Linq queries without killing Perf
1 Jul 2015 by ulasalasreenath
Here are 4 ways to check whether the given integer is even or odd
5 Jun 2016 by Anton Angelov
Tips and Tricks how to perform visual UI automation. Various techniques to assert the visual state of your web pages- fonts, styles. Visual capturing.The post 5 Expert Tips and Tricks for Visual UI Automation Verification- Testing Framework appeared first on Automate The Planet.
28 Sep 2010 by Abhishek Sur
Few new specifications on C# 5.0, a future of C#
26 Feb 2017 by Anton Angelov
Learn how to use the brand-new C# 7.0 to make your WebDriver tests even better. Utilise the power of local functions, digit separators and much more.
12 Jun 2016 by Anton Angelov
Learn how to control browser to the maximum extent with various techniques. Handle multiple browser instances. Intercept raw HTTP traffic and assert requests and responses. Download files with a single line of code.
23 Jun 2010 by rudigrobler
7MC Gofer is a Windows Phone 7 based remote control for my Windows Media Center.
27 May 2010 by Mohammad Elsheimy
in C#, C++/CLI, and ISO/ANSI C++
17 Dec 2015 by Bill Wagner
?. in C#: When properties might be null
30 Apr 2012 by James Poulose
Invoking a web service dynamically
30 Apr 2012 by James Poulose
A little validation method which will validate a specified method against my signature
30 Apr 2012 by James Poulose
Pass meta data from host to implementation
25 Sep 2014 by morzel
Part 1 described the general idea behind Sonar project, hardware components used and Arduino sketch... This second post in "Out of Boredom" series is about C# and JavaScript programs that make it possible to display ultrasonic range sensor data in web browsers.
22 Sep 2010 by jmix90
A fast and easy tip about shadows and performance
5 Jan 2012 by qenn
Here's an example of a simple LINQ extension method for getting values that fall within a certain range from an IEnumerable collection.
13 Aug 2013 by Rion Williams
A Battle of Intellisense
7 Oct 2019 by Rajat-Indiandotnet
Objective: In this post, we, try to understand what is Object Storage Service in Alibaba Cloud and how to create your first Object Storage Service. We will try to understand the different business scenario where we can utilize this OSS service.
7 Feb 2010 by Don Kackman
A generic class to encapsulate properties with notification events
6 Jan 2012 by qenn
A temperature struct in C#
2 Feb 2012 by Ayobami Adewole
A Client Server File Sharing Application
20 Jun 2013 by Wayne Ye
A complete Impersonation demo in C#.NET
21 Sep 2014 by Wayne Ye
A complete impersonation demo in C#.NET
21 Jul 2021 by Aram Tchekrekjian
In this tutorial, we will learn how to connect Android with ASP.NET Core Web API.
31 May 2011 by Arik Poznanski
A Customizable WPF MessageBox
4 Jun 2010 by rudigrobler
A DataForm with a little configuration (or is it convention)?
17 Dec 2011 by Life Lockszmith
A reusable code base for enums that we can expand to whichever way we want
31 Jan 2014 by Indivara
A little command line utility that will tell you the total size of all files in a directory
9 Nov 2017 by matt warren
Generics in C# are certainly very useful and I find it amazing that we almost didn’t get them: What would the cost of inaction have been? What would the cost of failure have been? No generics in C# 2.0? No LINQ in C# 3.0? No TPL in C# 4.0? No Async in C# 5.0?
17 Apr 2009 by Artem Smirnov
A Dose Of Code
12 Apr 2012 by Simon Pickersgill
A DRY approach to using Fancybox in an MVC project
17 May 2011 by Colin Eberhardt
This blog post describes a Windows Phone 7 NavigationList control, a list control designed for navigation pages. The NavigationList renders twice as fast as a ListBox and has a slightly simpler API.
16 Mar 2015 by Sander Rossel
Getting your feet wet in NoSQL with MongoDB!
11 Jan 2011 by Artem Smirnov
Often you want to do some "fix" on your data before pushing it to the database....
18 Apr 2010 by Sky Sanders
Use Visual Studio 2008 Development Server (WebDev.WebServer.exe) in automated testing frameworks
18 Mar 2013 by Nick Polyak
The package is open source, allows switching the locales at run time and also allows localizing any Dependency or Attached properties – not only strings.
12 Feb 2017 by Mayur V Lohite
A helper function which verifies that an uploading file is in valid image format in MVC
9 Apr 2009 by Sacha Barber
At work we all try and do our best to be productive. And as software developers we all probably have to author classes, that follow a familiar pattern.
24 Mar 2011 by Rick Bassham
Example of how to write a custom LogParser input plugin, using SharpSvn to query an SVN repository
16 Jun 2011 by MBigglesworth79
Dapper.NET is an Open-Source, lightweight ORM that is simple to use, and is compatible with any database which implements a provider for .NET.
3 Nov 2014 by KimJohnson
In part two of this series on Event Tracing for Windows I wrote a simple EventSource to provide strongly-typed events with Entity Framework interceptors.
28 Apr 2010 by Uros Calakovic
A Mgmtclassgen.exe Issue
31 Mar 2014 by Manas Bhardwaj
Here is a minimalist example of using Html5 Canvas to save signature as Image using Web API
28 Nov 2012 by Keyhole Software
A mobile application served from CouchDB.
29 Aug 2010 by Gediminas Geigalas
This post explains how plugin architecture can be improved to allow better extensibility and provide backward compatibility after updates.
21 Sep 2011 by jgauffin
A MembershipProvider that uses DependencyResolver to lookup the dependencies that it needs.
15 Apr 2014 by Simon Jackson
A new breed of samples for MonoGame
18 May 2009 by gUrM33T
A simple workaround to avoid boxing and unboxing while still using a non-generic IList implementation
2 Dec 2011 by Sameer Mitra
An alternative to using database triggers, which involves using a Windows service.
20 Sep 2014 by Bob McGowan
Using strong cryptography with entropy to secure user passwords.
6 Dec 2011 by Nathan Gloyn
Refactor code using S.O.L.I.D principles to make the code easier to understand, test, maintain and extend
22 May 2016 by Afzaal Ahmad Zeeshan
In this post, I am writing about the procedure to set up a home server using IIS and ASP.NET; IIS as the web server, ASP.NET as web scripting framework.
19 Dec 2012 by Cruz Boon
How to design a simple in-page pop up panel
29 Jan 2012 by Don Kackman
A simple Silverlight object viewer
26 May 2011 by MBigglesworth79
A wrapper for log4net which allows logging operations to be accomplished with a single line of code.
21 Jun 2013 by Catholic Tech Geek
This is a simplified guide to understanding recursion
18 Dec 2011 by Felice Pollano
A single file argument verification library
19 Aug 2012 by wullinkm
A single file login page for ASP.NET
29 Jan 2012 by Don Kackman
A slightly less simple object browser for Windows phone 7
4 Mar 2019 by marcusts
They got it wrong with IOC containers, but that can be fixed. The post A Smarter DI Container for Xamarin.Forms appeared first on Marcus Technical Services.
5 Jun 2012 by Nikos Baxevanis
A WebSocket-enabled service in .NET will be written like any other WCF service with two differences.
12 Mar 2015 by Lee P Richardson
This is a post about a surprise synchronization context gotcha.
9 Oct 2012 by Paulo Morgado
Sometimes, for demo or testing purposes, I need a synchronization context that behaves like the user interface ones but doesn’t force me to build applications with a user interface and the TPL Dataflow Library seemed like a good option to implement such synchronization context.
13 Feb 2015 by Afzaal Ahmad Zeeshan
This blog post shares a tip for Ajax developers in ASP.NET MVC framework.
15 May 2017 by Florian Lopes
This is a tool for Spring MockMvcRequestBuilder to post form objects.
15 Apr 2010 by Paulo Morgado
A TraceListener For Tests
7 Dec 2011 by Artem Smirnov
Implementing a custom ASP.NET value provider
23 Aug 2020 by Jin Vincent Necesario
In this article, we'll explore the world of C# attributes.
8 Dec 2011 by Colin Eberhardt
A slide view with page pips on Windows Phone 7
6 Jan 2010 by Steve Wellens
An ASP.NET server control that displays a list of files from a directory as hyperlinks.
24 Aug 2020 by Sergi Ortiz Gomez
Simple function to validate the ABN for Australian's trade
29 Aug 2010 by Gediminas Geigalas
This post talks about how #region directives are useful and when they are not appropriate.
22 Jul 2016 by EngineerSpock
Abstract class vs interface in C#
14 Jul 2009 by Jeremy Likness
A method for abstracting WCF service calls in Silverlight to facilitate reuse and easy re-targeting of services.
22 Jun 2015 by Vivek Goyal
Access 64-bit HKLM\Software registry by 32-bit C#.NET application
21 Jan 2013 by Md Nazmoon Noor
How to access a UserControl from another page
16 Oct 2015 by Arkadeep De
Access modifiers in C#.NET with examples
29 Sep 2015 by Member 12014821
Create the Security Principal Navigate to your Office 365 tenant. This will be of the format https://{your-domain}.sharepoint.com by default.