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

Weblog Posts in March 2008
What can you keep in your Head?
March 30, 2008 @ 3:16 am

So as I'm sitting here working on a project I'm realizing that the information that I'm actually pulling up from my head is getting to be less and less, and information that I'm drawing on from old code I have sitting around from other projects or documentation, blog entries is becoming my primary knowledge source. Am I getting senile or is this just a way to be able to deal with the myriad of technologies that we are tasked to work with these days. There's just not enough room to store it all 'up there' any more...

kick it on DotNetKicks.com
Absolute Positioning inside of a Relative Element with CSS
March 28, 2008 @ 2:39 am

Getting elements positioned absolutely inside of a container is not terribly obvious and not very discoverable using CSS. But it can make for a cool effect and is a useful feature for many overlay type operations in Html markup. Here's an example of a hover over delete button that pops up on focus of an element.

kick it on DotNetKicks.com
.NET 3.5 Framework Distribution Size
March 27, 2008 @ 1:23 am

One of the considerations of whether to choose .NET 3.5 for your non-server applications might be distribution size. If you're building a vertical application that you're distributing over the Internet you are probably concerned about the size of your installation if you want people to download it. Recent versions of the .NET runtime have a made decidedly nasty turn for the worse when it comes to...

kick it on DotNetKicks.com
LINQifying - getting rid of CollectionBase?
March 26, 2008 @ 1:57 am

If you're sitting on some old types that implement CollectionBase you might find that they don't directly work with LINQ. Here's how you can make these types work with LINQ.

kick it on DotNetKicks.com
Where's my .NET 3.5 (on IIS), Dude?
March 24, 2008 @ 12:36 pm

I just delivered a small 3.5 application to a  customer in compiled form and told him to install the application on IIS. The company is one I've dealt with on a few occasions and they are .NET aware shop where I deal with developers and a .NET familiar IT department. But it wasn't long after I sent my email that I got a call back from the customer who - slightly embarrassed - mentioned that they couldn't find the 3.5 Runtime option in the ASP.NET configuration panel.

kick it on DotNetKicks.com
Justifying an iPhone
March 23, 2008 @ 3:39 pm

So last week I broke down and bought an iPhone. I know, I know I've talked trash about the hype around the iPhone some time ago and to be honest I still feel this way after buying the phone, although I also feel that after having used the phone for a last week that I made the right choice. My general feeling is that Apple is a pretentious company with their locked in tools and operating systems,...

kick it on DotNetKicks.com
Book Review: LINQ in Action
March 21, 2008 @ 5:36 am

Just got done reading LINQ in Action and it's an excellent read. Rarely do I read books cover to cover, but this book definitely made me want to go through the whole thing as it's full of little gems of information, things I didn't know and lots of new ideas I can hopefully apply soon.

kick it on DotNetKicks.com
A simple formatDate function for JavaScript
March 18, 2008 @ 5:12 am

JavaScript lacks unfortunately built in string formatting functionality. Here is a .formatDate function that provides basic dateformatting for displaying digit based date strings (ie. 10/31/2008 or 2008-10-31 20:22 or 10:24pm etc.).

kick it on DotNetKicks.com
MS Tests failing due to Security Errors
March 17, 2008 @ 12:53 pm

Ran into an odd problem today while testing with a third party DLL. My unit tests failed to run complaining that the third party DLL was not trusted. Turns out the problem is related to the security tags applied to the file when it was downloaded and installed directly of a Web download.

kick it on DotNetKicks.com
Cross Domain Support in IE 8 and Silverlight/Flash Applications
March 16, 2008 @ 1:19 am

Peter Bromberg posts a quick note about the IE 8 Cross Domain Request object which allows making cross domain calls from within the browser. If you'll recall traditionally the XmlHttp object now standard in all main stream browsers does not explicitly support cross domain calls, which are blocked for security reasons. What's a real pisser about this though is that there are other ways to make...

kick it on DotNetKicks.com
Grayed out ASP.NET Toolbox Controls? Check your Mouse!
March 15, 2008 @ 3:23 am

Have you run into a problem with the ASP.NET where you can't access toolbox items for add-on controls? You're not the only one. Apparently there's a bug that causes some hardware configurations involving Microsoft Laser mice to cause problems with the idle state that the designer uses to refresh controls and certain designer aspects.

kick it on DotNetKicks.com
Getting rid of Formatting Marks in Outlook 2007
March 14, 2008 @ 3:15 pm

I use Outlook mainly because I deal with huge volumes of email that I need to shift around into folders and groupings. Overall I'm pretty happy with Outlook even though there are lots of people who complain about how slow and unwieldy it is, but to me personally Outlooks rich desktop interface is still hugely preferable to the clunky Web interfaces from the major email providers. But there are...

kick it on DotNetKicks.com
Debugging Http or Web Services Calls from ASP.NET with Fiddler
March 14, 2008 @ 12:45 am

If you've tried to trace Http requests to Web Services or WebRequest calls in an ASP.NET application you've probably found although ASP.NET requests show up in tools like Fiddler or Charles, but the Web Service or WebRequest/WebClient calls do not. You can make this work however by modifying the proxy settings in web.config explicitly.

kick it on DotNetKicks.com
Firefox 3.0 XmlHttpRequest Default Content-Type change
March 12, 2008 @ 3:30 am

I ran into a small problem with some of my AJAX code that's checking content-type on inbound requests from the client - it looks like FireFox 3.0 is now including the charset on the content type from the client on POST operations which if not explicitly checked for can break existing code expecting only to see a content type. Small issue, but easy to miss especially in framework code like mine that frankly should have been prepared for this...

kick it on DotNetKicks.com
Updated Data Driven ASP.NET Resource Provider Posted
March 11, 2008 @ 1:53 pm

I've update the source and samples for the wwDbResourceProvider component which provides an ASP.NET Resource Provider that is driven from resources stored in a SQL Server database. The tool also includes a real time ASP.NET resource editing front end and the abillity to import and export resources. This update fixes a few small bugs and enhances the ASP.NET resource editing front end with a few UI and AJAX tweaks.

kick it on DotNetKicks.com
Watch out for Collection property Setters in ASP.NET Controls
March 10, 2008 @ 12:05 am

If you've ever run into the ASP.NET Control Design time error "Cannot create Control" you may have run into a small but easy to miss details about collection properties in ASP.NET controls: The controls can't have a setter if they are serialized from the designer or an error will occur in the designer even while code runs just fine at runtime.

kick it on DotNetKicks.com
Sensible Debugging in IE 8
March 06, 2008 @ 11:03 am

One thing that caught my attention in the IE 8 notes and that eventually made me download and install it is that it will feature the Developer Toolbar which has been an add-in for previous IE versions as a built in tool. Not only that but IE 8 includes a very FireBug-like debugger that can be easily hooked up to page content. This is a very worthwhile improvement IMHO because the debugging...

kick it on DotNetKicks.com
Odd string.Replace Chaining Behavior
March 05, 2008 @ 2:05 am

I ran into a bit of a head scratcher today with a routine that does some string manipulation. It's an old routine that I use to help me do the equivalent of ResolveUrl() outside of the context of the ASP.NET Page framework - typically in static code somewhere or as part of a handler or other component. The process is easy enough but I ran into a snag with the special case of resolving a root web...

kick it on DotNetKicks.com
IE 8 to support Standards Mode out of the Box - Yay!
March 04, 2008 @ 11:30 am

Microsoft announced today on the IE Blog that IE 8 will run in high standards mode by default, which is a complete about face from the previous position that was going to require special meta-tag headers to force the browser to run this way. This is an unexpected, but very welcome turn of events and brings some hope that we'll in our lifetime will have a version of IE that is compliant with the remainder of the browser world.

kick it on DotNetKicks.com
Watch out for XmlDocument.PreserveWhitespace when dealing with Digital Signatures
March 03, 2008 @ 12:42 pm

When creating digital signatures of XML documents its crucial that the Xml document settings on signing match the document settings that are expected for validating signatures. I ran into a problem where our signatures were failing with a vendor's site, due to the PreserveWhitespace property settings on our end and on the vendor's parser being mismatched.

kick it on DotNetKicks.com
Back from the Dead - I think
March 01, 2008 @ 6:16 pm

Arggghh... it's been a week of hell being sick like a dog. I suppose this is a common thing - I got tagged by the flu this but in a way that I have never seen before. The sickness literally knocked me completely offline for 3 days which is unheard of. Other than time when I took a vacation in Baja I don't I ever been so sick that I've not been able to get online and take care of basic business....

kick it on DotNetKicks.com
Archives
Categories
ASP.NET (161) Personal (65) .NET (54) Visual Studio (45) AJAX (41) JavaScript (39) 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