martinondotnet.blogspot.com
Martin on .Net: November 2010
http://martinondotnet.blogspot.com/2010_11_01_archive.html
Martin on .Net. My hints and tips for cleaner, better code! Thursday, 18 November 2010. EKTRON: Diagnosing 8.0 Extension Strategy Loading Failures. I’ve recently hit a problem with deploying Ektron. Extensions (the 8.0 replacement for Plugins), essentially every time my Extension ‘Strategy’ was called the workarea would display an error similar to:. Value cannot be null. Parameter name: type. Fortunately, in the Application Event log (for the CMS400 Source) there’s a bit more information:. At Ektron....
martinondotnet.blogspot.com
Martin on .Net: January 2012
http://martinondotnet.blogspot.com/2012_01_01_archive.html
Martin on .Net. My hints and tips for cleaner, better code! Sunday, 15 January 2012. Announcing MVC3 Validation Groups. As this work involved a bit of the old copy-paste-adapt from the standard MVC code, it’s a bit complicated to go into the fine details of how to replicate the functionality for yourself. So I’ve setup a codeplex. Project with a reusable library all ready to go! Of course all the source code is up there as well! Download the latest release. Update your view to use ‘jquery.valid...Amend y...
martinondotnet.blogspot.com
Martin on .Net: Ektron: Treating Office Files as Normal DMS Assets
http://martinondotnet.blogspot.com/2011/08/ektron-treating-office-files-as-normal.html
Martin on .Net. My hints and tips for cleaner, better code! Thursday, 4 August 2011. Ektron: Treating Office Files as Normal DMS Assets. One of the features of Ektron. Is tight office integration allowing the editing of office files directly from the workarea. However, in some circumstances you may want to treat these as normal DMS assets (like PDF files) as their the end results of an offline publishing process. The Manual Fix (Ektron Supported). IsOffice = document.getElementById( isOfficeDoc. Initial...
martinondotnet.blogspot.com
Martin on .Net: December 2010
http://martinondotnet.blogspot.com/2010_12_01_archive.html
Martin on .Net. My hints and tips for cleaner, better code! Thursday, 16 December 2010. Ektron: High Indexing Service Processor Usage (Potential) Fix. One of our larger client Ektron sites has had a history of poor performance that always seemed to be related to Indexing immediately after publishing content or syncing content to the live environment. The site heavily uses indexed smart form fields and indexed metadata fields for ordering/sorting lists of content. Fortunately, with support from Ektron.
martinondotnet.blogspot.com
Martin on .Net: August 2010
http://martinondotnet.blogspot.com/2010_08_01_archive.html
Martin on .Net. My hints and tips for cleaner, better code! Wednesday, 18 August 2010. HowTo: Creating Strongly Typed Code Using Microsoft.VisualBasic.Collection. One of the 3rd Party CMS’s that I frequently work with ( Ektron. Has a lot of legacy API code that uses Microsoft.VisualBasic.Collection. S ( from hereon referred to as. There are many reasons to dislike Collections, but my top ones are:. You can’t see the key’s of the values inside – this often leads to Exception led logic. Microsoft.Visua...
martinondotnet.blogspot.com
Martin on .Net: Persisting the Page Title across Update Panel Post backs
http://martinondotnet.blogspot.com/2011/08/persisting-page-title-across-update.html
Martin on .Net. My hints and tips for cleaner, better code! Tuesday, 16 August 2011. Persisting the Page Title across Update Panel Post backs. There’s a fun bug with AsyncPostbacks blanking out the Page Title ( http:/ stackoverflow.com/questions/627378/page-losing-title-after-updatepanel-asyncpostback). The recommended fix is to rebind the page title on each Async Postback or to use the declarative page title attribute in the aspx. My fix is to fix a JS bug in JS:. Instance.add endRequest( function.
martinondotnet.blogspot.com
Martin on .Net: September 2010
http://martinondotnet.blogspot.com/2010_09_01_archive.html
Martin on .Net. My hints and tips for cleaner, better code! Monday, 20 September 2010. Security: Protect against POET Attacks with Custom Errors! There’s been a big. Made of a serious security flaw. In ASP.Net which potentially affects a lot of .Net sites, that allows a 3rd Party to trick ASP.Net into serving sensitive files within a web application folder. Microsoft have released official advise on how to temporarily patch. Fortunately a quick amend to my Custom Error Module. MaxDelay = 500;. Format(Sy...
martinondotnet.blogspot.com
Martin on .Net: July 2011
http://martinondotnet.blogspot.com/2011_07_01_archive.html
Martin on .Net. My hints and tips for cleaner, better code! Thursday, 14 July 2011. Experiments with ADO.Net, Extension Methods and Anonymous Methods. IEnumerable ContentAwaitingApproval GetPendingApprovals( long. List ContentAwaitingApproval approvals = new. List ContentAwaitingApproval ();. SqlConnection conn = new. SqlConnection(ConfigurationManager.ConnectionStrings[Properties.Settings.Default.ConnectionStringName].ConnectionString). SqlCommand cmd = conn.CreateCommand(). Status = dr.GetString(2).
martinondotnet.blogspot.com
Martin on .Net: November 2011
http://martinondotnet.blogspot.com/2011_11_01_archive.html
Martin on .Net. My hints and tips for cleaner, better code! Tuesday, 1 November 2011. Ektron: Finding “Missing” Content in the Index on 64bit Windows. When content is created on an Ektron. With a large content id (commonly on eSync enabled workareas) it may corrupt the content id. . For example if a new content item has an id of 6442451035 it will actually be indexed with a contentid of 2147483739. This is because the original id is larger than an unsigned integer can hold. ContentId = 6442451035;.
martinondotnet.blogspot.com
Martin on .Net: Ektron: Finding “Missing” Content in the Index on 64bit Windows
http://martinondotnet.blogspot.com/2011/11/ektron-finding-missing-content-in-index.html
Martin on .Net. My hints and tips for cleaner, better code! Tuesday, 1 November 2011. Ektron: Finding “Missing” Content in the Index on 64bit Windows. When content is created on an Ektron. With a large content id (commonly on eSync enabled workareas) it may corrupt the content id. . For example if a new content item has an id of 6442451035 it will actually be indexed with a contentid of 2147483739. This is because the original id is larger than an unsigned integer can hold. ContentId = 6442451035;.
SOCIAL ENGAGEMENT