Medium Trust for Umbraco

  • 3,741 views
Uploaded 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.

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
3,741
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
9
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    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.

Transcript

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