Life, Surf, Code and everything in between

Weblog Posts in February 2008
Digitally Signing an XML Document and Verifying the Signature
February 23, 2008 @ 3:41 am

Signing an XML document and then validating the digital signature of the document doesn't involve a lot of code - once you know how it works, but arriving there is quite the journey. This post describes setting up a certifcate for testing, signing an XML document with the Private key and then validating it with the Public key.

kick it on DotNetKicks.com
Embedding ASP.NET Server Variables in Client JavaScript, Part 2
February 21, 2008 @ 3:47 am

This post discusses some updates to the wwScriptVariables class I talked about last week. This class provides an easy way to access server variables in client script, automatically expose ClientIDs as simply ID values and provides a mechanism for client code to send updated values back to the server to consume easily.

kick it on DotNetKicks.com
Vista SP1: Terminal Services /console switch no longer working
February 14, 2008 @ 1:29 pm

Here's one idiotic change in Vista SP1: Looks like Microsoft decided to change the switch to launch the Terminal Services client so it can log on to the console of the machine/server to /admin from /console. The new switch to connect to the console is: %systemroot%\system32\mstsc.exe /admin I suppose I can understand changing the switch to /admin since it's more descriptive, but why the heck...

kick it on DotNetKicks.com
Embedding ASP.NET Server Variables in Client JavaScript
February 12, 2008 @ 2:23 am

Getting Server Variables embedded into a page and using them from JavaScript code can be a pain. Following Jon Galloway's post a few days ago I thought that maybe a more generic solution that doesn't rely on ASP.NET AJAX and is more generic might be useful to make the task easier and apply much broader scope. The result is an easy to use, generic class that generates a JavaScript object from key value pairs created on the server with static values or dynamic control or object properties.

kick it on DotNetKicks.com
jQuery Intellisense in Visual Studio
February 11, 2008 @ 12:51 am

Getting jQuery to work with Intellisense in Visual Studio is now possible after Microsoft updated script parsing code in a recent hotfix. Although there are improvements in basic parsing and some Intellisense is supported, by making some very minor comment changes to jQuery.js can improve Intellisense support drastically.

kick it on DotNetKicks.com
Visual Studio Hotfix for Slow Web Forms Editing and Input Focus Issues
February 08, 2008 @ 7:58 pm

Microsoft has just released a hotfix for a number of issues that have been plaguing me for some time in Visual Studio 2008. The issues involved have to do with the visual designer and the HTML code editor and a number of different input focus and slow input situations. You can get the hotfix from here:...

kick it on DotNetKicks.com
JavaScript Errors in the Mainstream
February 08, 2008 @ 4:38 am

I kept a list of a few major sites that have been bombing for me with JavaScript errors just today in the last few hours since I decided to write this up: Hawaiian Airlines Expedia Amazon's MP3 Download Site Facebook (Email app) Musician's Friend Checkout site Authorize.NET's Admin interface American Express Bill Payment Yahoo - certain news stories of the portal home page And here are a few more...

kick it on DotNetKicks.com
Transparent Labels in WinForms
February 07, 2008 @ 1:56 am

One really annoying thing about WinForms is that there's no built in support for transparency for controls. If you want to create a label and want it to blend into any custom background colors this isn't inherently supported. Although there's a static Color.Transparent color property, when you apply to a label on a form it doesn't actually do anything - you get the same default background color...

kick it on DotNetKicks.com
Update to LINQ to SQL Business Object Wrapper Sample
February 05, 2008 @ 2:24 pm

Last night I after I posted the LINQ DataContext post I realized that I hadn't ever updated the LINQ Business Object Layer example app for .NET 3.5 RTM. Although I've long updated the code, since I use it here in a few internal applications as a base business object wrapper around LINQ to SQL, I...

kick it on DotNetKicks.com
Linq to SQL DataContext Lifetime Management
February 05, 2008 @ 1:55 am

The DataContext is the central object that holds LINQ to SQL together. This post talks about a few different approaches you can use to hang on to your DataContext in the course of a request, to pass between layers or to manage on a per thread/request level.

kick it on DotNetKicks.com
Bank Logins and Twenty Questions
February 04, 2008 @ 3:23 am

You have one of those annoying banking sites that ask dumb ass questions just so you can log on? I dropped all my cookies on my machine a couple of days ago because I've had some issues with a variety of sites recently and so I lost a ton of my login cookies with various financial instutions. So...

kick it on DotNetKicks.com
Let it Snow...
February 01, 2008 @ 12:29 am

I live on Maui in Hawaii and well, it's happened! Pigs learned to fly and hell is about to freeze over. So much for global warming, eh? This is a picture from across the street looking up to Haleakala and there's been snow on the mountain for the last few days. It's been unseasonably cold here on...

kick it on DotNetKicks.com
Web Service Interoperability? Not from where I sit...
February 01, 2008 @ 12:15 am

I've been working on a lot of Web Service interop projects for the last couple of months all of which have been problem interfaces. For all the talk of interoperability I seem to be getting the short end of the "it just works stick" ending up with service that require endless fiddling to work properly for client access.

kick it on DotNetKicks.com
Archives
Categories
ASP.NET (146) Personal (53) .NET (52) Visual Studio (41) AJAX (35) Vista (27) LINQ (25) IIS (24) JavaScript (23) CSharp (17) WCF (17) Localization (16) HTML (15) Microsoft AJAX (13) FoxPro (13) Web Services (11) jQuery (10) Windows (9) WPF (8) XML (8) ADO.NET (8) ASP.NET (7) COM (7) Web Connection (7) Sql Server (6) West Wind Ajax Toolkit (6) Silverlight (5) CSS (4) Hardware (4) Bugs (4) C++ (4) Html Help Builder (4) Office (4) Live Writer (3) HTTP (3) Help Builder (3) DataBinding (3) Source Control (3) Security (3) WebLog (3) Software Development (2) Windsurfing (2) RSS (2) Speaking (2) Tools (2) Conferences (2) Help (2) Installation (2) Maui (2) ISV (2) Networking (1) iPhone (1) Graphics (1) Control Development (1) ADO.NET (1) IIS7 (1) Visual Studio (1) Addins (1) Travel (1) Utilities (1) Threading (1) Web Deployment Projects (1) Web Design (1) SmartPhone (1) RegEx (1) WinForms (1) wwHoverPanel (1)


West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2008