title: Azure Mobile App Services or Web App Services for Mobile Applications and Web Admin Panel
body: <p>I need advice as i am new in .net and azure, i am creating a architecture for a project which has its mobile application, web based admin panel and Website.</p>
  
  <p>I am planning to host every thing in Azure. I am creating application in Xamarin. Application needs to have Push Notification, Offline Sync etc, features provided by Mobile App Services (Controller inherited from TableController).</p>
  
  <p>I want to create 1 database which will be used by all 3 modules. I have already created a Mobile App Service and Database. Mobile application is using it as it was supposed to. Now i want to create a website and Web based admin panel and use the same database. Is this possible ?</p>
  
  <p>What is the best way? Should i create a web project and perform operations on data via REST API? and use this API for Mobile Apps and Web based Backend?</p>
  
  <p>I am really confused between different services from azure and which one to use. Should i use .Net Core or .Net. I need to know the best way to do it.</p>
  
  <p><strong>Edit 1 :</strong> </p>
  
  <p>So far this is what i have done and i need to know if this will work fine in future when project get complex. I created database and back end via Azure Mobile App. Now i have created a .net MVC website and used RestSharp for CRUD operations in it. I have used the following code to perform the operations. Note the <strong>/tables/</strong> part in the request url.</p>
  
  <pre><code>        var client = new RestClient("http://xxxxxxx.azurewebsites.net");
          var request = new RestRequest("/tables/request?ZUMO-API-VERSION=2.0.0", Method.POST);
  
          string data = "{\"createdFor\":\"535862cf-e2b3-41de-99f9-88c47a77750c\",\"status\":\"IN_PROCESS\",\"createdBy\":\"7108147e-c11c-4d78-ac3d-d5d6c5eb78d0\",\"description\":\"Master room 5 door produces strange sound when opened or closed\",\"title\":\"Door Sounds Strange\"}";
          request.AddHeader("Accept", "application/json");
          request.Parameters.Clear();
          request.AddParameter("application/json", data, ParameterType.RequestBody);
  
          var result = client.Execute(request);
          Console.WriteLine("Content " + result.Content);
  </code></pre>
  
  <p>Get and post operations works fine. Is this a good way?</p>
  
  <p>Thanks in advance</p>