Showing posts with label AppFabric. Show all posts
Showing posts with label AppFabric. Show all posts

Saturday, October 29, 2011

Azure AppFabric Service Bus Explorer (with code)

Microsoft Developer Network - Samples - Service Bus Explorer

"Introduced in the September 2011, queues and topics represent the foundation of a new cloud-based messaging and integration infrastructure that provides reliable message queuing and durable publish/subscribe messaging capabilities to both cloud and on-premises applications based on Microsoft and non-Microsoft technologies. .NET applications can use the new functionality offered by queues and topics by using the new messaging API (Microsoft.ServiceBus.Messaging) released with the Windows Azure AppFabric SDK V1.5 or via WCF by using the new NetMessagingBinding. Likewise, any Microsoft or non-Microsoft applications can use a Service Bus REST API to manage and access messaging entities over HTTPS.

Queues and topics were first introduced by the Community Technology Preview (CTP) of Windows Azure AppFabric that was released in May 2011. At that time, the Windows Azure Management Portal didn’t provide any user interface to administer, create and delete messaging entities and the only way to accomplish this task was using the .NET or REST API. For this reason, In June 2011 I decided to build a tool called Service Bus Explorer that would allow developers and system administrators to connect to a Service Bus namespace and administer its messaging entities.

image

During the last few months I continued to develop this tool and add new features with the intended goal to facilitate the development and administration of new Service Bus-enabled applications. In the meantime, the Windows Azure Management Portal introduced the ability for a user to create queues, topics, and subscriptions and define their properties, but not to define or display rules for an existing subscription. Besides, the Service Bus Explorer enables to accomplish functionalities, such as importing, exporting and testing entities, that are not currently provided by the Windows Azure Management Portal. For this reason, the Service Bus Explorer tool represents the perfect companion for the official Azure portal and it can also be used to explore the features (session-based correlation, configurable detection of duplicate messages, deferring messages, etc.) provided out-of-the-box by the Service Bus brokered messaging.

...

image..."

I haven't done anything yet with AppFabric and/or Azure queues, Service Bus, etc, but when/if I do I'm going to want to grab this project. Not only because it looks very useful in its compiled form, but because all the source is available. Learning by seeing and all that... :)

Wednesday, August 17, 2011

Try, try, try again... SQL Azure, Azure Storage, AppFrabric Service Bus Retry Article and Library

Microsoft Developer Network - SQL Azure Retry Logic

"This sample shows how to handle transient connection failures in SQL Azure.

The Windows Azure AppFabric Customer Advisory Team (CAT) has developed a library that encapsulates retry logic for SQL Azure, Windows Azure storage, and AppFabric Service Bus. Using this library, you decide which errors should trigger a retry attempt, and the library handles the retry logic.

This sample assumes you have a Windows Azure Platform subscription. The sample requires Visual Studio 2010 Professional or higher.

A tutorial describing this sample in more detail can be found at TechNet Wiki.

..."

TechNet Articles - Retry Logic for Transient Failures in SQL Azure

"This tutorial shows how to handle transient connection failures in SQL Azure.

SQL Azure queries can fail for various reasons – a malformed query, network issues, and so on. Some errors are transient, meaning the problem often goes away by itself. For this subset of errors, it makes sense to retry the query after a short interval. If the query still fails after several retries, you would report an error. Of course, not all errors are transient. SQL Error 102, “Incorrect syntax,” won’t go away no matter how many times you submit the same query. In short, implementing robust retry logic requires some thought.

...

Testing retry logic is an interesting problem, because you need to trigger transient errors in a repeatable way. Of course, you could just unplug your network cable, or block port 1433. (SQL Azure uses TCP over port 1433.) But for this tutorial, I’ve opted for something that’s easier to code: Before submitting a query, hold a table-wide lock, which causes a deadlock or a timeout. When the lock is released, the original query can be retried.

Prerequisites

This tutorial assumes you have a Windows Azure Platform subscription. For more information on creating a subscription, see Getting Started with SQL Azure using the Windows Azure Platform Management Portal.

This tutorial requires Visual Studio 2010 Professional or higher.

Download the project files.

In this Article

  • Lesson 1: Create the Example Database
  • Lesson 2: Add Queries
  • Lesson 3: Add Retry Logic

...

image..."

A nice article and library to help solve a common cloud issue, transient connectivity issues. Don't reinvent the retry wheel if you don't have too...

Sunday, June 06, 2010

Windows Server AppFabric v1 RTW (and samples too)

Microsoft Downloads - Windows Server AppFabric

“Windows Server AppFabric is a set of integrated technologies that make it easier to build, scale and manage Web and composite applications that run on IIS.

Version: 1.0.0.0
Date Published: 6/4/2010
Language: English
Download Size: 23 KB - 167.8 MB*


Windows Server AppFabric is a set of integrated technologies that make it easier to build, scale and manage Web and composite applications that run on IIS. Windows Server AppFabric targets applications built using ASP.NET, Windows Communication Foundation (WCF), and Windows Workflow Foundation (WF).

It provides out-of-the-box capabilities for you to easily build and manage composite applications, including:

    • Enhanced design and development tools in Visual Studio to build rich composite applications
    • Management and monitoring of services and workflows via integration with IIS Manager and Windows PowerShell
    • Distributed in-memory application cache to improve application performance

Windows Server AppFabric allows developers to build their next-generation composite applications, and for administrators to host and manage them. It integrates technologies previewed as code name "Dublin" and code name "Velocity".

System Requirements

  • Supported Operating Systems: Windows 7; Windows Server 2008; Windows Server 2008 R2; Windows Vista

  • Supported Architectures:
    • 32-bit (x86)
    • 64-bit (x64)

Instructions

  • Upgrade from Windows Server AppFabric Beta 2 Refresh and Windows Server AppFabric RC is supported. However upgrade from older versions of Windows AppFabric (Beta 1 and Beta 2) is not supported. Before starting the installation, uninstall older versions (pre-Beta 2 refresh) of Windows Server AppFabric, then install pre-requisite software. It is important to uninstall Windows Server AppFabric Beta 1, Windows Server AppFabric Beta 2 before uninstalling .NET 4 Beta 2 or .NET 4 RC respectively and installing the final version of .NET 4. For more information and a work-around see the release notes.

…”

Microsoft Downloads - Windows Server AppFabric Samples

“Windows Server AppFabric is a set of integrated technologies that make it easier to build, scale and manage Web and composite applications that run on IIS. These samples provide a introduction to some of Windows Server AppFabric's hosting and caching features.

File Name: WindowsServerAppFabricSamples.exe
Version: 1
Date Published: 6/4/2010
Language: English
Download Size: 7.8 MB

…”

There’s some interesting features in AppFabric and now that the on-premises v1 is RTW it might be time to check them out in more depth. If I were doing web work, instead of a “might” it would probably be a “must”…

 

Related Past Post XRef:
10 AppFabric/.Net 4 Virtual Labs now available
Windows Azure AppFabric SDK v1.0 Released (Service Bus and Access Control)

Tuesday, December 22, 2009

Blob, SQL, Message and Fabric – A short intro to Azure storage choices

InfoQ - Azure Storage Options

“First some terminology. The term Windows Azure Platform covers all of Microsoft’s cloud offering. Within the Windows Azure Platform are three principal offerings. The virtual machine component is called Windows Azure. Also know as compute, it supports web roles for hosting web sites and worker roles for back-end processing. SQL Azure is based on SQL Server and has many of the same features. Finally there is Windows Azure platform AppFabric, which shouldn’t be confused with Windows Server AppFabric. Azure AppFabric is a message bus, with the goal of making authentication and message passing easier, especially across firewalls.

Azure Platform offers a plethora of storage options, making choosing which to use potentially quite difficult. …

image

…”

I thought this post provided a nice overview of the many Azure storage choices and options…

Friday, December 18, 2009

Windows Azure AppFabric SDK v1.0 Released (Service Bus and Access Control)

Microsoft Downloads - Windows Azure platform AppFabric SDK V1.0

“Windows Azure platform AppFabric is part of the Azure Services Platform. Microsoft .NET Services includes two services: the Access Control Service and the Service Bus.

Version: V1.0
Date Published: 12/18/2009
Language: English
Download Size: 1.9 MB - 4.5 MB*


Overview

This SDK includes API libraries and samples for building connected applications with the .NET platform. It spans the entire spectrum of today’s Internet applications – from rich connected applications with advanced connectivity requirements to Web-style applications that use simple protocols such as HTTP to communicate with the broadest possible range of clients.

…”

From the CHM;

“AppFabric Service Bus and AppFabric Access Control are a set of Microsoft-built and hosted Windows Communication Foundation (WCF) services for building Internet-enabled applications. AppFabric Service Bus and AppFabric Access Control provide applications with a common infrastructure to name, discover, expose, secure, and orchestrate Web services. They are designed to significantly lower the entry barriers for new types of interconnected Internet-scale applications regardless of whether they are Web-based, they work through application-to-application federation, or they want to exploit the rich user experience and media capabilities of modern desktop environments. This section discusses these two services in more detail.

…”

image

Monday, December 14, 2009

“Everything You Need to Know About Azure as a Developer” 18 part course on msdev.com updated to include four new Windows Azure AppFabric sessions

msdev.com - Everything You Need to Know About Azure as a Developer

“This series of Web seminars is designed to quickly immerse you in the world of the Windows Azure Platform. You’ll learn what Azure is all about, including the fundamental concepts of cloud computing and Windows Azure. You’ll learn why you should target Windows Azure, and see the tangible business benefits you can gain by deploying your apps to the cloud.

Windows Azure Platform: AppFabric Overview
In this high level overview, attendees will learn what the Windows Azure platform AppFabric and what it offers Microsoft’s cloud customers.

Windows Azure Platform: AppFabric Fundamentals
This session is designed to introduce the Windows Azure platform AppFabric from a developer’s point of view. Through a series of coding examples attendees will see how to take a simple

Windows Azure Platform: Introducing the Service Bus
The Service Bus is one of the two main components of the Windows Azure platform AppFabric. In this demonstration-heavy session, attendees will see multiple ways in which the Service Bus

Windows Azure Platform: The Access Control Service
The Access Control Service is one of the two main components of the Windows Azure platform AppFabric. In this demonstration-heavy session, attendees will examine the setup and code

image

Some AppFabric sessions to help fill all those empty holiday/vacation hours… :p

(via @realmsdevtweet)

 

Related Past Post XRef:
In SoCal? Interested in Azure? Don’t have any training funds? How about three days of instructor led classroom training, for free (Dec 15-17th)?
Free Microsoft SQL Azure training and a cool Migration Wizard utility
From Go to Deploy, hosting your website and data on Azure “How To”

Tuesday, December 08, 2009

10 AppFabric/.Net 4 Virtual Labs now available

Nicholas Allen's Indigo Blog - Virtual Labs for AppFabric and .Net 4

“Ten labs for AppFabric and .Net 4 are available on MSDN virtual labs. Virtual labs allow you to borrow a virtual machine for a while, giving you the opportunity to try out the lab online with no setup or installation required. You get the machine and a copy of the lab manual with no other work.

These labs cover .Net 4 Beta 2 and AppFabric Beta 1. If you were at PDC, these labs should look familiar if you were able to spend some time in our hands on lab area.

image

MSDN Virtual Lab: Lab 1: Simple Console Workflow

image

The cool thing about virtual labs is that you get a virtual machine all setup, configured and ready for you to start coding…