Add intellisense for any file extension in Visual Studio 2005 or 2008

I have been messing about with some template experiments in dasBlog using Notepad++ and Visual Studio 2008. That is changing the site layout by editing homeTemplate.blogtemplate, dayTemplate.blogtemplate and itemTemplate.blogtemplate for a dasBlog Theme. These files are basically html files with dasBlog specific macros for inserting the blog functionality. Notepad++ First off I love Notepad++ as a replacement for Notepad.  I have had a hard time doing more complex things in Notepad++ due to my addiction to […] Read more »

URL Rewrite Does Not Work on Vista

While trying out a complex URL rewriting scenario in ASP.Net I ran into a pretty strange problem that resulted in a 404 error: Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested Url: /6.aspx/t.aspx My code is very similar to a solution that I […] Read more »

Remember to always have a static customErrors page

I was just surfing around on http://forums.microsoft.com and got a yellow screen of death! I must say I was slightly surprised. In web projects that I have been involved in we have always added two customErrors pages one to handle generic errors which redirects to an errorpage.aspx page and then a static html page errorpage.html which is only used when an error occurs on the dynamic error page… A sample configuration using location follows: <configuration> […] Read more »

Java Web Service Client problems

I have been having some trouble lately trying to debug a .Net web service that I have constructed for a proof of concept. The scenario is that we have a Java application that calls a web service and the web service passes the call on to BizTalk for processing. Not a terribly complex scenario so I wasn’t expecting much trouble setting up the POC. Unfortunately we have experienced  some really strange problems. Calling the web […] Read more »

New Theme for dasBlog – now with Google Search

I have created a new theme for my blog, I feel that this theme is more modern and has a lighter feel to it. I based the theme on an open source / free web template named Multiflex. It is available from www.1234.info this theme is based on Multiflex version 5.4. It took a lot more time to convert the web template into a dasBlog theme than I had figured on – partly because i […] Read more »

Getting aggregator pings to work with medium trust

I seem to have managed to get server pings from dasBlog to work in medium trust! This has been a major issue for me previously, not as much of an issue now that I primarily use off-line tools but it is still great to have it. The key is that originUrl in the medium trust settings supports regular expressions! More info on Haacked, which is where I found the solution. Just to make things clear: […] Read more »

Strange ASP.NET Web Parts database exception.

Recently I was working on ASP.Net 2.0 Web Parts in a Virtual PC environment and ran across a strange exception. I had read that the Web Parts personalization database is separate from the membership and profiles databases but had not really thought about it further. Previously everything just seemed to work once I ran “aspnet_regsql” to create the aspnetdb database to handle all the data for the services. In the VPC there was already a […] Read more »

Talk on Migrating ASP.NET 1.x to ASP.NET 2.0 at DevDays 2006

A couple of days ago I did my first big talk, a colleague and I held a 50 minute session on migrating from ASP.NET 1.x to ASP.NET 2.0 at DevDays 2006 in Stockholm. Luckily it was a big success! I credit our success almost entirely (obviously we had some part in it…) to Scott Hanselman, we found many tips and links on the topic of public speaking on Scott’s blog. The most important tip and […] Read more »

Migrating Asp.Net 1.1 to .Net 2.0 – DevDays 2006

I will be speaking at DevDays 2006 here in Sweden next week on the topic of migrating Asp.Net 1.1 applications to Asp.Net 2.0. It is an interesting topic especially when you really start looking under the covers at what has changed at a lower level. The whole session will be recorded and may be made publicly available at a later date. For anyone else who is interested in this topic these are some of the […] Read more »

HTML visualizer

I found a cool applet online that creates a graphical tree structure of any website. This is the first page of nSilverBullet on the 28th November 2006: blue: for links (the A tag) red: for tables (TABLE, TR and TD tags) green: for the DIV tag violet: for images (the IMG tag) yellow: for forms (FORM, INPUT, TEXTAREA, SELECT and OPTION tags) orange: for linebreaks and blockquotes (BR, P, and BLOCKQUOTE tags) black: the HTML […] Read more »