Home
Knowledge Areas
.Net Development
Active Directory
ADODB
Call a stored procedure with parameters, no return dataset
Call a stored procedure with parameters, return a datatable
SQL data access from .NET with one line of code
ASP.NET
Add a Cannonical link to your web page AND handle RouteData
Adding an AD user to an IIS7 Web Site/Application Pool for use with Web Services
ASP.NET Routing
Click event error on the home page
Colors
Cookies - Setting and Reading
Creating a Dynamic SiteMap page in ASP.NET
Databinder.Eval
Display a PDF in ASP.NET from a SQL Image field
Dynamic (Programmatic) Nested User Controls
Extending the life of the 'Keep Me Logged In' functionality
Maintain the page scroll position on postback
Redirect to https in the web.config
Routing
Save images on the clipboard to a file from ASP.NET
ASP.NET Authentication
Forms Authentication
Allow users into a subset of pages
Tutorial
Windows Authentication
Configure AD Group membership for a web site
ASP.NET Controls
Datagrid/Gridview
Persisting collapsed/expanded state of groups in a RadGrid
DetailsView
DetailsView - template code
TextBox
Convert to Uppoer Case
Classes with Common Code
File Handler Class
Collection Objects
Generic List - Find
Controls
Button
Setting the Image property of a Winforms button
CheckBoxList
CheckBoxList
DropDownList
Placeholder
Code to add a control (and its handler) to a Placeholder
TabControl
Make the tabs invisible on a .NET TabControl
TextBox
Formatting a text box
CSS
radial-gradient example
Responsive Design
Column that hides
Column that moves
Using a non-standard font in html
DataTable
DataTable.ImportRow
Inserting a row at the top of a datatable
Sorting a DataTable
Events
Detecting Keypress + Modifier (Alt, Ctrl, Shift)
FTP
FTP Library
SFTP sample code
General
.NET Development
Adding Security to a Folder
Application that creates a license key for your applications
Delegates
How to use delegates in ASP.NET
Environmental Values
Extending Objects in .NET
File System Watcher example
HashSet (of T)
My Favorite Visual Studio Option Settings
Open a browser window
Open File Dialog - open CSV file
Parse a text string into the comment fields in SOP10106
RDP / TLS Issues due to a recent Microsoft update
TextFieldParser sample code for delimited files
TextParser for a FixedWidth file that has variable lengths
Google Maps API
Map an Address
JSON
Deserializing JSON with embedded classes and arrays.
I need to create a JSON string from my data.
I need to create a JSON string from my SQL Result Set.
Serialize JSON (convert a class to a string)
Visual Studio > Paste as JSON
LDAP
Validate a User
Linq
Linq
Linq Reference
Linq to XML
Oracle
Connect to Oracle from .NET
Regular Expressions
Common Regex Expressions
Match part of a URL querystring
Reporting
101
Writing reports in Visual Studio - Start Here
Crystal Reports
The maximum report processing jobs limit configured by your system administrator has been reached.
DevExpress Reporting
Getting up and running with DevExpress reporting
Winforms RDLC
Deploying Microsoft Winforms RDLC Reports
Microsoft Winforms RDLC Reports
Print an SSRS report to disk from Winforms or ASP.NET
SQL SMO
SSRS
Call an SSRS report with params using the URL
Calling an SSRS report from .NET and save to PDF
Calling an SSRS report from .NET without using the SSRS Server
System.IO
Read all the files in a folder and process them
Read all the files in subdirectories and process them
System.Net.Mail
Embed an image in an email
System.Reflection
Testing .NET Reflection
System.XML
Deserialize - from an XML document to a .NET class
Gather a list of elements
Serialize a Class into an XML Document
Serialize a DataTable into an XML Document
TFS
The path xxx is already mapped in workspace xxx
Unbinding source for .NET project
Threading
Async calls part 1
Async calls part 2 (BackgroundWorker)
Visual Studio
Compare an existing file with a History file from Source Control
Intellisense not working
Visual Studio Code Snippet Tutorial
Windows Service Projects
Walkthrough on how to create a Windows Service Project Part 2
Windows Service - FileSystemWatcher example code
RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences