Monthly Archives: August 2011

Managing multiple environments in asp.net applications

Managing projects in multiple environments can be a challenge. IT departments commonly have Development, Test, QA, and Production environments, each with distinct databases, WCF services and other settings. Deploying to these different environments requires careful attention to how these settings are stored in the web.config.

Posted in .Net, MVC, Visual Studio | Tagged | Leave a comment

Sitecore Rich-Text Field Rendering and GUID Links

There are several situations where you might need to get the content of a Rich-Text field programmatically and display it on a page. You could have a field with branding text that is displayed on every page (in the header or footer), so you put it in a site-level configuration item and access it from every page. You could have a variable number of child items whose content needs to be displayed dynamically on the parent item.

Posted in Development, Sitecore | Leave a comment

Encoding .WMV files in Silverlight and Publishing to SharePoint 2010

Simply uploading a .WMV file to a SharePoint will not play via Silverlight. You will receive a ‘Media failed to load’ error message at the bottom of the Silverlight display window. The following post will walk you through the steps on how to encode your Windows Media Video and then how to publish that file to your SharePoint 2010 site.

Posted in SharePoint 2010, Silverlight | 2 Comments

Creating an ASP.NET Dynamic Data Web Application

To create an ASP.NET Dynamic Data Web Application create a new Project in Visual Studio 2010 and select the ASP.NET Dynamic Data Entities Web Application template if you intend to use an ADO.NET Entity data model or the ASP.NET Dynamic Data Linq to SQL Web Application if you intend to use a LINQ to SQL data model.  In this post we will be using Entity Framework.

Posted in .Net, ASP.NET Dynamic Data | Tagged , | 10 Comments