Connecting iOS with Azure Cloud - ios

I'm sorry, I don't get this Azure Cloud thing working for iOS.
Has anyone had experiences with this so far? I don't get any useful results in google...
Up to now I downloaded the Azure Toolkit for iOS on https://github.com/microsoft-dpe/wa-toolkit-ios and didn't really get it working. On every video/tutorial I found, they referenced to another github site which is now 404 error. I finally found the referenced project on another link but didn't get this working for me either.
For the Azure Toolkit on https://github.com/microsoft-dpe/wa-toolkit-ios I didn't find where to put my namespace, user and key (so I got an error like "hostname not found").
For the "other" (older version?) Toolkit there are some "directory not found" errors while building.
Any help? I don't believe that there is nobody out there having connected iOS with Azure successfully!

Using the latest version from Github, you should open the watoolkitios-samples.xcodeproj in Xcode. Then, I think the README.md is a bit out of date, you need to open watoolkitios-samples.plist in the "Supporting Files" folder in order to configure the client application. You have a number of configuration types to choose from, the simplest is "Direct", although probably not recommended for production use.
This library offers a rather spohisticated set of Web Services that you can call directly from the iOS client. I would try it out before starting building services from scratch!

Related

Getting suddenly 403(.14) HTTP error after deplyoment ASP.NET MVC application over TeamCity

A few days ago I had to update our .NET Framework 4.8 web application. First it could not be builded because of some TeamCity error on the newest version, link here. After that it could be builded but since then it showed us a custom errorpage after deployment -> 403 - Forbidden. I just changed a string ("exec X" to "exec Y") so we can access a better and faster SQL procedure.
Removing the tiny piece of argument it suddenly succeded in building anyways but the HTTP error still was there.
Neither IIS, Server, Framework Version etc. was updated, only TeamCity and that small code and argument change.
Reverting the changes to the version which had been working fine did nothing.
After a while I found out that it is a 403.14 error and static files can be accessed, but Microsofts help page didn't help a bit, it just showed the directory -> look here.
After that, I decided to shutdown and backup TeamCity and install an older version of it -> Nope.
Searching google and stackoverflow for similiar problems I stumbled upon to this post especially where I tried every single answer. Before I answer further questions on about what I had tried, please read it.
Since nothing helped so far I decided to try something "dumb" and publish the project to the folder and copy the data manually to the server and voi la! It worked! But I don't know why
and also TeamCity still can't do it anymore.
No changes were done to AppPool or other settings, please keep that in mind.
Here are my build settings from teamcity:
Please don't mind missing build steps, since those are either uninteresting or disalbed because some of them I had created to test the failing deployment on our test system.
And also, when running it locally or copying published project works fine..
Problem was with the antivirus blocking some processes, so some Asax_global.dll was missing.

Unknown Library refrences in a project

We received one demo project from one of our clients. We tried running it, but unfortunately couldn't run it. Reason being there are many libraries like applicationinsights , etc within the project which are no more available. We are totally unaware about these, also we tried adding them through nuggets ( console ) but couldn't install them in project. But another thing I would like to know is what is the use of these types of libraries? In an mvc project do we need applicationinsights because are client wants to connect it to azure services. Any help , information would be much appreciated.

Unity Google Play Services for iOS 'TokenClient'

I have no problem in Google Play services. the thing is I can't build for Xcode because I'm using the Unity Google Play Services plugin. I don't plan on using iOS. I read that I have to put NO_GPGS on Scripting Define Symbols but it gives me this error
error CS0246: The type or namespace name 'TokenClient' could not be found. Are you missing a using directive or an assembly reference?
thanks in advance
According to the official github issues page (https://github.com/playgameservices/play-games-plugin-for-unity/issues/689) they have fixed this issue in the latest release (released 10 hours ago as I write this) which is 0.9.25. You may need to delete the old plugin before installing this one. Just delete the Assets/GooglePlayGames folder and any lingering google files in your Assets/Editor and Assets/Plugins/Android folders. Maybe back up first as well, if you don't use source control.
The issues page used to be dormant but they seem to be actively responding to questions these days.

Radstudio and Interbase license issue?

I had my RadStudio setup all working and have created a very simple mobile app for android that uses IBLite to grab some data. For business reasons I had to leave the project and move on to other things. So I come back to Radstudio thinking I can just pick up where I left off.
I notice there is an update for the product so I apply the changes and then open up my previous project. From there things get very strange. I can build and deploy to android and the project still works. If I deploy to IOS simulator again no problem and everything works fine. As soon as I try to deploy to a device I get the following compiler error:-
[DCC Error] E2597 ld: library not found for -libtogo
(This is an outstanding question on Embarcadero Developer Forum)
Which looks to me like a problem with the licence file. So I try to manually add it to the deployment but still get the error. So I decided to park my project and go back to the IOS IBLite tutorial from the Embarcadero website. I get to the stage where I want to drop an sqlconnection to the form and connect to the database... No joy it comes up with unavailable database which I thought might be a licensing issue or the fact the IB Server was not running. So I double checked the latter and sure enough it is running as a windows service and I can use IBConsole to connect to it.
So I drop trying to create a mobile application and try to create a desktop app that connects to the dbdemos database. No luck, the ide still states unavailable database...
So to my question?
How do I get radstudio to pick up the license for Interbase and particulary IBLIte for IOS?
I have searched online and on the EDF and have been unable to find a solution.
Take a look to this link.
IBREDISTDIR environment variable should be properly configurated with the directory containing library folders and licenses.
RAD Studio links statically libibtogo.a probably this file is missing. This file usually is into ($BDS)/lib/iosDevice/debug path

Azure Storage Emulator Error Accessing Blobs

Just noticed a strange issue. I can no longer access the blobs (iamge files) that are stored in my Azure Storage Emulator. First noticed that my web role wasn't serving up my files from emulator when running in debug. I tried to access files using a third party app, cloudberry. cloudberry lets me browse the storage emulator container that I created, but when I try to access a file it fails. Both my app and cloudberry fail with
500 error
returned... not helpful.
Tried restarting storage emulator, no luck. Tried starting emulator from Azure SDK command prompt to see if there was an error. started successfully... no error reported, but still having my issue when i try and access my blobs. I have SQL Express installed and I verified that MSSQL$SQLEXPRESS service is running. I have made no recent changes to my web role configurations. I am using Azure Tools version: June 2012. Anyone have ideas on what else I should try?
Thanks!
Gaurav Mantri's comments were helpful for tracking down my error. Examining the error log I found that I'm experiencing a somewhat common issue where my azure storage corrupts itself. I found a informative but inconclusive forum thread on it (link below) if someone is looking for help on the same or similar issues.
http://social.msdn.microsoft.com/Forums/en-US/windowsazuredata/thread/699d8861-b3d3-4140-9cf3-b749a2cfed39/
This issue is also discussed in this SO thread:
Mysterious disappearing Azure development storage assets
In my experience, I've got this problem only the emulators that ships with Azure SDK 1.7 . As you can see from my answer, the problem disappears by using the updated emulator in Azure SDK 1.8 (I've used it for more than 4 months) -- you can upgrade it while continuing to use 1.7 libraries in your cloud projects.

Resources