Quantcast
Channel: .NET – The Coders Lexicon
Browsing latest articles
Browse All 14 View Live

Image may be NSFW.
Clik here to view.

Passing Data Between Forms in C# or VB.NET

One of the first obstacles that people new to C# (or VB.NET for that matter) run into is how to get two forms to communicate with one another. How do you get your main form (a parent) to open and pass...

View Article


Image may be NSFW.
Clik here to view.

Playing with Recursive Directory Diving in VB.NET

So recently someone asked about listing files from several directories but only to a given depth. They were using a DirectoryInfo object, as they probably should, to get a list of files. There was a...

View Article

Image may be NSFW.
Clik here to view.

Rijndael Class Example for File Encryption in C#

Hello readers! It has been awhile since my last post. Lots of things have been going on lately and I have been busy developing some great code for some great people. In this entry I am going to show...

View Article

Image may be NSFW.
Clik here to view.

Using Hashes To Check If A File Changed in VB.NET

Once in awhile you may want to check if a file has changed its contents in some way. Perhaps you are monitoring a log file or checking to see if an exe has had a virus mess with it. One way you could...

View Article

Image may be NSFW.
Clik here to view.

5 Quick and Easy Refactoring Tips

You wouldn’t believe how many programming questions I run across, on a daily basis, asking for help with programs that contain repetition, duplication and enough spaghetti code to feed half of Italy....

View Article


Image may be NSFW.
Clik here to view.

Using Performance Counters in the C# Language

At any given time the Windows operating system is tracking statistics for the system and many of the processes / applications that are currently running on it. Things like the number of processors, how...

View Article

Image may be NSFW.
Clik here to view.

Serializing and Deserializing XML Through a URL Endpoint in C#

Recently, at the company I work for, I had to merge two very different web sites together. While both use C#, that is where they pretty much stopped in similarity. We were exploring ways to have them...

View Article

Image may be NSFW.
Clik here to view.

Passing Data Between Forms – Using Delegates and Events

Back in an article I wrote in 2010 titled “Passing Data Between Forms in C# or VB.NET“, I described one of a couple methods for passing data between two forms in a .NET forms project. One method was to...

View Article


Image may be NSFW.
Clik here to view.

ASP.NET Variables Won’t Hold Their Value

When it comes to working with ASP.NET most developers who have done standard desktop development always run into the problem of their class variables not retaining their values. You create a variable...

View Article


Image may be NSFW.
Clik here to view.

Solving a Null Value When Posting a Simple String to a .NET Web API

The Problem: Many programmers, when creating a .NET Web API project, typically run into a situation where they want to post a simple x-www-form-urlencoded string datatype to an endpoint. They create...

View Article
Browsing latest articles
Browse All 14 View Live