2

High Availability and Load Balancing of a Azure Virtual Machine Cloud Services within a Data Center

Virtual machines in Windows Azure comes under as Infrastructure as a Service (IaaS). When we want to have complete control on our application deployment environment, then Azure Virtual Machine Service is a good option. Just like any other Cloud Services, Azure Virtual Machines can also be made Highly Available through configuration in Azure Management portal.

In this short tutorial I am going to show how to make VM Roles highly available within a Data Center. As an extension, we also see how to load balance the VMs using a load balance set endpoint.

2

High Availability in Azure WebRoles using Traffic Manager

High Availability (HA) and Disaster Recovery (DR) are most prominent terms we often hear in cloud computing technologies. To be precise I would say they are not just terms or solutions, they are architectural patterns one should follow to solve mission critical business problems and requirements in a cost effective way. HA deals with the designs one should follow to make their services always available and DR on the other hand is a pattern which deals with recovering or resuming the services in case of failovers. Most of the time both HA and DR are counterparts to one another, which means solving for one would automatically solve the other.

0

Session Management in Azure WebRoles using Azure Cache Service

Traditional ASP.Net developers can’t imagine their life without the usage of Session Object (either – InProc or State Server or SQL Server or Custom modes). Devs use this powerful API not only to persist sensitive information on server for some time intervals, but also to transfer data objects across postbacks between different pages.

Problems with session management arises when we go on to the Webfarm (or typically multiple instances of web server), especially where a typical load balancer comes in between the client and server farm. When a ClientA makes a first request, which is being routed to ServerA, then ServerA creates a session object. But what if simultaneous requests from ClientA goes to ServerB? As Session object is in ServerA, there will be Null Object reference exception getting thrown.

2

Upload large files to Azure Blob Storage through Azure Web Role WebApi services and Azure Cache Service

The main aim of this project is to provide a working scalable solution for uploading large files to server. In this modern era, when web development taking modern cloud workflows, it is time for us to solve the traditional problems which we encounter in uploading files in a more easier and simpler way. We pretty much experience traditional ASP.Net Web problems at the time of working with file uploads which range from 4MB to hundred’s of MBs. Even though ASP.Net allowed some provisions (which would make uploading files easier) by making some Config changes (for example – maxRequestLength and executionTimeOut), still server timeouts and long running connections are creating chaos in this particular requirements.

0

Diagnose your ASP.Net MVC application using Glimpse

Glimpse is an open source free diagnostics platform through we can understand our web applications performance and diagnose key areas of our code. Glimpse gives a intuitive UI through which we can examine server execution times, server configuration, in/out data etc., which will help us to improve performance of our application. More over getting started with glimpse is very easy, one can get a Glimpse report fairly in 3 quick steps.

2

Public access of Website hosted in Azure Windows Server VM

In this small post we are going to look into how quickly we can configure Azure Windows Server 2012 VM and access a website which is hosted in its IIS. We need to add 80 port (default port for default website) as one of its endpoint through which all http traffic will be served.

0

JumpStart # 22– Image preview for input file type using HTML5 File API

In this short tutorial we are going to see how to preview an image when selected for upload using input file type. We use HTML5 File API and its FileReader to read the file and display it in the image tag. FileReader’s readAsDataURL will start reading the contents of the specified Blob, which may be a File. When the read operation is finished, onloadend callback will be called and the raw binary data of the file contains in the result attribute.

8

Enable FTP Access on Windows Azure VM

In this tutorial I am going to show on how to enable FTP connection to a Windows Azure VM. First we will create a brand new VM, then we enable FTP Server in it. Then we open TCP ports (Data and Control Ports) for FTP communication and add inbound rules in firewall. As the third step we are going to create an FTP site as communication channel and associate public IP to it. Finally we test it using FileZilla client and verify FTP Connection.

8

File Upload using MultipartFormDataStreamProvider in ASP.Net WebAPI

In this short tutorial, we are going to see how to upload multiple files using MultipartFormDataStreamProvider in ASP.Net WebAPI. The concept is based on Multipart/form-data in which we can POST not only multiple file contents but also regular form fields which will be available as NameValueCollection on server side.In this tutorial we also see how to override the default behavior of MultipartFormDataStreamProvider which stores the name in a unique BodyPart_{GUID} format to much more meaningful name. We will also invoke our WebAPI using Fiddler to POST file data. Alongside we develop a sample console application which will POST file data using HttpClient class.

0

Activate Windows Azure from MSDN Subscription

Over North America TechEd, ScottGu announced free credits of Windows Azure for all MSDN Subscribers. Today I am going to walk you guys through the steps of activating Windows Azure Subscription through MSDN rights. One interesting fact of this way of activating Windows Azure is that it doesn’t require CREDIT CARD to complete the process.

3

File Upload and Download to Azure Blob Storage

In this tutorial we will see how to upload and download a file to Azure Blob storage. Azure blob storage is a service which can be used to save any unstructured information in binary content and serve on HTTP/HTTPS. Blob storage is especially helpful for content types like Images, Documents, Audio and Video. We can manage our data with restricted permissions to keep it private along side we can expose part of data publicly.

2

Attribute based routing in ASP.Net Web API

Most of us already knew the traditional routing concepts in Web API which we configure in WebApiConfig file. This approach solves most of the basic routing problems, but it limits the granular control and flexibility over custom routes. Attribute based routing is a popular nuget which offers flexibility in managing routes at Controller/Action level. In this tutorial we are going to see how we can get the basic Attribute based routing works.