Thursday, May 25, 2006

Asp.Net 2.0 Flash Control

One of my sites needed Flash. Okay, I was tried to use standard markup. However I need XHTML compliant pages and that markup not for me. XHTML does not allow "embed" tag! To avoid next problems with other sites I was develop control that just renders proper XHTML markup.

Next was well-known issue with loading of the ActiveX controls by IE. My control addresses this issue too. However this is experimental so it is turned off by default.

Of course, as always full design time support.

Download and try Asp.Net 2.0 Flash Control.

Possible that somebody will like control however he will need standard (capable) rendering. Just let me to know. I will add this.

Tuesday, May 16, 2006

PowerShell Tasks for MsBuild

Build eneginering MSBuild have many benefits. One of them is great extesibilty with custom tasks. In other case Windows PowerShell is very powerfull tool to do automated work. I was develop library that brings power of the Windows PowerShell to the MSBuild. Please review this at the Home page of the PowerShell Tasks for MsBuild.

Extending SiteMap Xml file

Sometimes you need to store information on per page basis. For example you need keywords or publish date. I think good choice for this can became Web.SiteMap.

To implement this just add namespace to the root of the XML file. Something like: <sitemap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" xmlns:exs="SiteMap-Extend" > Now you can easely add your attributes without any validation warnings. For example:
<sitemapnode url="~/Default.aspx" title="Home" description="" exs:keywords="test, something, oops" > From this time this attributes accesible from the code like: SiteMap.CurrentNode["exs:keywords"]

Enjoy!

Tuesday, May 02, 2006

.Net 2.0 Updatable Xml DataSource Control

Month ago I was publish post about XML back-end for the site. I was about problem of this back-end it is read-only. Now I post .Net 2.0 Updatable Xml DataSource Control - this seems to be solution for this problem. This is editable replacment for the XmlDataSource. In real live this is not full replacement because it support only tabular data, but in most cases this is true.