…. did I mention it’s simple?
… very simple, indeed.
The end result is a WP7 app that upon launch, displays “Not Logged In” for a few moments. That text changes to “Josh is cool” after a few moments.
The back-end is this: An asynchronous WCF service call is kicked off upon app initialization and the “Josh is cool” is returned from a VM in my home network that hosts some WCF service endpoints. The call from the WP7 app is done over the public internet, through a homedns.org subdomain that points to my home IP (maintained by good ol’ DD-WRT on my router). There is a DB on another VM that serves up the data. The services get deployed to the services machine by an Atlassian Bamboo (backed by Crowd) instance that polls a Bitbucket.com code repository that I commit my code changes to via Tortoise Hg (Mercurial source control).
How to make it all better? Besides more interesting end-user results…. heh heh… I want to use full AD authentication for all intra-network communication, I want to have Atlassian Crowd use the AD domain accounts, I was cleaner DNS names, I want something along the lines of an API key the WP7 app has to submit (not sure about the best implementation there), and I want https-secured communications. Maybe I need to get some third-party hosting solution for this.
I did all the non-primary infrastructure code creation and configs in about 1.5 hours… I’m getting faster and more efficient