This is an ASP.NET Web API that is RESTful and shows how to connect to a MongoDb db from C#. The API can then be invoked from any client app (JS/jQuery, ASP.NET, MVC, and anything that can handle HTTP calls to this API).
It uses the following Libs/NuGet packages:
- MongoDB.Driver 2.7.2
- Microsoft ASP.NET Web API CORS
- Newtonsoft.Json
You can deploy it to IIS, AWS or Windows Azure or any hosting that supports Windows and ASP.NET.