ThatRickGuy / PGSwiss

A Swiss Pairing tournament application designed for Warmachine/Hordes events
10 stars 1 forks source link

API to receive event reports #16

Open ThatRickGuy opened 10 years ago

ThatRickGuy commented 10 years ago

This will be outside of this application, but we will need an API in place, out on Ringdev.com to accept reports.

DanWasmer commented 10 years ago

What information do you want captured for the API?

ThatRickGuy commented 10 years ago

For starters, I would have it pull in the event object. We'll also want the TO that is submitting it.

We should move the data structure classes into a separate project so that they can be used by both the app and the web service.

Eventually we'll need to devise a data warehouse structure that we can pipe the data into for statistical analysis.

DanWasmer commented 10 years ago

ok, I'll start with the data object abstractions

ThatRickGuy commented 10 years ago

Have you checked out MS's new WebAPI platform? Sounds like they're replacing WCF with it as the preferred technology.

DanWasmer commented 10 years ago

Well, it's not as cut and dry as that. WebAPI and WCF are really for two different roles, since WCF allows for much greater security and transport options. For our cases, though, webAPI is plenty, and is what I am planning to use.