WCF Federation with ACS v2

Recently I worked on WCF Federation with ACS v2. The developer who approached me was trying to authenticate the WCF service (on-premise/azure hosted) using Azure Appfabric Access Control (ACS ).  He wanted to use an Identity provider (Windows LiveID or Facebook) as listed in the msdn magazine article below. Re-Introducing the Windows Azure AppFabric Access…

1

Securing Azure hosted ASP.Net/WCF with SSL

The exercise below details the steps to secure azure with SSL really well. Exercise 4: Securing Windows Azure with SSL http://msdn.microsoft.com/en-us/gg271302 In the exercise above, it uses self-signed certificates. Everything should work smoothly until developer decides to use certificate issued by certificate authorities in production. When using certificates from certificate authorities, you might see certificate…

0

Azure DiagnosticMonitor – Custom Logs

Azure Diagnostics custom logs are not moving to the storage account.  I’ve configured the diagnostics as follows for custom logs. Code in OnStart method: // Get the default initial configuration for DiagnosticMonitor. DiagnosticMonitorConfiguration diagnosticConfiguration = DiagnosticMonitor.GetDefaultInitialConfiguration(); // Set scheduled transfer interval for infrastructure logs to 1 minute diagnosticConfiguration.DiagnosticInfrastructureLogs.ScheduledTransferPeriod = System.TimeSpan.FromMinutes(10); // Specify a logging level…

0

Hosting ASP.Net Application Services in Azure and Implement ClientApplicationServices

ASP.NET application services are built-in Web services that provide access to features such as forms authentication, roles, and profile properties. These services are part of a service-oriented architecture (SOA), in which an application consists of one or more services provided on the server, and one or more clients. Client applications for ASP.NET application services can…

0

Azure Deployment Aborted – DiagnosticMonitorConfiguration.OverallQuotaInMB

I ran into an interesting issue today while configuring custom log directory in Azure Diagnostics.  The role was aborting with the following code in OnStart method. public override bool OnStart(){    // Get the default initial configuration for DiagnosticMonitor.    DiagnosticMonitorConfiguration diagnosticConfiguration = DiagnosticMonitor.GetDefaultInitialConfiguration(); // Create a new DirectoryConfiguration object.    DirectoryConfiguration directoryConfiguration = new DirectoryConfiguration(); // Add…

1

How to restrict unwanted IPs to access your site in Azure environment?

This is a very frequently asked question, not just in the Azure world! How to restrict unwanted IPs to access your site in Azure environment? There are two parts to it, as listed below: 1. Static IP Restriction – where you know the list of IPs that you would like to restrict. Follow this blog…

0

Hosting PHP/ZEND Framework applications in Windows Azure Web Role (Full IIS)

Symptom: Unable to host application using ZEND framwork and PHP.  The role gets started but runtime issues occur. Here’s one of the errors logged in the application event log & browser indicating PHP prcess in crashing.   Log Name:      ApplicationSource:        ApplicationErrorDate:         4/21/2011 9:12:11 PMEvent ID:      1000Task Category: (100)Level:         ErrorKeywords:      ClassicUser:         N/A Computer:      RD00155D38277CDescription:Faultingapplication php-cgi.exe, version…

0

WCF Tracing in Windows Azure SDK 1.3 or higher

WCF Tracing in on-premise servers – http://msdn.microsoft.com/en-us/library/ms733025.aspx WCF Tracing in on-premise servers with intermittent failures – Enable Circular tracing: http://msdn.microsoft.com/en-us/library/aa395205.aspx  WCF Tracing in Azure: As most of you already know, WCF Service Web Role implements WCF tracing by default and puts it in the local storage. However, it’s disabled by default. All you have to…

1