MCMS

The SingleImagePlaceholderControl and SingleAttachmentPlaceholderControl have a small bug: they render a link to an image named transparent.jpg in the current directory. As this is only a cosmetic bug that causes 404 errors in the IIS log this bug will not be fixed in a hotfix. As this is still an anoying problem for some users […]

A couple of weeks ago someone asked the question on the public newsgroup on how to verify a given posting name using regular expressions. Here is a solution for this problem: public bool CheckName(string name) {     // test for other characters as the ones in the list     Regex regEx1 = new Regex(@”[^A-Z0-9 _\-().]”, RegexOptions.IgnoreCase);     // test for double ‘.’     Regex regEx2 = new Regex(@”\.{2}”, RegexOptions.None);     // test for ‘.’ at the end     Regex regEx3 = new Regex(@”[\.]$”, RegexOptions.None);         string Name = txtName.Text.Trim();     Match match1 = regEx1.Match(Name);     Match match2 = regEx2.Match(Name);     Match match3 = regEx3.Match(Name);     // valid = no invalid chars, no double dot, no dot at the end     bool valid = !match1.Success && !match2.Success && !match3.Success;      return valid;}

David Wang provided a nice article on diagnosing 401 errors. This article is also very useful to analyze MCMS problems when guest access does not work even if the guest account is correctly configured in MCMS. HOWTO Diagnose IIS 401 Access Denied

Themes are a very nice feature in ASP.NET 2.0 to allow personalization and customization of a site very easily. Even without recompile an web administrator would be able to change the look and feel of a site completly by just changing the theme in the web.config (e.g.). So it would be great if you could […]

Once in a while the question how to strip <p> and <span> tags in empty placeholders comes up in the newsgroup. A solution would be to implement a custom placeholder control that removes these tags or a workflow event. The simplest solution is a workflow event to do this. This event would have to check […]

[via CMSWire and Andrew Connell] Packt Publishing hit a home run with the last Microsoft CMS (MCMS) book, Building Websites with Microsoft Content Management Server. The same team of star authors is now working on the next one, entitled Advanced Microsoft Content Management Server Development…. The last bit of the article states: There’s also a dash of […]

Microsoft has just published the chapter “Enhancing performance with Caching” of the MCMS book Building Websites with Microsoft Content Management Server from Joel, Mei Ying and myself on MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_MCMS2002_bk/html/CMSCh22EnhancingPerfCaching.asp

Advanced Microsoft Content Management Server Development Lim Mei Ying, Stefan Goßner, Andrew Connell, Angus Logan     This book has the most in depth-coverage of important MCMS development topics found anywhere. Each author of the book is a renowned expert in the area   Learn directly from recognized community experts Extensive coverage of the Publishing […]