Sign in
|
Help
in
Current Tags
Matt Williamson's Blog
Bunker Hollow Blogs
(Entire Site)
Bunker Hollow
Matt Williamson's home on the web, welcome.
Home
Blogs
Forums
Photos
Downloads
Consulting
Contact Me
Sponsored Link
Contact & Subscribe
Home
About
Email
RSS
Atom
Comments
Twitter
Facebook
LinkedIn
Recent Posts
Ubuntu SSH Proxy Configuration & Access
Ubuntu SCP (Secure Copy) Configuration & Access
Ubuntu 10.04 SSH (Secure SHell) Configuration with OpenSSH
Ubuntu 10.04 FTP Server Configuration with PROFTPD
Ubuntu 10.04 Samba File Share Configuration
Tags
.NET
10.04
2007
2008
2010
3.0
350Z
360
7
ASP.NET
Asterisk
Backup
BlackBerry
Blog
Boot
BSOD
Bunker Hollow
C#
Certificate
Code
Comcast
Command
Community Server
Config
CS
CSS
Design
Desktop
Development
DNS
Domain
Edge
Email
Error
Exchange
FireFox
Firewall
FreePBX
FTP
GoDaddy
Hardware
Home
Hosting
Hyper-V
IE
IIS
ISP
Lenovo
Linux
Machine
Media
Media Center
Microsoft
Mount
Network
Networking
OS
Outlook
OWA
pfSense
PowerShell
R2
RADIUS
RDP
Remote
Sale
Script
Security
Server
Settings
Share
SMTP
Software
Spam
SQL
SSL
T61p
Terminal
Terminal Services
Thinkpad
TrixBox
TS
Tutorial
TVersity
Ubuntu
Update
Utility
Virtual
Vista
Visual Studio
VMWare
VOIP
VPN
Warning
Web
website
Windows
WPF
Xbox
XP
Archives
August 2010
(3)
July 2010
(3)
June 2010
(5)
May 2010
(4)
April 2010
(4)
March 2010
(8)
February 2010
(14)
January 2010
(1)
November 2009
(4)
October 2009
(7)
September 2009
(2)
August 2009
(5)
July 2009
(6)
June 2009
(14)
May 2009
(4)
April 2009
(5)
March 2009
(8)
February 2009
(9)
January 2009
(9)
December 2008
(6)
November 2008
(6)
October 2008
(16)
September 2008
(14)
August 2008
(11)
July 2008
(12)
June 2008
(13)
May 2008
(18)
April 2008
(6)
March 2008
(15)
February 2008
(10)
January 2008
(10)
December 2007
(14)
November 2007
(15)
October 2007
(29)
September 2007
(2)
Matt Williamson's Blog
Personal discoveries of an IT professional.
Browse by Tags
All Tags
»
C#
(
RSS
)
.NET
ASCII
ASP.NET
C
Class
Code
Design
Diagram
Open
Open Source
Pattern
Patterns
Programming
Sharp
Software
Source
Strategy
WPF
XML
WPF Application Hyperlink Examples
WPF Browser Application Hyperlink <TextBlock> <Hyperlink NavigateUri="http://www.google.com">Click here!</Hyperlink> </TextBlock> WPF Application Hyperlink (must handle RequestNavigate if hyperlink is not in a page control...
Posted
May 10 2009, 08:41 AM
by
Matt Williamson
with | with
2 comment(s)
Filed under:
Software
,
Code
,
.NET
,
C#
,
WPF
.NET Get Assembly Information (Title, Version, etc)
I'm working on a new WPF application and I've started with the basics as usual; a menu bar, file, exit, help, and an about dialog box. But it's not going quick and easy, I'm surprised at how difficult it is to access the assembly information...
Posted
Apr 29 2009, 04:35 PM
by
Matt Williamson
with | with
6 comment(s)
Filed under:
Code
,
.NET
,
C#
,
Class
,
WPF
File Append
Lately I've been writing a ton of SQL scripts. I like to keep them separate for clarity but every release cycle I need to compile them into a single script for deployment. So far I've been doing it manually, but my latest release involved 20+...
Posted
Apr 24 2009, 01:48 PM
by
Matt Williamson
with | with
no comments
Filed under:
Software
,
Code
,
C#
,
Source
,
Open
,
WPF
,
Open Source
C# Strategy Pattern Custom Exception Class
After implementing the Singleton pattern in my last post, I've gotten all jazzed up about software design patterns. I went out and purchased Head First Design Patterns and it's been a great read. So I've been looking for problems to implement...
Posted
Jan 24 2009, 05:00 PM
by
Matt Williamson
with | with
no comments
Filed under:
Code
,
C#
,
C
,
Sharp
,
Source
,
Patterns
,
Design
,
Strategy
,
Diagram
,
Class
,
Pattern
C# Singleton Pattern Example
The singleton pattern is a computer programming design pattern to limit the instantiation of a class to a single object. I've found this pattern useful just recently when creating a utility object to access codes, lists, and filters common to all...
Posted
Jan 07 2009, 02:48 PM
by
Matt Williamson
with | with
3 comment(s)
Filed under:
Software
,
Code
,
C#
,
Programming
,
Patterns
,
Design
ASP.NET Disable Submit Button OnClick
Add the following line on Page_Load. This will disable btnSubmit , change the text of the button, and then continue on with the server side btnSubmit_OnClick event handler. btnSubmit .Attributes.Add("onclick", "this.value=\"Processing...
Posted
Oct 03 2008, 04:05 AM
by
Matt Williamson
with | with
7 comment(s)
Filed under:
ASP.NET
,
C#
,
C
,
Sharp
C# - Properly Format Special XML Characters in String
If you ever manipulate XML as regular strings, you've definitely run into the issue where a special character (&<'>") breaks your app. It's easy enough to write your own method to replace these five characters with their proper...
Posted
Oct 02 2008, 02:26 PM
by
Matt Williamson
with | with
no comments
Filed under:
XML
,
C#
,
C
,
Sharp
Find & Replace Newline (\r\n) with UltraEdit
I ran into an interesting problem this week, a utility I wrote created an incredibly long string but wasn't formatted properly. The Environment.NewLine characters \r\n were appearing in the string where the line breaks should have been. With UltraEdit...
Posted
Sep 05 2008, 11:24 AM
by
Matt Williamson
with | with
1 comment(s)
Filed under:
Software
,
C#
,
ASCII
ASP.NET Membership ValidateUser Always Returns False
I was creating a page where a user must enter his password before accessing sensitive account information. The first couple passes everything was running smoothly, but after testing for a few minutes ValidateUser would fail every time. Since I was testing...
Posted
Aug 30 2008, 01:08 PM
by
Matt Williamson
with | with
no comments
Filed under:
Software
,
ASP.NET
,
C#
Authorize.net Custom Classes
I wrote two classes to make using an authorize.net account a little easier, a transaction class and a transaction response class. I removed my custom code in the transaction constructor, you'll have to replace it with your own account information...
Posted
Jul 29 2008, 08:58 PM
by
Matt Williamson
with | with
no comments
Filed under:
Software
,
C#