REST based solution using webapi.