Life, Surf, Code and everything in between
White Papers | Free Tools | Products | Message Board | News |

Weblog Posts in November 2007
Detecting Text Encoding for StreamReader
November 28, 2007 @ 1:04 am

Reading Text files with proper encoding and byte order marks can be a bit of a pain when using a StreamReader as there's no detection of no byte order mark that defaults to UTF-8 which is usually incorrect. Here are a few thoughts on explicitly detecting BOM settings and getting a corresponding Encoding.

kick it on DotNetKicks.com
What's Ailing ASP.NET Web Forms
November 27, 2007 @ 1:44 am

The recent announcement that ASP.NET will soon get an alternate engine in the ASP.NET Model View Controller framework (MVC - see last month’s editorial) has brought out some renewed discussion of the merits and shortcomings of Web Forms and the potential need for an alternate mechanism of building...

kick it on DotNetKicks.com
JavaScript Minifier Utility Posted
November 26, 2007 @ 1:14 pm

I've posted a quick and dirty JavaScript minifier utility based on Douglas Crockford's Java Script Minifier that minifies JavaScript by stripping comments and whitespace. The utilty provides both GUI and Command line operation with a few options for string or file conversion and batch operation. Provided with source code.

kick it on DotNetKicks.com
.NET 3.5 Upgrade SNAFU on my Server
November 24, 2007 @ 11:37 am

In the .NET 3.5 Upgrade shuffle I ran into a small problem caused by a difference in the .NET 2.0, .NET 2.0 SP1 Beta 2 and RTM runtimes. During beta 2 small change was made that broke some of my apps, which has been undone in RTM causing a couple of apps to fail for me until I recompiled.

kick it on DotNetKicks.com
CSS Validation showing up as Errors in Visual Studio 2008
November 23, 2007 @ 11:06 am

Visual Studio 2008 finally allows the ability to mark HTML, CSS validation and JavaScript errors as Warnings rather than as errors that show up in the build error list. But there's a small issue related to CSS errors not properly showing as warnings by default until you reset the settings explicitly.

kick it on DotNetKicks.com
Getting Images to render properly in the ASP.NET Designer
November 21, 2007 @ 5:25 pm

I'm embarrassed to say that I didn't quite know how to get controls to render image urls properly in the designer. The situation is as follows: You create a custom server control and you have an image property and you allow the use of the ~/images/someimage.gif syntax to specify the image path. I...

kick it on DotNetKicks.com
Visual Studio 2008 RTM Installed
November 20, 2007 @ 2:05 pm

I've done a bunch of uninstalls and reinstalls and they've all gone pretty well with a few minor hiccups. The best way I've found to do the uninstall is to: Uninstall the Sql Server Compact 3.5 stuff Uninstall all the .NET 3.5 Compact Framework stuff Uninstall the Visual Studio Web Authoring...

kick it on DotNetKicks.com
Anonymous Types in C# 3.0
November 15, 2007 @ 4:25 pm

One of the most convenient features of C# 3.0 is the ability to create new types 'on the fly' using Anonymous Types. Anonymous Types are essentially compiler generated types that you don't explicitly declare with an official type declaration. Rather you define the type inline as part of the code...

kick it on DotNetKicks.com
Type Intializers in C# 3.0
November 12, 2007 @ 1:20 am

During my LINQ to SQL session at DevConnections somebody in the audience asked what happens behind the scenes when you use type initializers in C# 3.0 and well it turns out I gave a hedged answer with a guess that was - uhm - wrong. So here's a discussion of how this feature actually works....

kick it on DotNetKicks.com
My DevConnection Fall '07 Session Slides and Sample Links
November 10, 2007 @ 7:14 pm

I've posted the updated slides and samples for my DevConnection sessions. As usual the content here has changed a bit from what's on the conference CD as I tend to work and update samples right on up until the last day usually.

kick it on DotNetKicks.com
Done!
November 10, 2007 @ 1:31 am

Yup I'm done with conferences and a couple of projects that have been sapping my energy for the last couple of months. You've probably noticed that the frequency of posts on this blog has dropped a bit in the last few weeks. With DevConnections over I'm finally past the threshold of pain...

kick it on DotNetKicks.com
Stranded
November 03, 2007 @ 5:19 pm

Ugh... it's 4am now and I just got home from the airport. I was on my way to Vegas for DevConnections when my flight was cancelled due to plane troubles. Now these things happen and although I'm not particularily happy about this I prefer technical difficulties on the ground than in the air. It's a...

kick it on DotNetKicks.com
Visual WebGui and a LINQ to SQL quirk
November 02, 2007 @ 12:02 am

Over the last week I've been spending quite a bit of time on non-Microsoft tools building samples for my DevConnections Html Alternatives session. I spend the better part of this week working with Flex and also with Visual WebGui utilizing some existing business objects and Web Services to hook...

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


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