Your SlideShare is downloading. ×
0
Michele Capra a.k.a. @piccoloaiutante
Software Contractor @ OrangeCode
michele@orangecode.it
Get "/" _ => "Hello World!"
get ’/'
"Hello World!"
"/”
return "Hello World!"
Get
"Hello World"
api/{controller}/{id}
p
DynamicObject
IDictionary<string, object>
Form
Get p => “Hello “ + p.name
RouteBuilder
RouteBuilder
dynamic, dynamic path
dynamic DynamicDictionary
Response dynamic
Response dynamic
CastResultToResponse
Response dynamic
HttpStatusCode
int
string
Action<Stream>
Bind
Bind
DynamicModelBinderAdapter
DynamicObject
TryConvert
Bind
https://github.com/NancyFx/Nancy
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
The magic of Dynamic in Nancy Fx
Upcoming SlideShare
Loading in...5
×

The magic of Dynamic in Nancy Fx

868

Published on

A brief introduction of Dynamic Language Runtime, Nancy Fx and how dynamic features of .net framework are used in Nancy Fx.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
868
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • IronRuby:aggiornatoallaversione 1.8.6IronPython: aggiornatoallaversione 2.6
  • implicit : is used to declare an implicit user-defined type conversion operator.operator : is used to declare an operator in a class or struct declaration.The above signature states that the operator accepts int,httpstatuscode,string,Action&lt;stream&gt;and converts into Response.
  • Transcript of "The magic of Dynamic in Nancy Fx"

    1. 1. Michele Capra a.k.a. @piccoloaiutante Software Contractor @ OrangeCode michele@orangecode.it
    2. 2. Get "/" _ => "Hello World!"
    3. 3. get ’/' "Hello World!"
    4. 4. "/” return "Hello World!"
    5. 5. Get "Hello World"
    6. 6. api/{controller}/{id}
    7. 7. p
    8. 8. DynamicObject IDictionary<string, object>
    9. 9. Form
    10. 10. Get p => “Hello “ + p.name
    11. 11. RouteBuilder RouteBuilder
    12. 12. dynamic, dynamic path
    13. 13. dynamic DynamicDictionary
    14. 14. Response dynamic
    15. 15. Response dynamic CastResultToResponse
    16. 16. Response dynamic
    17. 17. HttpStatusCode int string Action<Stream>
    18. 18. Bind
    19. 19. Bind DynamicModelBinderAdapter
    20. 20. DynamicObject TryConvert
    21. 21. Bind
    22. 22. https://github.com/NancyFx/Nancy
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×