restful apps and services with asp.net mvc

96
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

Upload: bnoyle

Post on 16-Jul-2015

3.854 views

Category:

Technology


3 download

TRANSCRIPT

RESTful Apps and Services w/

ASP.NET MVC

brian noyle, dtsagilewww.dtsagile.com

briannoyle.wordpress.comwww.twitter.com/bnoyle

www.slideshare.net/bnoyle

Attentiongeo-geeks

your mission

Should you choose to accept it{

{

mapsmeets

webtwo-dot

oh

in other words

Your BOSS

fast…

no problem

right?

{Note: Mortals not in ivory tower}

Yikes!!!

don’t

reinvent

{"ClusteredPointLocationIds":[34480,34355,34354],"PointLocationId":34480,"IsClustered":true,Location":{"Lat":-2.15,"Lon":-80.53}

}

JSON:

RESTfulendpoints

for HTTP verbs

goodness

services :: important

<xml>

{json}

<html>

{javascript}

…binary…

atom

atom

amazon S3

Yahoo!

esri facebook

twitter

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}

modelviewcontroller

Data

Repository

Domain

User Interfacerendering and presentation

data buckets, maybe logic?

crud, business logic

DAL, database

simplify

<clean>

<markup>

<makes>

<happy>

<devs>

../intuitive/urls

cached==

fast

UI

Domain

IRepository

Data

Fake Repository

Here be dragons…}

}

catchredflags

early

monitor regression

View

Model (Domain)

IRepository

DAL

ASP.NET MVC

Controller

Data

Unit Tests

SQL Repository Unit Tests

Unit Tests

Unit Tests

developer toolbelt

+={templates, tools}

paycheck == important; { }

Screen shot of CDOT

focused

lightweight fast

ArcGIS Server 9.3

ArcGIS Server REST API

Custom Services

Simple ViewerESRI Javascript

API

Advanced ViewerESRI Silverlight

API

Spatial Data in ArcSDE

ESRI ArcGISOnline Services

Additional Services via REST Proxy

•Searches•External System Integ.

planyour

buckets

planstate

transition

./projects/detail/187

planyour

routes

pickyour

shiny bits

code== fun;

take this homedo you

how

@dbouwman

unit testing

Notes from the field

@cageyjames

open layers

and

rest api

@chrisspagnuolo

agile

right now…

you aresurrounded

communicate online

weeklydailyhourlyright now.

particpatedo youhow

brian noyle, dtsagilewww.dtsagile.combriannoyle.wordpress.comwww.twitter.com/bnoylewww.slideshare.net/bnoyle

questions?