Windows Azure Cloud Services have some fantastic diagnostics capabilities that leverage those provided by Windows and the .NET Framework.
If you are creating a Web Role, and would like to be able to easily view trace information in the Compute Emulator during debug sessions on the local machine, you may find that the trace entries don’t appear by default.
To fix the problem, you simply need to add an entry to your web.config inside the web project.
<add type="Microsoft.ServiceHosting.Tools.DevelopmentFabric.Runtime.DevelopmentFabricTraceListener, Microsoft.ServiceHosting.Tools.DevelopmentFabric.Runtime, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
<filter type="" />
It is easy to forget that an Azure SQL Database exists on an Azure SQL Server. One Azure SQL Server can support multiple Azure SQL Databases. The biggest benefit to a single Azure SQL Server hosting multiple databases is that you have a single administrative login and set of firewall rules that affect all databases on that server.
This can lead to confusion however if you have had a server in place for some time, and add a new database without remembering the original server credentials or firewall rules.
To remind yourself of the administrative login for your database, first login to the Azure Management Portal (https://manage.windowsazure.com). Along the left hand slide, select “SQL DATABASES”. On the “DATABASES” page, find your new database in the list, and locate the server name from the “SERVER” column (FYI, the real server names have been truncated in the screenshots below for security purposes):
If you click on the name of the server above, you will be taken to the “DASHBOARD” page for that server. From there, along the right hand side under “quick glance” you can see the “ADMINISTATOR LOGIN” name, and if needed click the link further up on the “Reset Administrator Password” link.
Once you have a figured out, or if needed reset, the administrator credentials. You can now log in an create additional logins and user accounts using the CREATE LOGIN and CREATE USER statements…
I love the Dev Camps we have been running lately because it gives me a great opportunity to show off all the great things we are doing around Windows 8 and Windows Azure. Case in point, at the Windows 8 Dev Camp in LA today (09/14/2012) I will be presenting on “Windows Azure Mobile Services”.
“Windows Azure Mobile Services” makes it super simple to create a cloud back-end for your Windows 8 WinRT apps. It provides you a way to manage data, authentication, and push notifications. Along with that you can scale your services as your app grows in popularity! Very cool.
Feel free to grab my demos and slides from today, and if you haven’t gotten a chance to go through the “Windows Azure Mobile Hands-On-Labs”, give them a try!
All I can say is WOW. This was super easy to setup. My goal was to use Visual Studio 2012 to create an Azure Web Site, and to use Microsoft’s Hosted TFS for my source control and build server. If all of the above items are new to you, that may sound like a daunting task, but as you’ll see, it is extremely simple. Also, don’t let the length of this blog post scare you off. I tried to be very specific about the steps and include a lot of screen shots, so It looks like a lot, but all in all it will only take you about 10 to 15 minutes to complete. Here’s an diagram with a basic overview of the pieces:
Keep reading for a 7 MINUTE video demonstration of the ENTIRE PROCESS, and step-by-step instructions!
Read the rest of this entry »
Recently, I attended a presentation by my colleagues Bruno Terkaly and Ricardo Villalobos on an emerging concept around cloud application architectures known as “Command Query Responsibility Segregation”, or CQRS. As an evangelist on the Azure platform, this was of great interest to me, and I though that for my lightning talk tonight at CloudCamp LA, I would spend a few minutes discussing it. You can grab the slides from my lightning talk here:
If you would like to know more about CQRS in general, check out these resources:
If you are going to be at CloudCamp LA tonight, look me up. I’d love to meet you!
I’m really looking forward to my session tonight at the Inland Empire .NET User Group. I’ll be talking about Windows Azure, and showing how to get started developing applications for the platform. Whether you’re new to Azure, or even if you have been developing against it for a while, you are likely to learn something new here, or at least gain some perspective.
In another shocking advancement, I once again am posting my slides and demos BEFORE the event. You can grab them here (10.6MB Download).
I had a great time at my “Getting Started with Windows Azure” session at So Cal Code Camp today! If you would like a copy of the slides you can get them here!
I am really excited to announce that I, and my counterpart in Northern California, Bruno Terkaly, will be presenting an ongoing series of web casts on Azure, and all things cloud. We’ll kick things off this Thursday, January 19th, 2012 at 8:00am pacific time. Our first session will start with the basics of Getting Started with Windows Azure.
In this session we’ll:
- Answer “What is Windows Azure?”
- See how to get started & build your first app
- Understand the key Windows Azure concepts
You can grab the content for the slides and labs associated with these web casts here:
Come check it out live. If you can’t make the live session, it will be available on demand after the session.
Microsoft Virtual Academy (www.microsoftvirtualacademy.com) offers a collection of free online training that you can access! It has tracks on multiple products and technologies including Windows Azure, SQL Azure, Office 365, Hyper-V and more. Check it out yourself!
I just put the new November 10, 2011 (SDK v1.6) update of the Azure SDK tools down on my box and was attempting to walkthrough creating an Azure service by hand (not using Visual Studio). I tried to run a very simple service using a ServiceConfiguration.cscfg file that looked like this:
When I did so I got a number of errors about missing settings:
<path>\ServiceConfiguration.cscfg: Error CloudService103 : The service configuration file does not provide a value for setting ‘?IsSimulationEnvironment?’ for role ‘HelloAzureSDK.Web’
<path>\ServiceConfiguration.cscfg: Error CloudService103 : The service configuration file does not provide a value for setting ‘?RoleHostDebugger?’ for role ‘HelloAzureSDK.Web’
<path>\ServiceConfiguration.cscfg: Error CloudService103 : The service configuration file does not provide a value for setting ‘?StartupTaskDebugger?’ for role ‘HelloAzureSDK.Web’
So it looks like it wants three configuration settings:
I’ve poked around a bit in the docs, and done a few searches, but haven’t had any luck finding details on these items. They appear to be some settings used by the Compute Emulator DFUI.exe, but I haven’t dug much deeper into how they are used, or what appropriate values for them should be. Regardless, I don’t think we need to define them.
I looked at the new ServiceConfiguration.Local.cscfg file produced by the Azure project templates in Visual Studio, and didn’t see any of the settings mentioned in the errors message, however it does have a <ConfigurationSettings>…</ConfigurationSettings> element and my original configuration file didn’t. I tried just adding an empty <ConfigurationSettings /> element to my manually created ServiceConfiguration.cscfg file and it worked.