Azure Web Apps (Web Sites) vs Azure Cloud Services (Web Roles)

Hi All,
Need some help in choosing between the Web App or a Web Role for a MVC5 application that we are going to build. We are planning to build an MVC5 application which will consume a Web API (hosted on Azure). The MVC5 application would be an external site and
it needs to be load balanced and it would be hosted on Azure.
We are not able to decide on the hosting options for the same ... between Azure Web Apps and a Web Role. We didnt come across anything which will help us to make a choice as to where the Web Apps fall short or which one should one go for etc.
Any help on this front would be highly appreciated.
Regards,
Saurabh

To make your life easier you should start by using Web Apps, they have many more features than Web Roles (git deployment, backup, free sku, webjobs, continuous integration and many more).
There are some scenarios that are not supported like remote desktop to the VM.
But the reason you should start with them is that unlike Web Roles you won't have any special code relying on the environment you are running on so you will be able to easily move to web roles in case you find a scenario that is not supported by Web Apps.

Similar Messages

  • What are Azure limitations for Websockets in Cloud Services (web and worker role)?

    A WebSocket Server should be built on Azure platform with OnPrem connections and have questions regarding limitations for Websockets in Azure Cloud Services - web and worker roles.
    Websockets can be configured for Web Sites and limitations are understood, but Azure Websites is not an option. 
    Nevertheless it is planned to run a web service (without UI - no web site) as a Cloud service which has secure websocket (WSS) connections to OnPrem machines. Websocket protocol is enabled for IIS8 on Cloud services web and worker roles. Azure Service Bus Relay
    is not an option.
    Questions:
    1) Are Websockets supported for Azure Cloud services web and worker roles? we assume yes
    2) What are potential limitations from Azure side to support concurrent Websocket connections? We are aware that CPU, memory etc are limitations, but are there additional limitations from MS Azure side? 
     

    Hi,
    As I know, azure cloud service web and worker role support Websockets, users can connect to the role via the special endpoint, if we use Azure cloud service, I think we can monitor the metrics such as CPU, memory, etc... and scale our cloud service via these
    metrics to keep the websockets working, refer to
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-scale/ for more information about how to scale a cloud service.
    Regards

  • Exchange Office Web Apps Preview Does not work in OWA (web)

    I have setup Exchange 2013, Lync 2013, SharePoint 2013, IIS as a Reverse Proxy Server, an Office Web Apps Server, etc, etc. Everything is setup to use SSl (https) and everything works great EXCEPT... Office Web Apps... and ONLY via Exchange and OWA (exchange
    browser-based access).
    I can login via the intranet or Internet for everything (SharePoint, Outlook, and Lync) and Office Web apps functionality works flawlessly for all... except for Exchange and OWA.
    If I login in to a web-based Exchange seeion, everything works right and I can see the various attachments.
    For all other scenarios, Office Web Apps works (SharePoint, Outlook, Lync, etc), but in owa (web version of Outlook) I see that Office Web Apps is triggered (I see the Office Web Apps text and the dots that indicate something is loading)... However, it just
    crashes and eventually times out (see image):
    If I look in the error logs for the Web Apps Server I see this:
    Essentially, it looks like that owa uses a distinctly different path to load the attachments into the Web Apps Server such that the file is not found!
    What is happening? Why does Exchange OWA (web version of Outlook) somehow use a different path that fails to locate  attachments in Office Web Apps, but Lync, Outlook, and SharePoint (both in Intranet and Internet) work perfectly?
    This is VERY frustrating. Can anyone help?
    Please?
    Clearly, the reverse proxy is working, the certificates are working, OAuth is working, etc. It seems there must be some variable/path that is only defined in Exchange for OWA that uses a different path for Office Web App attachments and that path is WRONG!
    Please, help!
    Thanks

    Hi,
    Thanks for sharing. It’s glad to hear the good news.
    Thanks,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Azure Powershell Get Public IP of Staging Cloud Service

    I also posted my question here..
    http://stackoverflow.com/questions/20690307/azure-powershell-get-public-ip-of-staging-cloud-service
    I am using this answer to look up our cloud service's public ip via azure powershell.
    Azure
    Powershell: Get public virtual IP of service
    This only returns the endpoints for the production cloud services. We also need to easily look up our staging cloud service endpoints.
    Does anyone know how to look these up with Azure Powershell?
    Thanks!

    hi TWilly,
    Thanks for psoting!
    You could use "Slot" in your powershell.
    Please see the description about "Slot":
    -Slot<String>
    Specifies the Windows Azure deployment environment. Choices are "Production" or "Staging".
    You could use it to specify the emviroment.Like this sample :
    C:\PS>Get-AzureRole –ServiceName "MySvc1" –Slot Staging –RoleName "MyTestVM3"
    You could refer to this document:
    http://msdn.microsoft.com/en-us/library/jj152869.aspx
    Please try it.
    Regards,
     Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Async / Await in Cloud Services Worker Roles?

    Good evening,
    I was wondering if and how one would be able to utilize async / await for Azure Cloud Services' Worker Roles? Basically I have background jobs that will/shall run on worker roles, however many of those are performing up/downloads from Azure Storage blobs
    and ideally I'd like to await those calls.
    So is async/await natively supported for CS Worker Roles (using Azure SDK 2.5) and if so, how? And if not.. is it planned at all?
    Thanks,
    -Jörg

    Hi,
    I would suggest you have a look at this thread:
    http://stackoverflow.com/questions/15991287/async-await-in-azure-worker-role-causing-the-role-to-recycle
    A simple solution is to just do this:
    public override void Run()
    RunAsync().Wait();
    public async Task RunAsync()
    while (true)
    await Task.Delay(60000);
    Hope this helps.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Integrating a PHP Web App with an Existing Azure Mobile Services and Mobile App

    I've got an existing mobile app that is integrated with Azure's mobile services. The mobile services are currently connected to Azure Active Directory with MFA enabled. I'd like to build a separate PHP-based web application (Azure VM) that uses this existing
    mobile service and authentication.
    I reviewed the Azure PHP SDK, but didn't see any tie-ins to the Mobile Service. Additionally, Azure has some great tutorials, but for mobile services they all seem to focus on iOS, Android, and Windows phone. Any insight into how to tie a PHP-app into this
    backend would be much appreciated!

    Although there isn't any client library for PHP, you can still access Mobile Service using the
    Azure Mobile Service REST API.
    Abdulwahab Suleiman

  • Change basicHttpBinding to wsHttpBinding in azure cloud service web role

    So I created a cloud service project in visual studio and added wcf service web role to cloud service.
    By default wcf service web role binding is set to basicHttpBinding.
    Currently my web.config looks like this:
    <?xml version="1.0"?>
    <configuration>
    <system.diagnostics>
    <trace>
    <listeners>
    <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    name="AzureDiagnostics">
    <filter type="" />
    </add>
    </listeners>
    </trace>
    </system.diagnostics>
    <system.web>
    <compilation debug="true" targetFramework="4.0" />
    </system.web>
    <system.serviceModel>
    <behaviors>
    <serviceBehaviors>
    <behavior>
    <!-- To avoid disclosing metadata information, set the value below to false before deployment -->
    <serviceMetadata httpGetEnabled="true"/>
    <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
    <serviceDebug includeExceptionDetailInFaults="false"/>
    </behavior>
    </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
    </system.serviceModel>
    <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
    <directoryBrowse enabled="true"/>
    </system.webServer>
    </configuration>
    How do I change my config to use wsHttpBinding?

    Hi,
    Please refer to
    http://msdn.microsoft.com/en-us/library/ms733099.aspx. From my experience, in Windows Azure, we cannot use Windows authentication (the default configuration for WSHttpBinding), unless we use WAAD and let the cloud server join the local domian. So it is
    needed to turn off authentication, or use an alternative authentication mechanism (such as username and password).
    Best Regards,
    Ming Xu
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • Slow site, latency between cloud service and SQL Azure?

    We have a web site that works pretty swiftly in a local development environment. But once deployed to Azure it slows down to a crawl (even for a single user). Some pages take 30-60 seconds to load. Even the simplest pages take between 5 and 10 seconds.
    The app is rather data intensive, so the way I see it, there is a slow connection between the cloud service and the SQL node. We currently use S2 instance, the S1 and S0 didn't work at all because of timeouts. When we execute queries directly against the database,
    they all return within milliseconds, so it is not a query performance issue. It seems that there is a big penalty on establishing the connection between the web node and SQL node.
    I am not sure if this is a provisioning issue. At times it actually begins to work a bit faster. Not quite as fast in a local environment, but barely acceptable. But then it goes back to excruciatingly slow. Any advice is appreciated.

    Hi Mimo,
    Is this a 5-20second load time something that occurs every time you load the page or just on the first time you load it (cold start)?  The default website  settings might tear down your site after a period of inactivity and I'm wondering
    if that might be what's causing the performance issues.
    Couple of things you might want to check :
    - Increase the Instance count
    - Check the Monitor Tab in Azure Website to see how much of CPU, DataIN and Data Out time is taken for a request to the site.
    Recommend you to see this thread discussion on  Failed request tracing
    for troubleshooting on Slow requests  and a video  on  
    Troubleshooting Slow Requests with Failed Request Tracing that might help troubleshoot the slowness of website.
    Regards,
    Shirisha Paderu

  • Scoping out Sharepoint - Is it possible to run web apps in the same domain as a web page? (ie not with references to a cloud)

    From what I understand, with sharepoint it is possible to run web apps on the server that don't need to be referenced via the cloud, ie in contrast to SkyDrive.
    If so, would it be possible to create a web site on the share point server that embeds say a word web app in a page, all done in the one server, on the same domain?
    Thanks

    Hi,
    First Office Web Apps and SharePoint can't be installed in one server as it's not supported. So you need at least two servers - one for SharePoint and another for Office Web Apps. About 'word web app', As far as I know you can run word app/excel app runs
    in either word/excel but not inside Office Web Apps.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Cloud service web role did not get request

    Hi Team,
    we have an application host in web role in a cloud service, 
    sometimes it keeps loading when clicking a button in GUI and got no response till our GUI timeout (30 minutes)
    we use Fiddler to trace the http request and also check IIS logs and found that sometimes the web role didn't get a request,  sometimes the IIS
    got the request and finished to processe the request but didn't return result to GUI.
    it seems the message lost during interaction between UI and web role.
    note that this problems comes out just recently.
    is there some known issues related with this kind of problems. 
    thanks in advance.

    hi Baker,
    Firstly, I need confirm what's meaning is GUI from your description ? The GUI is your cloud service project UI? Or your UI in your client?
    Secondly, base on my experience, we usually could occur timeout error because of the azure load balancer and the long time request.
    For this error, I recommend you refer to those thread:
    Azure Web Role - Long Running Request (Load Balancer Timeout?)
    Windows Azure Load Balancer TimeOut for Cloud Service Roles (PAAS Web/Worker)
    Windows Azure Load Balancer Timeout Details
    http://social.msdn.microsoft.com/Forums/windowsazure/en-US/89b283f0-dfca-49a7-99fe-c3b73d77ff6d/azure-load-balancer-sending-http-request-to-multiple-web-role-instances?forum=windowsazuredevelopment
    If I misunderstood, please let me know.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is this the best design for asynchronous notifications (such as email)? Current design uses Web Site, Azure Service Bus Queue, Table Storage and Cloud Service Worker Role.

    I am asking for feedback on this design. Here is an example user story:
    As a group admin on the website I want to be notified when a user in my group uploads a file to the group.
    Easiest solution would be that in the code handling the upload, we just directly create an email message in there and send it. However, this seems like it isn't really the appropriate level of separation of concerns, so instead we are thinking to have a separate
    worker process which does nothing but send notifications. So, the website in the upload code handles receiving the file, extracting some metadata from it (like filename) and writing this to the database. As soon as it is done handling the file upload it then
    does two things: Writes the details of the notification to be sent (such as subject, filename, etc...) to a dedicated "notification" table and also creates a message in a queue which the notification sending worker process monitors. The entire sequence
    is shown in the diagram below.
    My questions are: Do you see any drawbacks in this design? Is there a better design? The team wants to use Azure Worker Roles, Queues and Table storage. Is it the right call to use these components or is this design unnecessarily complex? Quality attribute
    requirements are that it is easy to code, easy to maintain, easy to debug at runtime, auditable (history is available of when notifications were sent, etc...), monitor-able. Any other quality attributes you think we should be designing for?
    More info:
    We are creating a cloud application (in Azure) in which there are at least 2 components. The first is the "source" component (for example a UI / website) in which some action happens or some condition is met that triggers a second component or "worker"
    to perform some job. These jobs have details or metadata associated with them which we plan to store in Azure Table Storage. Here is the pattern we are considering:
    Steps:
    Condition for job met.
    Source writes job details to table.
    Source puts job in queue.
    Asynchronously:
    Worker accepts job from queue.
    Worker Records DateTimeStarted in table.
    Queue marks job marked as "in progress".
    Worker performs job.
    Worker updates table with details (including DateTimeCompleted).
    Worker reports completion to queue.
    Job deleted from queue.
    Please comment and let me know if I have this right, or if there is some better pattern. For example sake, consider the work to be "sending a notification" such as an email whose template fields are filled from the "details" mentioned in
    the pattern.

    Hi,
    Thanks for your posting.
    This development mode can exclude some errors, such as the file upload complete at the same time... from my experience, this is a good choice to achieve the goal.
    Best Regards,
    Jambor  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Web Apps./Sites Not Working on Home Screen

    When I first updated to 3.0 The web sites/apps that I had saved to the home screen would not trigger Safari. They darkened on the screen then went back to being lighted but nothing happened. Safari was not triggered at all. Fortunately I took a deep breath and did the reset - held the sleep/wake and home buttons till the Apple logo appeared and everything is working properly now. Just thought I'd post this in case anyone else saw this.
    John

    We found that if you see anything unusual then it's worth doing a 'reset' as soon as possible and then the problems seem to go away (unless they're apps in which case they need to be removed in iTunes while sync'ing).

  • Today Firefox auto-updated; thereafter, secure websites have displayed a screenfull of what looks like code, and for some websites (MS Outlook web app), the site is overwritten with code text.

    It looks like a display issue.

    Starting with this, you have errors in your CSS code.
    body {
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
      margin-left: 0px;
      color: 151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: EFF5F8;
    body {
      margin:0;
      color: #151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: #EFF5F8;
      font-size: 100%;
    Related links:
    Windows Chrome, why do my fonts look so bad? - Lee Green
    css3 - Bad font rendering Chrome - Stack Overflow
    Nancy O.

  • Warning: This request requires buffering data to succeed (while Publishing using VS 2012 to Cloud Service - Web Role

    While publishing using VS 2012 professional to Azure Web Role getting following warning. After this warning even if i waited for hours, publish process never finish and then I have to manually deploy the package on Azure Cloud Instance.
    Warning: This request requires buffering data to succeed.

    Thank you for reply @Will,
    I do not have access to my work station computer at this moment. will share the screenshot. Basically what happens is -
    1. I start the publish wizard on Windows Azure Project (which as one web role configured)
    2. Proceed the publish wizard with advanced options enabled for remote debugging and remote connection enabled.
    3. The publish wizard finish and it starts uploading the package and configuration on the azure could service.
    4. In the Microsoft Windows Azure activity log pane of the Visual Studio 2012 Professional, after 10-15 minutes it starts showing following warning continously, i even waited for few hours but publish process never completes. Finally i have cancel the publish
    process and upload packages and config manually on the azure portal. 
    Warning: This request requires buffering data to succeed.

  • Azure VM Web Servers, Cloud Service and SSL?

    I am deploying two web servers in a cloud service for load balancing. I have tested and I have that working with no problems. My question is how do I setup for SSL? Do I setup a certificate on the cloud service? Do I setup on each server? Any help would
    be greatly appreciated!!

    Hi,
    You could use the following link to configure SSL for your Cloud Service:
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-configure-ssl-certificate/
    Regards,
    Malar.

Maybe you are looking for

  • Mac Mini (2007 model) Ethernet and 802.11N dead

    Wow, talk about frustrating...my 13 month old 2007-model Mac Mini just crapped out with a couple of issues. The Ethernet networking reports the cable is unplugged, even though it's not, and the 802.11 wireless networking won't connect at N speeds. Of

  • Using a new version of Xerces in Weblogic 7.0

    I have deployed Weblogic 7.0 and I notice that there are two different versions of xerces.jar, one in the server/lib directory and the other one in workshop/lib. The latter being the new version. If I use the default setting and if I use a standalone

  • Zoom controls integrated into the toolbar

    UPDATED! there is a zoom control in the toolbar after all, but as soon as you select the spot removal or the adjustment, it is lost from the toolbar, so I'm still suggesting the zoom stays on the toolbar as displayed - When editing using  spot remova

  • HT4489 i am unable to import my Vcard: to my icloud contacts plz help

    i am unable to import my Vcard: to my icloud contacts plz help

  • Response times

    Whats the average response time for pinging the db server? Rackspace has 1-6 ms as acceptable response time, i was wondering if azure is faster. Thanks