• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Declarative authorization in REST services in SharePoint with F# and ServiceStack
 

Declarative authorization in REST services in SharePoint with F# and ServiceStack

on

  • 4,328 views

 

Statistics

Views

Total Views
4,328
Views on SlideShare
1,270
Embed Views
3,058

Actions

Likes
1
Downloads
0
Comments
0

12 Embeds 3,058

http://sergeytihon.wordpress.com 2795
http://www.scoop.it 97
http://sbanwart.newsblur.com 60
https://sergeytihon.wordpress.com 34
http://newsblur.com 19
http://www.newsblur.com 18
http://plus.url.google.com 11
http://www.feedspot.com 11
http://cloud.feedly.com 9
http://webcache.googleusercontent.com 2
http://digg.com 1
http://translate.googleusercontent.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Declarative authorization in REST services in SharePoint with F# and ServiceStack Declarative authorization in REST services in SharePoint with F# and ServiceStack Presentation Transcript

    • Sergey Tihon Twitter: @sergey_tihon Blog: sergeytihon.wordpress.com
    • 2
    • 3
    •  AngularJS  Bacbone.js  Knockout  Ember.js  Kendo UI  Agility.js  ExtJS  …. 4
    • What about AuthZ and AuthN on REST services? Single Page App picture from Techbubbles
    • 6
    • 7
    •  ASP.NET Web API requires .NET 4.  Cannot be integrated in SharePoint 2010  Integration with SharePoint 2013 technically possible, but I do not know how ;) 8
    • Demis Bellot is a developer at Stack Exchange where he maintains StackOverflow Careers 2.0 Back Office Web & MQ services built on ServiceStack. He is the creator and project lead of ServiceStack. 9
    • 10
    • Good place for authentication check 11
    • F# is a strongly-typed, functional-first, open-source, cross-platform programming language for writing simple code to solve complex problems. 12
    • Lambda Calculus LISP F# 1.0 F# 2.0 ML • Microsoft Research (2005) OCaml Haskel F# Designed by Don Syme • Visual Studio 2010 F# 3.0 • Visual Studio 2012 13
    •  Cross-platform (Windows, Mac, Linux, Android, iPhone/iPad, JS/HTML5, GPU , FreeBSD)  Full stack support (F# for Build, Deployment, UI, Documentation, Testing)  Simplicity and mathematical elegance.  Rapid Prototyping  Fewer Bugs  Efficient Execution  Reduced Complexity  Information-Rich Programming with F# 3.0 14
    • “Design patterns are bug reports against your programming language” Peter Norvig, Director of Research at Google Inc 15
    • 16
    • 17
    •  Download source code  Generate key  Sign and rebuild  Result: 18
    • 19
    • 20
    • “The Global.asax file is an optional file used to declare and handle application and session-level events and objects for an ASP.NET web site running on an IIS Web Server.” Before: After: 21
    • 22
    • Steps 4,5 may be performed from Feature Receiver of WebApplication scope feature Step 4: Modify Global.asax Step 5: Update Web.config 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 1. Build signed version of Service Stack 2. Create a F# Library 3. Bootstrap Service Stack hosting 4. Modify Global.asax 5. Modify Web.config 6. Implement custom Authorization filter 29
    • Questions? The F# Software Foundation http://fsharp.org