Remote PowerShell in Azure IAAS Virtual Machines

We can configure remote PowerShell feature while spinning up a new IAAS (Infrastructure as a service) VM. This enables us to execute PS commands remotely on Azure IAAS VM from our local machine. This option is available when you create a virtual machine using the “From Gallery” option on the management portal as shown below : The last…

5

How to transfer IIS logs to storage account in a custom format

The sample code in this blog will help you transfer IIS logs in a custom format to your storage account using Windows Azure diagnostics, You can implement this by using ServerManager class defined in Microsoft.Web.Administration DLL.  1. Add Microsoft.Web.Administration DLL to the project reference. (Path of Microsoft.Web.Administration DLL: C:\Windows\System32\inetsrv).      2. Set Copy local property…

0

How to edit the request filtering feature settings and request limits for Azure applications?

Based on the kind of application you are developing, at times you may need to change the default parameters of IIS 7.0 on the VM to restrict or allow requests of certain lengths. Using the below explained approach you will be able to configure various other parameters on IIS to secure your application running on Azure….

1

Changing Registry settings using a startup task in Azure

> Make the appropriate changes in the registry, and then export the appropriate subkey or subkeys. Exported registry subkeys are automatically saved as .reg files. Click Start, click Run, type regeditin the Open box, and then click OK. Locate and then click the subkey that holdsthe registry item or items that you want to change….

0

Windows Azure API | Attaching a Certificate to a Management Service Request

The below link demonstrates how to authenticate your requests for the management service using C# and the System.Net and System.Security.Cryptography.X509Certificates libraries. http://msdn.microsoft.com/en-us/library/windowsazure/ee460782.aspx Above link contains a sample code which opens the local certificate storenamed “My” and finds the certificate that matches the thumbprint value. Then, it attaches the matching certificate to the request by adding it…

0

Windows Azure | Unable to Find Assembly ‘Microsoft.IdentityModel’

Have you encountered the following exception when you browse to your application running on Windows Azure platform. Unable to find assembly ‘Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ ================================================================================================================= Cause: The Windows Identity Foundation assemblies are not properly installed to the Windows Azure virtual machine. Resolution: Use a startup task to reinstall the Windows Identity Foundation package on the virtual…

3

Windows Azure | This communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state

Exception details: Visual studio throws error “The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. See output window for more information.” Following is the text from my output window: Windows Azure Tools: Warning: Remapping public port 80 to 81 to avoid conflict during emulation.Windows Azure Tools: Warning: Remapping…

2

How to increase application pool idle timeout in windows azure cloud applications ?

App-pool Idle Time-out is the amount of time (in minutes) a worker process will remain idle before it shuts down. A worker process is idle if it is not processing requests and no new requests are received.    Idle Time-out property can be changed in IIS after you RDP into the VM’s of Azure, but…

4

Domain mapping, Domain forwarding, SSL certificate for Windows Azure

Are you looking for an answer to any of the following questions, this article may help you.        Q. How do I access my cloudapp.net application using my own custom domain name?        Q. How do I access my application using custom root domain as well as sub domain?        Q. How do I access my cloud application…

0

PivotViewer on Windows Azure Platform

  The steps in this blog will lead you through the steps to create and deploy a Pivot viewer application to windows azure platform.  You can also download and watch my presentation in the below link:https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032493783&Culture=en-IN Prerequisites : Download the below components.      > Microsoft Silverlight PivotViewer : http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17747      > Microsoft Silverlight 4 : http://www.microsoft.com/getsilverlight/get-started/install/default.aspx   In This Blog :…

0