eCarlos blogger om .Net, Sharepoint, Umbraco, Hosting og meget mere

Umbraco 5 cheat sheet


Display content from Upload property on page

<img src="@Umbraco.GetMediaUrl(DynamicModel.Id,"nameofproperty")" />


Deploy of Umbraco 5 - Folder permissions

To run, the target minimum permission set for Umbraco 5 is Medium Trust or higher, with the following file permissions:

Root of site: Read/List

Debug Logging folder (default path: ~/App_Data/Logs/*) - Read/List/Write

Plugins folder (default path: ~/Plugins/Core/* and ~/Plugins/Packages/* and ~/Plugins/bin*) - Read/List/Write

For deployment it's possible to set read-only access to these folders, but in regular circumstances Umbraco will attempt to shadow-copy assemblies from the subfolders to ~/Plugins/bin on app startup

Stolen from -