Sean Iannuzzi's Blog

I am a Solutions Architect leveraging best practices for Enterprise, System and Software Design from Philadelphia.

  • WCF Diagnostics Implementation in 5 Easy Steps

    As we are all aware debugging components in a service oriented architecture it is generally a struggle without having to write a fair amount of code to trace and log the information.  Even using common utilities such as Log4Net or the Enterprise Libraries it still requires you to capture the information you want to have logged.  To my surprise this is no longer the case with Windows Communication Foundation Services Tracing Capabilities.

  • Windows Azure–Windows Azure Cloud Project Deployment and Remote Connections

    There are several options when deploying your solution to Windows Azure and based on the types of updates required it may be best for you to leverage each of the deployment options in different ways and at different times.  In this blog post I am going to focus on the most common deployment options available and then discuss when and why to use one deployment method versus another.  For the purposes of keeping this post as simple as possible, I am not going to focus on a multi region deployment and am only going to focus on a single region deployment.

  • WP7 Tips–Part I– Media File Coding Techniques to help pass the Windows Phone 7 Marketplace Certification Requirements

    Developing an application that plays media files on a Windows Phone 7 Device seems fairly straight forward.  However, what can make this a bit frustrating are the necessary requirements in order to pass the WP7 marketplace requirements so that your application can be published.  If you are new to this development, be aware of these common challenges that are likely to be made.  Below are some techniques and recommendations on how optimize your application to handle playing MP3 and/or WMA files that needs to adhere to the marketplace requirements.

  • Publishing to Windows Azure using Windows Azure Service Management API.

    In many cases publishing to the Windows Azure is fairly straight forward and has become even more so with the completely integrated Windows Azure Service Management API.  Prior to the API being enabled you had to create a package and deploy the package manually to the Cloud by selecting your Package and Configuration file.  This is no longer the case with the Windows Azure Services Management API.

  • How to Create a Windows Azure Storage Account and Custom Domain Name (register a CName record) in 3 Easy Steps

    Depending on the type of application you are building it may be necessary for you to register a CName record with your Storage Account that you created.  There are many reasons that you may want to perform this registration such as if you are building a Silverlight/Flash Application that requires that all of your resources are within the same domain. 

    Step 1:  Create the Azure Storage Account

    a)      Login to your Windows Azure Account

    b)      Select your Azure Services

    c)       Click on Create New Service

    d)      Select Storage Account

     

    Figure 1.0 - Create Storage Account

     Figure 1.0 - Create Storage Account


    Figure 1.1 - Create Storage Account - Create the Service

    Figure 1.1 - Create Storage Account - Create the Service 

      Figure 1.2 - Create Storage Account - Name the Blob Storage Account

    Figure 1.2 - Create Storage Account - Name the Blob Storage Account

     Figure 1.3 - Create Storage Account - Storage Account Summary

    Figure 1.3 - Create Storage Account - Storage Account Summary

     

    Step 2:  Create the Custom Domain Name and Register the CName Record

    Note:
    For this step to work you must have access to register CName records with your domain.  Usually this can be done by simply logging in to your provider and updating the list.

    a)      Click on the Manage Link to the Right of the Custom Domain

    b)      Enter your domain name and Click Generate Key

    c)       Click on the Manage Link Next to your Custom Domain and Click Validate

    d)      Follow the instructions on the page on what to enter in for the CName Records

    Note:
    If you receive a Dr. Watson Error then your CName Record mapping entered into your Domain Provider is likely to be incorrect or not working.


    Figure 2.0 - Create the Custom Domain

    Figure 2.0 - Create the Custom Domain

    Figure 2.1 - Create the Custom Domain - Domain Association

    Figure 2.1 - Create the Custom Domain - Domain Association

    Figure 2.2 - Create the Custom Domain - Mapping

    Figure 2.2 - Create the Custom Domain - Mapping

    Figure 2.3 - Create the Custom Domain - Validate the Domain Association

    Figure 2.3 - Create the Custom Domain - Validate the Domain Association 

    Note:
    If you receive a Dr. Watson Error then your CName Record mapping entered into your Domain Provider is likely to be incorrect or not working.

     

    Figure 2.3.1 - Create the Custom Domain - Validate the Domain Association

    Figure 2.3.1 - Create the Custom Domain - Validate the Domain Association

    Step 3:  Verify Your Domain CName Record and Domain Name Association

    At this point all that is left to do is to validate that your blob storage is properly associated to your CName records. 


    Figure 3.0 - Validate Domain CName Record and Domain Name Association

    Figure 3.0 - Validate Domain CName Record and Domain Name Association 

    Hopefully this blog entry was helpful and useful to some as using this technique can come in handy when developing applications that integrate with Flash and Silverlight and need to access resources and/or assets that are not in the same domain.