azure mobile app quick start sample apps don't display result - azure

I created about 6 different azure mobile app using visual studio and from portal website but none of them worked. I tried this several months ago and remember being worked but not last week.
All I am doing is create azure mobile app not mobile service and use default TodoItem data. It displays data when I put /tables/TodoItem on the url but when I download the quick start app using ios or xamarin it doesn't work. I can't figure out what the issue is. Error doesn't much make sense either. Sorry I don't have the debug error message right now from ios.
Thanks

Related

Intermittent azure 403.14

I have a web app in azure hosting a MVC 5 website.
Everything is fine for a week or 2 then everything stops and returns 403.14.
I'm hosted on an Azure Standard 1: medium subscription. So there should be no issues with quotas. Running .Net 4.7
If it were consistent then i could get somewhere but this is fine until it suddenly isn't. Happens at random times on any day.
Restarting the app in the admin panel doesn't work.
The only way i can get this back up is to open the web.config within the 'app service editor' add/remove a blank line then save it.
Anyone seen this issue before?
So, after much a fiddle.
I upgraded my visual studio to latest minor version.
installed .net framework 4.7.2
upgraded all projects to this
Added a global.asax Application_Error method and logged all unhandled errors (should have been doing this all along i know)
rebuilt and redeployed.
So far so good.

Android Studio app for beta testing on Play Store

What all is required to upload Android Studio app for beta testing on Play Store? Will I need the google developer account, screenshots of the app and detail about the app ?
You will need all the things you listed above and more. Here is a website that can help you with beta testing: Set up an open, closed, or internal test
Yes, you must need developer account(20$ approx.), screenshot of your app.
Rest of the things like available country, beta testers etc...., will be configured later with your account.

Google Authtication is raising the following :- OpenID auth request contains an unregistered domain:

I have created asp.net mvc5 web project, I have enabled Google Authtication by un-commenting the following inside the Startup.Auth.CS:-
app.UseGoogleAuthentication();
now I have create a project on the following environment:-
Visual studio 2012 professional.
Asp.net mvc5 web application.
Running on windows server 2008 R2.
And the Google authentication works well on my test project runs locally http://localhost:53357.
Yesterday I wanted to test the new Visual Studio 2013, so I download Visual Studio 2013 express on my windows 7 machine,, and I created a new asp.net mvc5 web project. But when I try to test the Google authentication I got the following error on google page:-
> 400. That’s an error.
>
>
>
> OpenID auth request contains an unregistered domain:
> http://localhost:53682
>
>
>
> Learn more
>
> That’s all we know.
So why google authentication works well on certain projects and fail to work on other?
Please adivce
Google has stopped registering new domains from may 2014 onwards. This applies to all those using OPEN ID. https://developers.google.com/accounts/docs/OpenID2
The solution to this problem is to use Google Plus which is doable within the current OAuth classes provided by Asp.Net MVC as outlined in this article.
I followed his instructions and it is working fine.
EDIT: I will point out that the link in his article to set up the Google end of things takes you one level too deep. When you hit the Google Developers Console, click on Projects in the upper left of the screen to go back up a level and create your project first before proceeding. You will need to complete the Consent screen and Credentials screen to get it to work.

Cant run azure site in my development computer

I am trying to code a website for azure. First I'm trying to run a simple test... but I'm not being able to run the simplest test ever... a cloud service with 1 web role (asp.net mvc4 site) with only 1 action (homepage).
I'm using Visual studio 2012 (Ultimate) and I just installed Azure SDK (version 2.1). When I run the website, the emulator starts and everything seems fine. But when the page opens in my Firefox it says "The connection was reset" and the page doesn't load.
I'm not sure what I'm doing wrong... I'm trying like a "hello world" for azure... it should work pretty straight forward. I tried using other ports for the endpoint (8081, 9595, etc) but the result was the same. I also disabled windows firewall... just in case.
I would really appreciate any help... I've been stuck with this for several hours and I really don't know what else to try.
Not sure what's going on, as a simple F5 on a brand new MVC4 project should "just work." Having said that:
Make sure you're running VS2012 as administrator, otherwise it won't launch the emulator.
Make sure your Azure project is the startup project.

Debugging Azure: Error attaching the debugger to the IIS worker process

I have a web application asp.net to deploy to Windows Azure. I try to run it on local first. But when debugging, I catch this error from VS2010:
"There was an error attaching the debugger to the IIS worker process
for URL 'http://127.255.0.0:82/' for role instance
'deployment16(6).WindowsAzureProject2.WebApplication3_IN_0'.
Unable to start debugging on the web server ......."
I've search so hard to find the solution for this problem but there's nothing seems work for me. I'm a newbie in Windows Azure, it's really a big trouble with me.
I had similar problem with Windows 8, debuging a cloud application with Visual Studio 2012 RTM and Azure SDK 1.71, when trying to launch the application into the compute emulator. It was a very simple app, but I used Azure diagnostics. At the end these are two things I have changed that have work for me, both turning on Windows 8 features (so go to Win8 and open 'Turn Windows Features On/Off'.
Activate the checkboxes for:
Internet Information Services Hostable Web Core
Internet Information Services > World Wide Web Services > Application Development Features > ASP.NET 4.5
Internet Information Services > World Wide Web Services > Health and Diagnostics > Tracing
Internet Information Services > Web Management Tools > IIS Management Scripts and Tools
That worked for me, it makes sense, as I'm using Visual Studio 2012 and trying to get some trace information using diagnostics in Azure.
I hope this will work for you or give some tip about the problem. In the case of being useful information, remember to vote as response or as value tip.
Thanks,
Mike
This usually happens when there's a problem with the project to be deployed to the emulator (WindowsAzureProject2 in your case).
Try the following:
Check %UserProfile%\AppData\Local\dftmp\IISConfiguratorLogs\IISConfigurator.log file for the error messages. See more details in this answer.
Make sure your project can be started without the emulator. It's a web project, so just try to start it as a regular web project. Or publish it to the separate folder and try to create a website in IIS of it.
Check your *.csdef and *.cscfg files to make sure all the configuration is correct.
Make sure that the build output of your project is not empty. You can do this by going to IIS, find the site with the name similar to deployment16(6).WindowsAzureProject2.WebApplication3_IN_0, right click --> Explore.... Make sure that this folder is not empty and contains all the files required to start a web project successfully.
BTW, there's a similar question: Debugger can't connect when starting local azure project
Follow step 11 from http://www.microsoft.com/en-us/download/details.aspx?id=35448. Worked for me on Windows 8 with Oct 2012 SDk
I just have today the same problem trying to Debug locally with Azure Storage Emulator in Windows 7. So in the Azure project properties, in Web tab, I checked the radio button 'Use IIS Express' and it debugged without problem. I hope this helps someone.
I encountered this exact same problem when I upgraded an existing Azure solution to the Azure SDK 2.1. After some hunting around I uncovered that the upgrade had automatically set the "Local Development Server" setting to "Use IIS Web Server".
Changing the "Local Development Server" setting to "Use IIS Express" fixed the problem immediately.
To access this setting right-click the Azure cloud project file in your solution, select the "Properties" option, tab down to "Web" and you'll see the following setup.
Also, make sure you run Visual Studio as administrator
Please check the version of emulator you have installed. If your code is created in older sdk and you have a new emulator installed it will give you this error.
Check the version of Azure APIs in your project, go to Project > references and right click on Azure dlls to check the version, same sdk version must be installed on the system, higher are optional as azure 2.x are not backward compatible.

Resources