Enable CROS for azure

http://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api No need to add proxy in We.config <!–<system.net> <defaultProxy useDefaultCredentials=”true”> <proxy bypassonlocal=”True” usesystemdefault=”True” /> </defaultProxy> </system.net>–> Add following code to enable Cors in WebApiConfig.cs public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services // New code for enable cross-origin resource sharing (CORS) config.EnableCors(); Add attribute EnableCors… Read More Enable CROS for azure

Introduction to Microsoft Azure API Management – Step by Step tutorial

original link : https://thuruinhttp.wordpress.com/2014/11/24/introduction-to-microsoft-azure-api-management-step-by-step-tutorial/ Before API management create a REST service host it on AZURE. http://azure.microsoft.com/en-in/documentation/articles/web-sites-dotnet-rest-service-aspnet-api-sql-database/ Introduction to API Management Microsoft acquired a company named Apiphany last year (read about the acquisition) and jumped to the API Management market. So what is API Management ? Given below is the definition what Google gives for the… Read More Introduction to Microsoft Azure API Management – Step by Step tutorial

Enabling Cross-Origin Requests in ASP.NET Web API 2

http://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api#enable-cors Enable CORS Now let’s enable CORS in the WebService app. First, add the CORS NuGet package. In Visual Studio, from the Toolsmenu, select Library Package Manager, then select Package Manager Console. In the Package Manager Console window, type the following command: Install-Package Microsoft.AspNet.WebApi.Cors

service bus getting error -The remote server returned an error: (407) Proxy Authentication Required.

I have received this error many times over the last six months while I have been trying to run Azure examples. Most Azure examples assume that you are not running behind a corporate firewall or a proxy that requires authentication. This error is frustrating for an Azure newbie because you inevitably have to spend a… Read More service bus getting error -The remote server returned an error: (407) Proxy Authentication Required.