Client's channel registration with Windows Azure - html

I'm trying to create this sample by myself:
http://channel9.msdn.com/Events/windowsazure/learn/Windows-8-Push-Notifications-with-Windows-Azure
I created the Push Notifications Registration Cloud Service (the project i created with vs2010) and it seemed to run ok.
Then I created the client project on vs 11 (Metro style app with JS and HTML5), ran it and tried to register a channel. It didn't work and wrote on screen "Registration not accepted" instead of the channel's uri.
What should I do?
Thanks for help.

It didn't work and wrote on screen "Registration not accepted" instead of the channel's uri.
I would like to suggest you to use Windows Azure Toolkit for Windows 8: http://watwindows8.codeplex.com/. Then, try to compare your code with the sample code to find out where the issue is encountered.
Best Regards,
Ming Xu.

Related

Azure APIM Fails to Create API from Function App

When I try to create an API in APIM by using Create from Function App, I fill out the fields and click Create. The operation provides the wait dots and comes back in five seconds and says
Could not create an API. Please try again later.
I can create a blank API...but not one from an existing Function App. I have tried multiple combinations, No products, all products, no version, version..etc. No luck.
Thoughts?
Notes
The function in question is an HTTP Trigger.
The function works locally on my development box and in Azure.
APIM Tier is Developer
On that Function app, during Publish in Visual Studio I have reported that attempting to manage application settings before a publish fails and in trying to add a new one causes Visual Studio to unexpectedly close. Manage Application Settings on Publish Related, don't know.
Just a Ctrl + F5 solved the problem for me. Try it! ;)
I just ran into the same issue because I used Linux (Preview) instead of Windows. When I blew away the Function App and recreated a new one with Windows, my API Manager was able to create an API off it.
I have reproduce the same scenario. It is working for me. May I know, below details,
01.Hope you have tested your function and it is working fine.
02.What is the type of the function ? Hope that is "Http trigger" ?
03.What is you APIM tier ? (eg : development, basic etc.)
At this time the solution for me was to use Microsoft Edge instead of Chrome.
It seems Microsoft Azure portal is not working properly in Chrome and I noticed issues in several places. Parts of pages are not rendered at all and sometimes even errors like this pop up just because of the browser.
I had this same problem.
The fix was both simple and unexpected.
When importing the function app, simply enter "/" in the API URL Suffix field.
For me this changed the BaseURL field value. Originally it was just the host, ie http://hostname/. It then appended the endpoint the hostname, http://hostname/endpoint
This is done on the "Create Function from App" modal.
I had the same problem when trying to publish my Azure Functions application with several HTTP triggered functions through API Management running on Consumption plan. The plan did not have anything to do with the problem though.
What I did not realize was that my function app was not working properly when browsing it from the Azure portal. I had some configuration errors that prevented the app to work properly. When I resolved those, I succeeded to publish the application through APIM.
So, check that your application is working properly by browsing to it if you run into the problem described in this thread.
I had temporarily suspended (or stopped) my Function App. Restarting it resolved the problem.
I hope Azure could improve the error message, at least from UX perspective.
The issue was that the function did not actually work.
The Browse button that redirects to the page with the light bulb and the text Your function app version X is up and running did show, but the function still didn't work.
The function error had to be fixed before when importing to the APIM was done.

Possible ways to deploy an application to Windows Phone Store using automated tool/process

Is it possible to submit a new app or update an existing app to Windows Phone store with any automate process instead of uploading it manually?
Please suggest the solutions for the same.
I found few automated tools for ios application submission like fastlane
Not possible at the moment and no indication about such feature coming.
There may be such functionality soon.
From https://blogs.windows.com/buildingapps/2016/03/31/announcing-new-dev-center-capabilities-to-increase-app-revenue-and-streamline-management/:
The new Windows Store submission API will be made available in
preview, beginning today and rolling out in waves. This new API offers
a subset of functionality provided by Dev Center as a REST API and
supports these actions for published apps: submitting updates,
modifying metadata, and adding/removing in-app products. You can
request access to the preview through the “Feedback” tab in Dev Center
by selecting “Submission API” in the “Suggestions” tab. Access will be
granted in waves, beginning with a small group of developers. Build
session: https://channel9.msdn.com/Events/Build/2016/B839

Firebase Email/Password authentication error TRANSPORT_UNAVAILABLE

I created a basic application using PhoneGap Build that I am trying to implement a simple Email/Password authentication scheme for with Firebase. The authentication works fine in Android, but when I run it on my Windows Phone 8.1 I get the "TRANSPORT_UNAVAILABLE" error returned.
I looked through a lot of stuff on the interwebz, but there really isn't much out there for this kind of thing. So far I have attempted to add the InAppBrowser plugin as suggested in a few places, but that didn't resolve the issue.
The Firebase documentation states "Redirects are not available in PhoneGap / Cordova, or local", but since it works on the same code on the Android I am wondering if that really is the issue.
My next step is going to be implementing the google authentication, but I would prefer to get this fixed instead of having to reengineer that entire portion of my application.
Help me Firebase Support... you're my only hope!

How to publish Windows Store App with enterpriseAuthentication and sharedUserCertificates

I am a developer who is new to Windows Store development.
I wrote one Windows Store App and tried to upload it, yet I encounter some errors after submit the appxupload file.
The error messages are shown as below:
I have no idea how to make my developer account authorized to publish apps with the capability it mentioned. Is there a different set of capability for different developer account for Windows Store Application?
Can anyone tell me how to fix this?
Thank you!

Authenticating the application in embedded systems - Google Drive SDK

Is there any way to authenticate the application to use the Google Drive API without a native browser in an embedded system?
I'm looking for a solution to the user accepts and put your password and username using the OAuth2.0 without browser interactions... Is it possible?
My applications is build in Java Code.
Thanks in advance.
I am presently trying to do just this and I don't think it is possible because:
To authenticate in embedded device you need to use this process:
https://developers.google.com/accounts/docs/OAuth2ForDevices
the problem with this, is that it only accept limited range of scopes like:
--https://www.googleapis.com/auth/userinfo.profile
which works OK
but when you try with scope like:
--https://www.googleapis.com/auth/drive.*
you get invalid_scope.
If you find a solution please let me know, I have the same problem my device is embedded, has no screen, and is not available with remote desktop of the like.
thanks for any feed back.
Use the OAuth 2 device flow which is designed for cases where a browser isn't available on the device. It allows the user to complete the login & authorization on a separate, more capable device (phone/tablet/laptop) where a browser is available.