Welcome to DetlefGrohs.com Sign in | Join | Help

Coding (RSS)

General posts about coding in C#, VB.NET and/or Monad.

C# Coalesce Exploration

Recording some exploration notes on the C# Coalesce operator (??) and also trying out Leo Vildosola's Code Snippet plugin for Windows Live Writer. 1: static private void Coalesce() 2: { 3: object obj1 = null; 4: object obj2 = obj1
posted by detlef | 0 Comments
Filed Under:

Regular Expression Resources

A collection of regular expression tools and references for my reference. I will be incorporating this into my tools and reference list. Tools Expresso 3.0 - A great regular expression builder and analyzer tool. The Regulator - A regular expression testing
posted by detlef | 0 Comments
Filed Under: ,

Beautiful Code

I picked up Beautiful Code: Leading Programmers Explain How They Think from Borders last week and I have been enjoying it. It has awakened a need to play around with code again that is not directly related to my work. I like that the book is really a
posted by detlef | 0 Comments
Filed Under:

Host Application Code for Old XMLDocumentSplitter Class

I am including the code from my original host application for my XMLDocumentSplitter class. I will be updating this along with the utility class as well. It is interesting to see some of my coding habits from years ago.   Public Class frmMain
posted by detlef | 0 Comments
Filed Under: ,

My Old XMLDocumentSplitter Class

I have resurrected my old XMLDocumentSplitter class from Code Project and am planning on updating it. These are on my list of things I need to bring this up to date: Write both C# and VB.NET versions Use an Event handler method for handling the chunks
posted by detlef | 0 Comments
Filed Under: ,

Revisiting Old Code

I was doing an ego search and found some of my old articles that I posted to Code Project a long time ago: Single Instance Application in VB.NET and XML Document Splitter Class. I have decided to take a look at the code and update it this week for Visual
posted by detlef | 0 Comments
Filed Under: ,

Code Beautifiers

I might be doing some JavaScript client side programming for my next project, so I saw this My Great Free Online Beautifier for JavaScript that I need to save a reference to. I then starting thinking that I have seen other online code beautifiers before
posted by detlef | 0 Comments
Filed Under:

TransformTester

I have added the source code and binaries for my TransformTester application to the site. The downloads can be found here. Of note, is that I started to add syntax highlighting and code completion to the application. I am still working on these classes
posted by detlef | 0 Comments
Filed Under:

Code Post Test #3

My third code post test: public Form1() { InitializeComponent(); } I am using the Live Writer Source Code Format Plug-In. So far I am undecided whether I will continue to use this plug-in or continue my search for a better
posted by detlef | 0 Comments
Filed Under: ,

Another Code Post Test

Test 2 public Form1() { InitializeComponent(); } Another Test
posted by detlef | 0 Comments
Filed Under: ,

Test Post With Code

Testing how a post with code will look:  CompilerParameters compiler_parameters = new CompilerParameters(); compiler_parameters.CompilerOptions = "/target:library"; compiler_parameters.GenerateExecutable = false;
posted by detlef | 0 Comments
Filed Under: ,

Signs of a Crappy Programmer

Damien Katz has a great post that details the Signs You're a Crappy Programmer (and don't know it). I know I have been guilty of some of these over my career, but growth is recognizing a weakness and overcoming it.
posted by detlef | 0 Comments
Filed Under:

Downloading File via FtpWebRequest in .NET 2.0

I am working on my first Code Snippet for Visual Studio 2005 and I decided to use my downloading a file via FtpWebRequest as my first snippet. Here is what I reduced the code to for inclusion in the snippet, but this is the first time that I am really
posted by detlef | 0 Comments
Filed Under: