Click here to Skip to main content
15,890,043 members
Everything / .NET

.NET

.NET

Great Reads

by Alex Pumpet
A simple program for comparing table data from two sources - SQL databases, Excel, CSV or XML-files
by Szymon Roslowski
Just another approach to understanding communication between HID devices and C#.
by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by shunninghuang
CPS1 emulator, ROM hacking

Latest Articles

by Xavier Junqué i de Fortuny
Converts MathML coded string to/from plain text string
by Yevgeniy Shunevych
An introduction to Atata C#/.NET web UI test automation full-featured framework based on Selenium WebDriver
by Mishael Ogo
A look at a simple SQL builder for Dapper
by GabrieleTronchin
In this project, I've implemented the Transactional Outbox Pattern using EF Core.

All Articles

Sort by Updated

.NET 

22 May 2010 by #realJSOP
Don't reinvent the wheel - use the one that's already on the cart.
22 May 2010 by #realJSOP
Bad formatting will delay the approval of your articles. Follow these basic rules to avoid that delay.
22 May 2010 by #realJSOP
Don't drink the kool-aid. You still need to know how to use the Windows API in .Net apps.
22 Nov 2011 by #realJSOP
A useful technique that could be used for winform apps which require a login dialog
21 May 2010 by #realJSOP
Control resizing is a bit more mysterious than it might appear at first glance.
6 Jun 2010 by #realJSOP
It's not as simple as just calling DirectoryInfo.GetFiles()
9 Feb 2011 by #realJSOP
StringBuilder mystring = new StringBuilder("AbCd");for (int i = 0; i
6 Apr 2011 by #realJSOP
Never assume you know what the framework is going to do
5 Jul 2011 by #realJSOP
I do it this way:0) Create a base page class, and store the current page's url (you can do this any number of ways, so I'll leave it to your imagination):public class MyBasepage : System.Web.UI.Page{ public string CurrentUrl { get; set; } }1) Store the page's Url to a...
20 Dec 2011 by #realJSOP
You have everything you need to do your job as a developer. You just need to use them.
25 Jul 2012 by #realJSOP
Evaluating epressions in an ad-hoc condition.
12 Nov 2012 by #realJSOP
Presenting a DateTime extension class that allows you to determine the actual date of the specified instance of the specified weekday within the specified month/year.
10 May 2013 by #realJSOP
Determine the nature of the entry assembly
27 Oct 2014 by #realJSOP
Extension method to determine fiscal date
5 Oct 2015 by #realJSOP
Yes, you CAN document your stored procs in C# code.
13 Sep 2016 by #realJSOP
This came as a mild surprise
31 Jan 2017 by #realJSOP
A DateTime extension method to determine if a given DateTime is one of the ten US federal holidays, using C#.
2 Oct 2017 by #realJSOP
An answer and an example for the question, "What's the best way to learn a language or platform?"
25 Jan 2019 by #realJSOP
Sharing files between multiple web apps in a single solution.
3 Jun 2022 by #realJSOP
A half-hearted approach to automatically versioning your projects
14 Mar 2013 by 李建兴
If two objects are equal, they would better have the same HashCode.
9 Jun 2015 by 0xC0000054
A C# library that resolves 64-bit shortcuts from a 32-bit application
30 Jun 2015 by 1sumitanand
This tip is for newbie developers.
14 Aug 2015 by 1sumitanand
AutoComplete Textbox with Validations
23 Mar 2013 by 8MX
Quick and easy way to use the Intel C++ compiler with C++/CLI.
30 Jan 2014 by @donis2014
How to configure IIS Express "applicationhost.config" for handler mappings
21 May 2013 by _Amy
Validating the client using Lightweight Directory Access Protocol (LDAP)
22 Apr 2019 by _Asif_
Access rights issue over MSMQ could lead to hours and hours of investigation
13 Jul 2010 by _Groker
Code for summing by group in a RDLC report
5 Jul 2016 by _Matt_Wilkinson_
How to centralise a Form when using multiple screens
16 Feb 2016 by _mayowa
The new ASP.NET 5 and its MVC provides us with some interesting features that change the approach to web development.
26 Sep 2013 by _Noctis_
This tip shows the different results of using a ListBox in different panels, and the effects on scrolling.
4 Oct 2013 by _Noctis_
Showing how to use and tweak the DateTimePicker control
9 Oct 2013 by _Noctis_
Quick tip for forms/windows/views where save/insert/cancel buttons are used
2 May 2014 by _Noctis_
Use a project with a TabControl to quickly test theories, questions, problems
12 Apr 2014 by _Noctis_
How to use Sublime text editor to help with your VS development
8 May 2015 by _Noctis_
This will allow you to integrate your linqpad code easily to Visual Studio
26 Apr 2016 by _Noctis_
How to avoid some hardcoded paths with the uses of Environment.UserName
26 Jul 2014 by _Noctis_
How to Unit Test private methods using wrappers and preproccesor directives
11 Nov 2015 by _Noctis_
This will let you start logging quickly with VS2015 and NLog 4.2.
28 Jan 2015 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.
21 Feb 2013 by A Mahesh
In WCF, you can easily create custom bindings using configuration and custom implementations.
21 Aug 2011 by A Mahesh
wcf durable services
22 Jun 2012 by A. Ganzer
Using snippets to create a full and correct implementation of complex interfaces
20 Sep 2010 by a_pess
To check 64Bit Operating system in VB.NET,Public Shared Function is64BitOPeratinSystem() As Boolean Return (Marshal.SizeOf(IntPtr.Zero) = 8)End Function
13 Nov 2010 by a_pess
Alternative For VB.NET Windows Forms Private Sub ControlEnabled(ByVal ctrl As Control, ByVal isDisable As Boolean) Me.ControlEnabled(ctrl, isDisable, True) End Sub Private Sub ControlEnabled(ByVal ctrl As Control, ByVal isDisable As Boolean, ByVal allowRecurse As...
15 May 2014 by a_pess
Image File Format
18 May 2014 by a_pess
Demonstrates how to retrieve resources from a .NET Assembly in Visual Basic .NET
2 Jun 2014 by a_pess
Check image is upside down in VisualBasic.NET
4 Sep 2012 by Aadhar Joshi
Database replication procedure is to replicate data from different databases of MySQL.
27 Nov 2012 by Aadhar Joshi
Creating job in sql server which automates taking backup of all stored procedures and functions in physical drive.
26 Nov 2014 by Aaginor
Add a Cancel-Button to the BusyIndicator (WPF Toolkit)
15 Feb 2016 by Aaron Amberman
Advanced custom logical and visual tree walking methods
28 Aug 2014 by Aaron L. Hall
Here is a tip for making sure that debugging your MVC website does not cause Visual Studio to crash when using IIS7 to host the site in your development environment: Don't use more than one worker. process in your Application pool.
12 Jul 2013 by Abdelrahman Ismaeel Hegazy
Save image map portions for any image for later using in web or in printing using an image.
14 Aug 2012 by Abdul Quader Mamun
Convenient way to remove items from list when items exist in second list.
23 Jul 2012 by Abdul Quader Mamun
This article explains why a well organized pattern is required to develop a robust software application.
23 Jan 2012 by Abey Thomas
Start a .NET WCF Windows Service automatically soon after the setup installation is complete.
17 Aug 2012 by Abey Thomas
This is an issue which can happen for a variety of reasons - but how do you find the right one?
9 May 2013 by Abhay@Accenture
10 Sep 2015 by Abhay@Accenture
This will help developer to implement the chained combo-box using EXT.Net framework
22 Jul 2016 by Abhay@Accenture
Performance tuning using SqlBulkCopy
19 Dec 2016 by Abhay@Accenture
Get an extension attribute from AD using Principal Extensions in System.DirectoryServices.AccountManagement
5 Oct 2014 by Abhijit Ghosh (Subho)
Creating a Issue in Jira using Rest API and Microsoft XML Core Services (MSXML)
19 Oct 2014 by Abhijit Ghosh (Subho)
This is an alternative for "Creating a Issue in Jira using Rest API". This is an upgraded version as it contains a way of sending attachments with the issue. This version doesn't use MSXML as it is not recommended by Microsoft.
25 Oct 2015 by Abhilash Raja
Building adaptive layout in a windows 10 app with relative panel and adaptive triggers
18 Mar 2013 by Abhinav Sultania
How to find IP address of machine in metro App(Windows 8)
18 May 2013 by Abhishek Kumar Goswami
This tip compares GZIP compression facility provided by Java and .NET.
9 Dec 2014 by Abhishek Shrivastava
Simple trick to provide compile time safety for client side classes using INotify to notify when property changes (used generally by XAML bindings)
19 Feb 2016 by Abhishek Shrotriya
This tip gives the very basic/simple implementation to interact with SAP PI webservice for authorized recipients.
22 Dec 2017 by Abhishek Shrotriya
Develop the text comparator utility using jQuery plug-in, which internally uses Google's diff_match_patch.js library
10 Sep 2009 by Abhishek Sur
It is to be noted, .NET has lately introducedResponse.RedirectParmanent() after a long await. The main motive of this is tohave permanent response redirection to the Search Engines.Response.RedirectParmanent() is an extension function introduced in .NET 4.0.Themain motive of it is to indicate
13 Dec 2009 by Abhishek Sur
Hi Guys,It is common behavior of ASP.NET that if a control is set to Visible = "false", the response stream doesn't contain the definition of it. Therefore, if you want to make the control visible during runtime from Javascript always put display = none in styles attribute.Say you have a...
13 Jun 2015 by Abid Rashid
Using AngularJS with .NET MVC application
12 Dec 2015 by aboubkr90
A way around "The LINQ expression node type 'Invoke' is not supported in LINQ to Entities"
22 Jan 2015 by Abu Zafor Khairuzzaman
Comparison Chart for Two Different Time Frames in SSRS
6 May 2015 by Acharya Raja Sekhar
This tool helps a lot while capturing more number of snapshots. Example: Developers can use this tool to capture the UTR and save all snaps at the end to a Word document or save as individual images.
7 Sep 2013 by Adam Zgagacz
WinForms extension of NumericUpDown control to allow user provided edit control
21 Nov 2012 by AdamNThompson
A reusable component for makeing REST service requests using C#
6 Mar 2014 by Adel Refaat
A SharePoint WebPart that hosts Razor files (.cshtml, .vbhtml)
21 Feb 2018 by Adi Eduard
This article describes how to get a file's encoding with C#
19 Aug 2016 by Adi_Mag
Step by step guide to configure gulp in ASP.NET MVC core 1.0
3 Dec 2016 by Adi_Mag
Integrate Serilog with ASP.NET Core application
4 Apr 2011 by Adil Mughal
Demonstrate the functionality provided by Debug class in .NET
17 Dec 2013 by Adittya Gupta
Table Value Parameters in SQL Server 2008 with ASP.NET.
20 Jun 2021 by Aditya-Sharma0712
How to set classification label to an Excel/Word/PDF file at the time of its creation during runtime programmatically
28 Feb 2016 by adityasahver
In this article, we will learn how to create an Tile/Page in the MS Band and trigger the details on the associated device
28 Sep 2017 by adityasahver
This article is for the developers who are developing IoT hub applications and are looking for authenticating the Communication Channel between the Device and IoT hub.
29 Sep 2017 by adityasahver
In this tip, we will learn how to enable the Certificates in the Azure Web Sites
9 May 2017 by Adriaan Booysen
This is the DbEnum that is used with the EntityFrameworkCore Seeding article
9 May 2017 by Adriaan Booysen
Just an EnumHelper class for re-use in DbEnum
4 Apr 2012 by Adrian Calinciuc
How to make/use a simple RadioList displaying an "n" state value with checkboxes.
25 Jan 2013 by adriancs
Performance Comparison of For Loop and Foreach Loop
14 Aug 2013 by adriancs
A program/application for learning and writing HTML. Get instant visual effect side by side with your code as you type. Support HTML5, Javascript and CSS3 elements.
17 Aug 2013 by adriancs
An Office 2010 Style Color Picker for .NET WinForm.
11 Apr 2022 by AdventureDriver
Creating a optionally sheared mirrored image from a source image in a collage
30 Jul 2021 by Adérito Silva
A demonstration about how to read an exact number of bytes from Stream objects
19 Sep 2010 by Aescleal
In C++ you can use the size of a pointer to work out what sort of process you're running in:bool is_64_bit(){ return sizeof(void *) == 8;}This has got the advantage of being portable and you don't have to call any OS functions.You can do something similar in C - just return...