A way forward – possible move away from #WAMS

It has been an interesting week. Same time last week, I created a uservoice calling for device count limitation to be dropped. I even heckled Josh Twist during his #DevChat and we eventually took conversation offline. We traded some emails – some at ungodly hours – considering the timezone differences.

I have also been working on getting votes for the uservoice. It now at #3 and has 558 votes.

I don’t know if anything will come off those. However I have done 2 things.

Monitor the expansion of #WAMS device count as new users download the app and existing users upgrade to using one with #WAMS. Here’s a visual clue on the changes since last Friday.



Based on this projection, I will be kicked off Free #WAMS sooner rather than later and I have been working on that front as well.

ASP.NET WebApi provide an easy CRUD option for exposing data. I have spent some time (when not trying to gather votes for uservoice) brushing up on MVC4 and the WebApi part.

Some tutorials:

  1. Your First ASP.NET Web API
  2. Creating a Web API that Supports CRUD Operations

The goal is to eventually

Host ASP.NET Web API in an Azure Worker Role

Earlier this morning Andy and myself were discussing WebApi and how we should use T4 templates to auto generate Model and Controller exposing CRUD operations. I will try to create some easy to use T4 once I move my users off #WAMS over coming weeks.

So long and thanks for all the fish


Restarting ASP .NET Web App Programmatically

One of my #WPDevs was wondering about how to restart a web app. I remember doing it programmatically a few years back so here is it.

HttpRunTime class (Provides a set of ASP.NET run-time services for the current application) exposes a simple static method

Public methodStatic member UnloadAppDomain Terminates the current application. The application restarts the next time a request is received for it.

This method, unloads the application. The in turn means that next request will cause application to reload there by achieving a desired restart

easy peasy