April 2008 Entries

ORM - Should we move to ORM instead of keep up with conventional DAL ?

  Advantages & Disadvantages Conventional DAL ORM Disadvantages of the Conventional Model ...

ASP.NET: An easily to use Web.sitemap editor

I have found a usable ASP.NET 2.0 sitemap editor from David Sussman with full source code, its offer basics feature which help you to boost up your site navigating building process, get it at http://www.ipona.com/samples/WebMenuEditor/Default.aspx The WebMenuEditor is a Windows Forms 2.0 Application that provides a user interface for editing ASP.NET 2.0 Site Map files. The editor is pretty simple and supports loading and saving of SiteMap files, including custom attributes. A template site can be created from the SiteMap nodes, using VB or C#, code-inline or code-behind and standard pages or master/content pages. Note that this...

ASP.NET - URL Rewriting breaks your website Themes

I got problems with ASP.NET 2.0 Themes and Url Rewriting today. I came across the fact that Url Rewriting breaks your ASP.NET 2.0 Themes by changing the base file path looked at by the client and screwing up the relative URL to your stylesheets. When you are using themes, the ASP.NET engine will automatically create <link href="App_Themes/themename/css/yourcss.css" type="text/css" rel="stylesheet" /> tags for each css file placed in (or under) the active theme directory. If you at the same time are using url rewriting you will probably end up with no css being found - cause...

Visual Studio: Missing Generate Local Resource menu item in Visual Studio 2005

Some of you have pointed out to me that when doing localization for your ASP.NET 2.0 web application, you could not locate the Generate Local Resource menu item under the Tools menu in Visual Studio 2005. While I do not know the exact cause of the missing menu item (probably it went missing after you install some third-party tools in Visual Studio 2005). However, you can get it back easily. Here are the steps: Go to Tools->Customize. Select the Tools catagory and click on the “Rearrange Commands…” button. In the Menu...