Search

Azure SDK Compute Emulator: Controller actions hit multiple times in ASP.NET MVC 4 App by sammy34

Active

6
0
Sign in
to vote
Type: Bug
ID: 778518
Opened: 2/4/2013 10:46:37 PM
Access Restriction: Public
1
Workaround(s)
3
User(s) can reproduce this bug
For a detailed description of the problem please see:

http://stackoverflow.com/questions/13779410/controller-actions-hit-multiple-times-asp-net-mvc-4-app-running-in-azure-emula
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

Visual Studio 2012

Steps to reproduce

The same link has detailed repro steps:

http://stackoverflow.com/questions/13779410/controller-actions-hit-multiple-times-asp-net-mvc-4-app-running-in-azure-emula

Product Language

English

Operating System

Windows 8

Operating System Language

English

Actual results

Actual results described in detail at:

http://stackoverflow.com/questions/13779410/controller-actions-hit-multiple-times-asp-net-mvc-4-app-running-in-azure-emula

Expected results

Expected results described in detail at:

http://stackoverflow.com/questions/13779410/controller-actions-hit-multiple-times-asp-net-mvc-4-app-running-in-azure-emula
File Attachments
0 attachments
Sign in to post a comment.
Posted by Johan van Tonder on 5/22/2013 at 2:02 AM
Me and my team also experience the same issues that James does, i.e. Controller actions hit multiple times even though requests are made only once, and ALSO requests that hang and/or take extremely long to respond. We use Azure 2 and Azure Storage 2, Caching Roles, and Azure Diagnostics trace listeners.
Posted by James D. Schwarzmeier on 4/3/2013 at 8:56 AM
I am experiencing this issue as well, fairly consistently. My app runs just fine in Azure itself. It's only in the development environment that I have this issue. Sometimes controllers are hit multiple times, sometimes requests take a very long time to respond, and sometimes they never respond at all. In my case I have to use the Azure emulator because I make use of Azure functionality beyond simple web projects.

Microsoft, are there any updates on this? Is there anything I can do from my end to help diagnose a root cause?
Posted by Microsoft on 2/5/2013 at 1:36 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 2/4/2013 at 10:50 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by sammy34 on 2/4/2013 at 10:55 PM
A far-from-ideal workaround that may work in some cases (i.e. cases where it is ok to bypass the the functionality of the Azure emulator and debug straight on IIS underneath) is also described on this page:

http://stackoverflow.com/questions/13779410/controller-actions-hit-multiple-times-asp-net-mvc-4-app-running-in-azure-emula