access azure mobile from windows 7 net4.0? - azure

we are using Azure Mobile Service to store some data from Android, iOS and WP8 clients. This works fine.
Is there any way to access this data with .Net 4.0 from Windows 7 ?
The Azure Mobile SDK requires Net 4.5 but we still need to target 4.

The best (and at the same time the hardest) way would be to use the REST API directly. The SDKs are just a wrapper for this API.

Related

How to use one Mobile App connection in Xamarin across all applications

I'm currently creating my first application using Xamarin PCL(without Xamarin.Forms) and Azure Mobile App. What would be the best approach to use only one instance of MobileServiceClient across all applications? If it's not possible to use it from PCL, then is there any way to do it the same way, but only across iOS app?
If you're referring to code sharing when you say instance, the Azure Mobile Apps Client SDK enables you to do that. You can consume the SDK from your PCL and use your PCL from your platform targets/projects.

How to access Windows Azure ServiceBus Queue from the Windows Phone 8 application?

The documentation for WindowsAzure.Messaging.Managed states the purpose of the package as:
Use this with Windows Azure Service Bus and Notification Hubs client registration (for Windows Store and Windows Phone 8 apps). It adds Microsoft.WindowsAzure.Messaging.Managed.dll to your project.
Unfortunately, nowhere there is a clear description on how to access the Windows Azure ServiceBus Queues mechanism from a Windows Phone 8 app.
Is there any way, at all, to access ServiceBus Queues from a Windows Phone 8 app? And if there is, which package should allow that?
Azure Notification Hubs provide all-features SDK for .Net (desktop) and device-only-features (registration management) SDKs for WP, WinRT, Android and iOS.
Azure Service Bus all-features SDK is only for .Net (desktop). But it is possible to use REST API to access basic queue/topic functionality from any platform which supports HTTP including Widows Phone.
There is a new library that works with Windows 10, Windows 8 and many more
http://www.nuget.org/packages/AzureSBLite/ I have tested on Windows 10 and works both. Apart includes several great examples: https://github.com/ppatierno/azuresblite-examples

Can I build an azure service bus client and server app using .NET 3.5?

My application must be .net 3.5. I would like to use the azure service bus relay to facilitate machine to machine communication. All examples that i find require .NET 4.0 (NuGet Package). Does anyone know for sure if i can use .net 3.5 or am i wasting my time evaluating azure?
You can also use the REST API and simply use the WebClient class to interact with the service bus. Note that not all features are supported by the REST API.
We do have a Service Bus client SDK targeting .NET 35: http://www.microsoft.com/en-us/download/details.aspx?id=19925
You can install the SDK MSI and then use the Microsoft.ServiceBus.dll included there. Do note that this msi will modify some settings in your machine.config etc.

ASP.Net API running on Windows Azure websites

I have an MVC project in Visual Studio 2012 RC which hosts an MVC web site and an ASP.NET API. I use routes to delegate the request to the correct controller.
On my local development machine both the website and api work fine. However when I push the change to Azure websites the website works, but the ASP.NET web api returns HTTP 500 errors.
The base site is: http://salaahtime.azurewebsites.net
One of the web site pages is http://salaahtime.azurewebsites.net/website/login
An example use of the API is http://salaahtime.azurewebsites.net/api/salaahtime/testestablishment/2012/1
However this returns HTTP 500.
I have
Updated my project to use .net 4.0. By default it is set to .net 4.5 which does not work with Azure websites
Removed Entity Framework 5.0 reference which only works with .net 4.5
Any ideas why the api would not work in Azure websites?
There is a known issue when backing a project down from 4.5 to 4.0 using the RC release of Visual Studio 2012. I know this will be slightly painful to hear, but you'll be better off creating a new project and setting the project's framework version to 4 rather than 4.5. This is an issue that should be fixed prior to the product's release.
Hope this helps. Trust me, we know of it and in our own development work have had to re-create projects using the 4 framework.
Also - the 4.5 framework will be supported in Windows Azure Web Sites once the 4.5 framework has been officially released.
Please try to turn off custom error (http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx), which may give more detailed information. If you’re working with a database, make sure you’ve updated the connection string to use Windows Azure SQL Database instead of a local database. There is also a possibility that Web API is not stood by web sites. The name web sites indicate it is used to build web sites, not web platforms. Web sites have limited features compared to web roles and virtual machines. If that’s the case, please use a web role or a virtual machine.
Best Regards,
Ming Xu.

Monotouch - Windows Azure toolkit

I am working on an Iphone application which needs a direct access to Azure. I know there are toolkit versions exist for Objective C and Android. Is there any ported version of the toolkit exists for Monotouch?
There is no specific Azure SDK which is designed for MonoTouch and the Azure desktop binary are not compatible. If you decide to use MonoTouch, you would need to use WebClient API to create your own HTTP/HTTPS connection something similar to as described here, which could be comparative complex. On internet you may find some experiment level code to use Azure services and MonoTouch application so you may be by your own to try to get things working.
If you choose Objective C then you can use iOS SDK for Windows Azure which is far better solution. I personally will not use MonoTouch to develop application on iOS devices, if I am heavily dependent on Windows Azure Services, instead I will choose iOS Windows Azure SDK to connect Azure Service through native code.
Check this out as well: MonoTouch connect to Azure ACS, Azure SQL / Azure WCF

Resources