Medium Trust forUmbraco 4.x<br />Benjamin HowarthCode Gecko Developments<br />
Sounds boring, right?<br />It’s crucial to your development<br />Safer<br />Faster<br />Cheaper<br />Medium Trust<br />
Virtual bilateral bubble (VBB)<br />Protects your code from others’<br />Protects others’ code from yours<br />Better codi...
Temporary directory overflow<br />∴ Bad coding practice<br />Move to App_Code<br />Strongly-defined ∴ safer<br />Cached at...
A couple of nifty .NET coding tricks<br />~ 50 lines of code in the core<br />A lifetime of XSLT sins saved <br />How? Wh...
...doesn’t work in Medium Trust?<br />Only certain methods (e.g. Reflection.Emit)<br />Is the assembly “safe”?<br />But Re...
public static methods & class<br />[XsltExtension] attribute<br />Done!<br />Refactoring<br />
Doug Robar’sXSLTsearch module<br />Examples<br />
New App_Codeeditor coming soon<br />(thanks to Lee Kelleher)<br />Intellisensein the browser window(will be done as TinyMC...
Out-of-the-box support for:<br />Visual Web Developer Express<br />SQL Server Express<br />Works on shared hosting (tested...
Safer, more efficient code<br />Better practices<br />Reduced development costs & overheads<br />∴ Lots of benefits for ev...
Upcoming SlideShare
Loading in …5
×

Medium Trust for Umbraco

4,262 views

Published on

Benjamin Howarth from Code Gecko Developments discussed running Umbraco in shared hosting and what the benefits mean for businesses (both small and large) and developers.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
4,262
On SlideShare
0
From Embeds
0
Number of Embeds
1,696
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Sounds boring – somewhere in the middle... not an extreme (high or low), the compromise between what you (your code) wants/needs and what it can have/consume.
  • Medium Trust for Umbraco

    1. 1. Medium Trust forUmbraco 4.x<br />Benjamin HowarthCode Gecko Developments<br />
    2. 2. Sounds boring, right?<br />It’s crucial to your development<br />Safer<br />Faster<br />Cheaper<br />Medium Trust<br />
    3. 3. Virtual bilateral bubble (VBB)<br />Protects your code from others’<br />Protects others’ code from yours<br />Better coding practices<br />Safer<br />
    4. 4. Temporary directory overflow<br />∴ Bad coding practice<br />Move to App_Code<br />Strongly-defined ∴ safer<br />Cached at application level ∴ faster<br />Works in Medium Trust ∴ cheaper<br />&lt;msxml:script /&gt;<br />
    5. 5. A couple of nifty .NET coding tricks<br />~ 50 lines of code in the core<br />A lifetime of XSLT sins saved <br />How? Why?<br />
    6. 6. ...doesn’t work in Medium Trust?<br />Only certain methods (e.g. Reflection.Emit)<br />Is the assembly “safe”?<br />But Reflection...<br />
    7. 7. public static methods & class<br />[XsltExtension] attribute<br />Done!<br />Refactoring<br />
    8. 8. Doug Robar’sXSLTsearch module<br />Examples<br />
    9. 9. New App_Codeeditor coming soon<br />(thanks to Lee Kelleher)<br />Intellisensein the browser window(will be done as TinyMCEplugin)<br />Code pre-compilation to test if App_Code will fail compiling<br />Faster<br />
    10. 10. Out-of-the-box support for:<br />Visual Web Developer Express<br />SQL Server Express<br />Works on shared hosting (tested with GoDaddy £10/month account)<br />As long as you have the NETWORK SERVICE user as the application pool identity(thanks to Ian Houghton)<br />∴ Comparable to Wordpress, Drupal, Joomla, DotNetNuke (et al) for development & setup costs<br />Cheaper<br />
    11. 11. Safer, more efficient code<br />Better practices<br />Reduced development costs & overheads<br />∴ Lots of benefits for everyone<br />Summary<br />

    ×