How do I secure an odata service running on windows Azure - windows

I am hosting odata service on windows azure platform. How do I authenticate client/user within windows azure platform before they can access the odata service?
Thanks,

In the WCF Data Sevice TeamĀ“s blog there is a huge entry splitted in 8 parts where they deatils all about authentication:
http://blogs.msdn.com/b/astoriateam/archive/2010/05/10/odata-and-authentication-part-1.aspx

Related

Where to host WCF service for CRM Online 2016?

I have created a WCF service, which will be consumed by / called from CRM 2016 Online Case Form (using jscript/ajax call).
Where should I host the WCF service?
You are responsible for deciding where to host the service and configuring/programming for single sign-on (if you need security and want to avoid additional password prompts.)
The most logical place to run this would be in Azure: Deploying WCF Service on Windows Azure

Mobile App with microservices (on Microsoft Azure service fabric)

I am planning to build an enterprise grade mobile application that requires full offline capability. It would be used worldwide. For the backend application, I intend to realise it as microservices using Azure Service fabric. The backend application would be leveraged by both a web admin UI as well as by the above mobile app. For the mobile app, I intend to use Azure App service's the new mobile app service. This would provide me the capability to do offline data sync and also carry out the functions when network reachability is there.
MobileApp --> Azure MobileApp service --> Azure API app service --> Azure Service Fabric (cluster of nodes hosting microservices).
Following are some questions & observations on which I require advice:
The reason I am putting in Azure API service in the middle is because I intend to do API management (I understand Azure has a separate API management offering - any pointers on how I can do true API management in the above architecture would be very helpful. Would API management replace API app service ? )
I intend to use Swagger generated code out of API app service, so that both the web admin UI layer and the Azure Mobile App service layer can leverage. Your thoughts ?
Here I am using 2 paradigms - App Service (for mobile & API) and App Service fabric. I believe this is the only option given the fact that I have a mobile app requiring heavy duty offline feature.
Data Sync from mobile: How do you think I can sync data between Mobile App service and the microservice specific data stores ? Do I need to go via the APIs or I can easily do a data sync with the data stores of individual microservices. Your thoughts please ?
I would put the Azure API management in front of the mobile apps, on the microsoft integration roadmap, there was an announcement that API management will be built into App Services (and thus mobile services) by the end of 2016:
https://www.microsoft.com/en-us/download/details.aspx?id=50408
The first preview is in "Power Apps" https://azure.microsoft.com/nl-nl/documentation/articles/powerapps-configure-apis/
where API management policies are incorporated directly
For more info on creating an API management layer on top of mobile services:
http://giventocode.com/azure-api-management-and-azure-mobile-services

Does windows Azure have Web Cache features?

I want to use a web cache for my api which is hosted in an Azure website.
How can I do that?
you could implement this yourself within the api. you have not indicated how your api is developed, for asp.net web api, you could use, for example cachecow
If you're looking to use an Azure service to do so outside your API - Azure API Management has built-in response caching capability

Create WCF service with Integrated Windows Security on IIS7

I'm trying to create a WCF service that uses Integrated Windows Security and will be hosted on IIS7.
This service is going to be used inside a domain and will be consumed by a java client.
My questions are:
What bindings should I use ?
How do I set up Integrated Windows Security on IIS7? (not the same as IIS6)
How do I get the credentials inside the service (C#), that is, how to read the user name.?
Thanks,
Thomas

Windows phone 7 accesses SQL Azure

I'm a beginner of WP7, and I spent some time looking for solutions not only can consume
but also Insert/Update/Delete the data stored in SQL Azure.
I found a good tutorial here:
http://samidipbasu.com/2011/07/24/updating-odata-data-source-from-wp7-part-1/
However, the SQL Azure Lab no longer accepts registration.
http://www.microsoft.com/en-us/sqlazurelabs/labs/odata.aspx
So, is there any other solution for directly accessing SQL Azure in the cloud without setting up a server?
Thank you.
have a look at Windows Azure Mobile Service, that should cover the server side.
you can then access the REST-based API from Windows Phone, see Using Azure Mobile Services with Windows Phone

Resources