It wasn’t until recently (December) that I started giving IIS7 any attention. I suspect its because I don’t have to do much inside of IIS when I’m developing .NET applications on my Vista Machine and I haven’t deployed to many Windows Server 2008 machines yet. Though there’s a impressive amount of information on the IIS [...]
I’ve been spending lots of time getting my head around Aspect-Oriented Programming (AOP). At its foundation, AOP separates crosscutting concerns (concerns which are not localizable and cannot be implemented successfully using pure imperative or object-oriented programming) into loosely coupled, modularized units called aspects and injects them into the otherwise one-dimensional base program. Without AOP, we [...]
jTemplates is a jQuery plugin and template engine for Javascript. If you keep up with Dave Ward and/or Rick Strahl you may already be familiar with jTemplates as they have both highlighted the plugin on their respective bolgs. About 1.5 months ago, however, I got into the action and started using jTemplates in conjunction with [...]
Continue reading about jTemplates with jQuery, AJAX and Json
As javascript libraries, particularly jQuery, increase in popularity so do web techniques using AJAX and JSON. Have you ever seen this code? It is front and back of an ASPX file with the single responsibility to return JSON data per an AJAX request. GetDataPage.aspx <%@ Page Language=”C#” AutoEventWireup=”true” CodeFile=”GetDataPage.aspx.cs” Inherits=”GetDataPage” %> <%– This minimal code [...]
Scott Guthrie recently posted about a cool new ASP.NET server control that can be used for free with ASP.NET 3.5 to enable rich browser-based charting scenarios. If you had a look at the ASP.NET Charting Control offering, you may have noticed how obnoxiously similar the charts and sample project looks compared to that provided by [...]
There’s a ton of information online about exporting a DataGrid or GridView to Excel, but most variations do not consider the GridView may reside within an UpdatePanel. It goes without saying, but I was disappointed when I recently dusted off my “Export GridView to Excel” code snippet and encountered a number of exceptions. So I [...]
Continue reading about Export GridView to Excel within an UpdatePanel
I am releasing/distributing a Windows application and service in a couple weeks. Both application use the .NET 3.5 Framework and are wrapped up in a custom installer. Rather than having my installer prompt the user to download the .NET 3.5 framework installer, I’m packaging it up with my setup program. Very simply, I check to [...]
I am not a CSS expert, but the following technique can be used to easily apply an image next to virtually any link. First you need to define your CSS class which sets the background to a referenced image. .icon-cancel { background: url(../images/icons/cancel.gif) no-repeat left top; display:inline; padding-left:18px; margin-left: 10px; padding-right:10px; } Once defined, assign [...]