0
Comments

Seeing the Big Picture While Getting Caught Up in the Details Posted by Dave under Notes.

I’ve always wanted to know how things work. By the time I learned to talk I was asking my mother things she couldn’t answer:

0
Comments

Serializing Data with System.Runtime.Serialization.DataContractSerializer Posted by Dave under Cash Tracker, Code Samples.

Last time we discussed Serializing Data with System.Xml.Serialization.XmlSerializer. We will be using the same sample solution for this article.

0
Comments

Serializing Data with System.Xml.Serialization.XmlSerializer Posted by Dave under Code Samples.

Serializing objects is often a useful way to save the state of an application. Let’s take a look at doing this using the XmlSerializer object.

0
Comments

Cash Tracker (pre-alpha) Now Available for Download Posted by Dave under Cash Tracker, Code Release.

I’m happy to announce there’s now a somewhat usable version of Cash Tracker available for download. Click here to get it!

0
Comments

Announcing Cash Tracker Posted by Dave under Cash Tracker.

I’ve undertaken a personal project in my spare time. It’s a personal finance application I’m calling Cash Tracker. You can read the technical details on the Cash Tracker page.

0
Comments

IHttpHandler and IRequiresSessionState Posted by Dave under ASP.NET.

If your web application relies on session to persist the user’s state and you’ve ever tried writing your own HTTP handler, you’ve probably run into an error: “Session state is not available in this context”. Thankfully, there is a simple remedy.

0
Comments

Version Checking with System.Version Posted by Dave under Code Samples.

The .Net Framework makes version checking extremely simple. The framework provides a Version class that implements IComparable. Comparing two version is as easy as the code below:

0
Comments

C# Method to Add an Image to a PDF Posted by Dave under Code Samples.

I had to write a method to put images onto PDFs generically, so I wrote this handy little method. Just get your PDF and your image into byte arrays and fire the method below. I used PDFSharp to append the image. This method could be used to do things like build a letterhead generator or any other kind of PDF document generation.

1
Comments

ASP.NET Maintenance Scheduling Made Easy Posted by Dave under ASP.NET, Guides.

Any time I have code I need to release for an ASP.NET website that I know is going to cause a recompile (like anything in app_code, any new binaries, master pages, user controls, etc.) I try to avoid doing it when I know there are a lot of users on the site. The best way to ensure that nobody will be using your website is to add scheduled maintenance support to your site. It’s very easy to do and it can save you and your users a lot of headache while you make updates.

0
Comments

The Sub-query vs. the “UPDATE FROM” Statement Posted by Dave under SQL.

From time to time I run across a table I need to update based on an ID column or other condition that doesn’t originate from that table. This usually occurs when there are one or more foreign keys in play. For instance, consider the tables below:

0
Comments

Code Sample: ASP.Net Message Control Posted by Dave under Code Samples.

Relaying information snippets and error messages is one of the most common tasks between web application developers. The most basic control this can be done with is the Literal. That’s great for an internal application or a school project, but in the real world information has to be both visually appealing and convey what the message is about using an icon or other form of illustration.

0
Comments

How To: Build A Sign On Service Like Windows Live Using ASP.Net Posted by Dave under Guides, Sign On Series.

If you run a business that serves a variety of web-enabled products to your clients, the task of implementing sign-on logic for each one can become redundant and hard to maintain. Having a single sign on service can help modularize the sign on process for all of your products as well as add fluidity as your users move between your services.

0
Comments

Multiple WordPress Sites on GoDaddy’s Windows Hosting Posted by Dave under Guides.

UPDATE: This post is now obsolete since GoDaddy now allows multiple installations of wordpress. I’ll call that a bug fixed!


©2010 www.geekscrapbook.com