RESTful Apps and
                            Services w/
                           ASP.NET MVC

       brian noyle, dtsag...
Attention
    geo-geeks
your mission




                                  {
 Should you choose to accept it
maps
 meets
 web
two-dot
  oh
in other words


       BOSS
Your
fast…
no problem
  right?
{Note: Mortals not in ivory tower}
Yikes!!!
don’t
 reinvent
JSON:

{
    quot;ClusteredPointLocationIdsquot;:[34480,34355,34
    354],
    quot;PointLocationIdquot;:34480,
    quot;I...
RESTful
   endpoints




for HTTP verbs
goodness
services :: important
<xml>            …binary…


        {json}
               <html>


         {javascript}
atom             Yahoo!
     esri atom
                  facebook


           amazon S3
twitter
protected void Page_Load(object sender, EventArgs e)
{
      //Connect to database

     //Get some data

     //Munge dat...
model
view
 controller
rendering and
User Interface
                 presentation


                 data buckets,
   Domain
                 may...
simplify
<clean>
 <markup>
   <makes>
 <happy>

 <devs>
../intuitive/urls
cached
  ==
   fast
UI

       Domain


    Fake Repository
      IRepository

}
                      }
Here be dragons…
      Data
catch
   red
  flags
      early
monitor
 regression
ASP.NET MVC
                           View

Unit Tests   Model (Domain)

                                               U...
developer toolbelt
               +=
         {templates, tools}
}
paycheck == important;
Screen shot of CDOT
focused
                fast
  lightweight
Spatial Data in
   ArcSDE


                                     Simple Viewer
                                     ESRI J...
plan
  your
         buckets
plan
  state
      transition
./projects/detail/187
plan
  your
     routes
pick
  your
     shiny bits
code
  == fun;
how
 do you
take this home
@dbouwman

 unit testing
Notes from the field
@cageyjames


open layers
      and
rest api
@chrisspagnuolo


agile
right now…
you are
surrounded
communicate online
weekly
daily
hourly
right now.
how
 do you
 particpate
brian noyle, dtsagile
             www.dtsagile.com
             briannoyle.wordpress.com
             www.twitter.com/bno...
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
RESTful apps and services with ASP.NET MVC
Upcoming SlideShare
Loading in …5
×

RESTful apps and services with ASP.NET MVC

8,807 views

Published on

Talk on REST and MVC given at 2009 ESRI Developer Summit

Published in: Technology

RESTful apps and services with ASP.NET MVC

  1. RESTful Apps and Services w/ ASP.NET MVC brian noyle, dtsagile www.dtsagile.com briannoyle.wordpress.com www.twitter.com/bnoyle www.slideshare.net/bnoyle
  2. Attention geo-geeks
  3. your mission { Should you choose to accept it
  4. maps meets web two-dot oh
  5. in other words BOSS Your
  6. fast…
  7. no problem right?
  8. {Note: Mortals not in ivory tower}
  9. Yikes!!!
  10. don’t reinvent
  11. JSON: { quot;ClusteredPointLocationIdsquot;:[34480,34355,34 354], quot;PointLocationIdquot;:34480, quot;IsClusteredquot;:true, Locationquot;:{quot;Latquot;:-2.15,quot;Lonquot;:-80.53} }
  12. RESTful endpoints for HTTP verbs
  13. goodness
  14. services :: important
  15. <xml> …binary… {json} <html> {javascript}
  16. atom Yahoo! esri atom facebook amazon S3 twitter
  17. protected void Page_Load(object sender, EventArgs e) { //Connect to database //Get some data //Munge data around //Enforce some rules from config //Load information into server controls }
  18. model view controller
  19. rendering and User Interface presentation data buckets, Domain maybe logic? crud, business Repository logic DAL, database Data
  20. simplify
  21. <clean> <markup> <makes> <happy> <devs>
  22. ../intuitive/urls
  23. cached == fast
  24. UI Domain Fake Repository IRepository } } Here be dragons… Data
  25. catch red flags early
  26. monitor regression
  27. ASP.NET MVC View Unit Tests Model (Domain) Unit Tests Controller IRepository Unit Tests SQL Repository Unit Tests DAL Data
  28. developer toolbelt += {templates, tools}
  29. } paycheck == important;
  30. Screen shot of CDOT
  31. focused fast lightweight
  32. Spatial Data in ArcSDE Simple Viewer ESRI Javascript API ArcGIS Server REST API ESRI ArcGIS ArcGIS Server Online Services 9.3 Custom Services Advanced Viewer ESRI Silverlight API Additional Services via REST Proxy •Searches •External System Integ.
  33. plan your buckets
  34. plan state transition
  35. ./projects/detail/187
  36. plan your routes
  37. pick your shiny bits
  38. code == fun;
  39. how do you take this home
  40. @dbouwman unit testing Notes from the field
  41. @cageyjames open layers and rest api
  42. @chrisspagnuolo agile
  43. right now…
  44. you are surrounded
  45. communicate online
  46. weekly daily hourly right now.
  47. how do you particpate
  48. brian noyle, dtsagile www.dtsagile.com briannoyle.wordpress.com www.twitter.com/bnoyle www.slideshare.net/bnoyle questions?

×