Search results matching tags 'azure', 'Cloud', 'Cloud Computing', and 'How I work'http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&tag=azure,Cloud,Cloud+Computing,How+I+work&orTags=0Search results matching tags 'azure', 'Cloud', 'Cloud Computing', and 'How I work'en-USCommunityServer 2.1 SP2 (Build: 61129.1)Windows Azure End to End Exampleshttp://sqlblog.com/blogs/buck_woody/archive/2012/05/29/windows-azure-end-to-end-examples.aspxTue, 29 May 2012 13:45:59 GMT21093a07-8b3d-42db-8cbf-3350fcbf5496:43642BuckWoody<p>I’m fascinated by the way people learn. I’m told there are several methods people use to understand new information, from reading to watching, from experiencing to exploring. </p> <p>Personally, I use multiple methods of learning when I encounter a new topic, usually starting with reading a bit about the concepts. I quickly want to put those into practice, however, especially in the technical realm. I immediately look for examples where I can start trying out the concepts. But I often want a “real” example – not just something that represents the concept, but something that is real-world, showing some feature I could actually use. </p> <p>And it’s no different with the Windows Azure platform – I like finding things I can do now, and actually use. So when I started learning Windows Azure, <a href="http://www.microsoft.com/en-us/download/details.aspx?id=8396" target="_blank">I of course began with the Windows Azure Training Kit</a> – which has lots of examples and labs, presentations and so on. But from there, I wanted more examples I could learn from, and eventually teach others with. I was asked if I would write a few of those up, so here are the ones I use. </p> <h2>CodePlex</h2> <p><a href="http://www.codeplex.com/" target="_blank">CodePlex is Microsoft’s version of an “Open Source” repository</a>. Anyone can start a project, add code, documentation and more to it and make it available to the world, free of charge, using various licenses as they wish. Microsoft also uses this location for most of the examples we publish, and sample databases for SQL Server. </p> <p>If you search in CodePlex for “Azure”, you’ll come back with a list of projects that folks have posted, including those of us at Microsoft. The source code and documentation are there, so you can learn using actual examples of code that will do what you need. There’s everything from a simple table query to <a href="http://blobshare.codeplex.com/" target="_blank">a full project that is sort of a “Corporate Dropbox” that uses Windows Azure Storage</a>. </p> <p>The advantage is that this code is immediately usable. It’s searchable, and you can often find a complete solution to meet your needs. The disadvantage is that the code is pretty specific – it may not cover a huge project like you’re looking for. Also, depending on the author(s), you might not find the documentation level you want. </p> <p><strong><em>Link: <a href="http://azureexamples.codeplex.com/site/search?query=Azure&amp;ac=8">http://azureexamples.codeplex.com/site/search?query=Azure&amp;ac=8</a>&#160;</em></strong></p> <p>&#160;</p> <h2>Tailspin</h2> <p><a href="http://msdn.microsoft.com/en-us/practices/default" target="_blank">Microsoft Patterns and Practices</a> is a group here that does an amazing job at sharing standard ways of doing IT – from operations to coding. If you’re not familiar with this resource, make sure you read up on it. Long before I joined Microsoft I used their work in my daily job – saved a ton of time. It has resources not only for Windows Azure but other Microsoft software as well. </p> <p>The Patterns and Practices group also publishes full books – you can buy these, but many are also online for free. There’s an end-to-end example for Windows Azure using a company called “Tailspin”, and the work covers not only the code but the design of the full solution. If you really want to understand the thought that goes into a Platform-as-a-Service solution, this is an excellent resource. </p> <p>The advantages are that this is a book, it’s complete, and it includes a discussion of design decisions. The disadvantage is that it’s a little over a year old – and in “Cloud” years that’s a lot. So many things have changed, improved, and have been added that you need to treat this as a resource, but not the only one. Still, highly recommended. </p> <p><strong><em>Link: <a href="http://msdn.microsoft.com/en-us/library/ff728592.aspx">http://msdn.microsoft.com/en-us/library/ff728592.aspx</a></em></strong></p> <h2>Azure Stock Trader</h2> <p>Sometimes you need a mix of a CodePlex-style application, and a little more detail on how it was put together. And it would be great if you could actually play with the completed application, to see how it really functions on the actual platform.</p> <p>That’s the Azure Stock Trader application. There’s a place where you can read about the application, and then it’s been published to Windows Azure – the production platform – and you can use it, explore, and see how it performs. </p> <p>I use this application all the time to demonstrate Windows Azure, or a particular part of Windows Azure.</p> <p>The advantage is that this is an end-to-end application, and online as well. The disadvantage is that it takes a bit of self-learning to work through.&#160; </p> <p><strong><em>Links: Learn it: <a href="http://msdn.microsoft.com/en-us/netframework/bb499684">http://msdn.microsoft.com/en-us/netframework/bb499684</a> Use it: <a href="https://azurestocktrader.cloudapp.net/">https://azurestocktrader.cloudapp.net/</a></em></strong></p>Team Foundation Server (TFS) in the Cloud - My Experience So Farhttp://sqlblog.com/blogs/buck_woody/archive/2012/01/24/team-foundation-server-tfs-in-the-cloud-my-experience-so-far.aspxTue, 24 Jan 2012 12:45:13 GMT21093a07-8b3d-42db-8cbf-3350fcbf5496:41263BuckWoody<p>I recently joined a software development project that involves not only myself and other internal Microsoft employees, but a partner and a customer as well. We are building a hybrid solution that uses assets on premises as well as Windows Azure for processing. When we put the team together we picked a methodology (Agile) for the project (we use multiple methodologies at Microsoft - whatever the project needs) and then we started talking about Source Control. </p> <p>We’re all comfortable with various tools for check-in-check-out, branching, and so on. We have all used GIT, SVN, and TFS. Some of us have even used Source Safe in past, but that’s another post. <img style="border-bottom-style:none;border-left-style:none;border-top-style:none;border-right-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-79-metablogapi/6661.wlEmoticon_2D00_smile_5F00_2.png" /> Each company has a full set of Source Control systems in place. But using each other’s systems requires logins, firewalls and the like - so we decided to use the <a href="http://tfspreview.com/" target="_blank">TFS Service Preview</a> to run the entire project from “the cloud”. Here are my experiences with that. </p> <p>The process was really simple. In fact, we talked about using the cloud TFS in the first SCRUM, and the team was working from the Work Items list that afternoon. The original account login provides a web interface to allow people to join the team. Each of us happened to have a Live.Com address, so we just invited those addresses to join and they got a link, like this: </p> <p><em>projectname.tfspreview.com</em></p> <p>I’m using Visual Studio, and it’s a requirement for TFS preview to have SP1 installed, and this patch: <span style="font-family:'Calibri','sans-serif';color:#1f497d;font-size:11pt;mso-fareast-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:en-us;mso-fareast-language:en-us;mso-bidi-language:ar-sa;"><a href="http://go.microsoft.com/fwlink/?LinkID=212065" target="_blank"><u><font color="#0000ff">KB2581206</font></u></a></span></p> <p>From there, I opened Visual Studio and navigated from the main menu to Team and then Connect to Team Foundation Server. I’m given this menu: </p> <p><a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-79-metablogapi/5001.tfs_2D00_2.jpg_5F00_2.png"><img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="tfs-2.jpg" border="0" alt="tfs-2.jpg" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-79-metablogapi/1778.tfs_2D00_2.jpg_5F00_thumb.png" width="244" height="157" /></a></p> <p>Selecting port 443 and HTTPS (for security) and then ensuring the lower link has the “tfs” appended as the location, I opened the project. </p> <p><a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-79-metablogapi/7167.tfs_2D00_3_5F00_2.jpg"><img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="tfs-3" border="0" alt="tfs-3" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-79-metablogapi/5584.tfs_2D00_3_5F00_thumb.jpg" width="244" height="167" /></a></p> <p><em>(This VSTS screenshot is of a project I did in my University of Washington class I teach - I never show client code or names in a blog post)</em></p> <p>From there it’s a normal set of operations. Right now the preview doesn’t have some things I’d really like, such as an automated build or some of the testing tools, but <a href="http://blogs.msdn.com/b/bharry/archive/2011/09/14/team-foundation-server-on-windows-azure.aspx" target="_blank">you can read this blog entry to learn more about the entire sign-up process, and what the team has planned</a>.</p> <p>Each day I log in to the project, and I’m given this new sign-in option: </p> <p><a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-79-metablogapi/7635.tfs_2D00_1_5F00_2.jpg"><img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="tfs-1" border="0" alt="tfs-1" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-79-metablogapi/3438.tfs_2D00_1_5F00_thumb.jpg" width="244" height="169" /></a></p> <p>I click the option, and I open the environment, hit My Work Items query, and get to work. All in all, a seamless - although basic - experience. The speed at which we could set up and work on a project was really sweet. It’s remarkable how un-remarkable this is - I just do my work each day, everything is running and backed up in the cloud. I think that’s the point. </p>Windows Azure Emulators On Your Desktophttp://sqlblog.com/blogs/buck_woody/archive/2011/02/01/windows-azure-emulators-on-your-desktop.aspxTue, 01 Feb 2011 14:39:00 GMT21093a07-8b3d-42db-8cbf-3350fcbf5496:33096BuckWoody<p class="MsoNormal"><span style="font-family:Calibri;"></span></p>
<p class="MsoNormal"><span style="font-family:Calibri;color:#000000;font-size:small;">Many people feel they have to set up a full Azure subscription online to try out and develop on Windows Azure. But you don&rsquo;t have to do that right away. In fact, you can download the Windows Azure Compute Emulator &ndash; a &ldquo;cloud development environment&rdquo; &ndash; right on your desktop. No, it&rsquo;s not for production use, and no, you won&rsquo;t have other people using your system as a cloud provider, </span><a target="_blank" href="http://msdn.microsoft.com/en-us/library/gg432960.aspx"><span style="text-decoration:underline;"><span style="font-family:Calibri;color:#0000ff;font-size:small;">and yes, there are some differences with Production Windows Azure</span></span></a><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;">, but you&rsquo;ll be able code, run, test, diagnose, watch, change and configure code without having any connection to the Internet at all. The best thing about this approach is that when you are ready to deploy the code you&rsquo;ve been testing, a few clicks deploys it to your subscription when you make one. </span></span></span></p>
<p class="MsoNormal">
<p><span style="font-family:Calibri;color:#000000;font-size:small;">&nbsp;</span></p>
</p>
<p class="MsoNormal"><span style="font-family:Calibri;color:#000000;font-size:small;">So what deep-magic does it take to run such a thing right on your laptop or even a Virtual PC? Well, it&rsquo;s actually not all that difficult. You simply download and install the Windows Azure SDK (<em>you can even get a free version of Visual Studio for it to run on &ndash; you&rsquo;re welcome</em>) from here: </span><a href="http://msdn.microsoft.com/en-us/windowsazure/cc974146.aspx"><span style="text-decoration:underline;"><span style="font-family:Calibri;color:#0000ff;font-size:small;">http://msdn.microsoft.com/en-us/windowsazure/cc974146.aspx</span></span></a><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;"> </span></span></span></p>
<p class="MsoNormal">
<p><span style="font-family:Calibri;color:#000000;font-size:small;">&nbsp;</span></p>
</p>
<p class="MsoNormal"><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;">This SDK will also install the Windows Azure Compute Emulator and the Windows Azure Storage Emulator &ndash; and then you&rsquo;re all set. Right-click the icon for Visual Studio and select &ldquo;Run as Administrator&rdquo;:</span></span></span><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;">&nbsp;</span></span></span></p>
<p class="MsoNormal">
<p><span style="color:#000000;font-size:small;"><a href="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/1072.azure1_5F00_2.png"><span style="font-family:Calibri;"><img height="163" width="244" src="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/0083.azure1_5F00_thumb.png" alt="azure1" border="0" title="azure1" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /></span></a><span style="font-family:Calibri;">&nbsp;</span></span></p>
</p>
<p class="MsoNormal"><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;">Now open a new &ldquo;Cloud&rdquo; type of project: </span></span></span></p>
<p class="MsoNormal">
<p><span style="color:#000000;font-size:small;"><span style="font-family:Calibri;">&nbsp;</span><a href="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/8004.azure2_5F00_2.png"><span style="font-family:Calibri;"><img height="163" width="244" src="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/5466.azure2_5F00_thumb.png" alt="azure2" border="0" title="azure2" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /></span></a></span></p>
</p>
<p class="MsoNormal"><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;">Add your Web and Worker Roles that you want to code: </span></span></span></p>
<p class="MsoNormal">
<p><span style="color:#000000;font-size:small;"><a href="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/2630.azure2b_5F00_2.png"><span style="font-family:Calibri;"><img height="163" width="244" src="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/0181.azure2b_5F00_thumb.png" alt="azure2b" border="0" title="azure2b" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /></span></a><span style="font-family:Calibri;">&nbsp;</span></span></p>
</p>
<p class="MsoNormal"><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;">And when you&rsquo;re done with your design, press F5 to start the desktop version of Azure: </span></span></span></p>
<p class="MsoNormal">
<p><span style="color:#000000;font-size:small;"><a href="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/2046.azure3_5F00_2.png"><span style="font-family:Calibri;"><img height="163" width="244" src="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/1157.azure3_5F00_thumb.png" alt="azure3" border="0" title="azure3" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /></span></a><span style="font-family:Calibri;">&nbsp;</span></span></p>
</p>
<p class="MsoNormal"><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;">Want to learn more about what&rsquo;s happening underneath? Right-click the tray icon with the Azure logo, and select the two emulators to see what they are doing: </span></span></span></p>
<p class="MsoNormal">
<p><span style="color:#000000;font-size:small;"><a href="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/5873.azure4_5F00_2.png"><span style="font-family:Calibri;"><img height="163" width="244" src="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/3113.azure4_5F00_thumb.png" alt="azure4" border="0" title="azure4" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /></span></a><span style="font-family:Calibri;">&nbsp; </span><a href="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/6837.azure5_5F00_2.png"><span style="font-family:Calibri;"><img height="162" width="244" src="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/4300.azure5_5F00_thumb.png" alt="azure5" border="0" title="azure5" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /></span></a><span style="font-family:Calibri;">&nbsp;</span><a href="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/5367.azure6_5F00_2.png"><span style="font-family:Calibri;"><img height="162" width="244" src="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/7002.azure6_5F00_thumb.png" alt="azure6" border="0" title="azure6" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /></span></a><span style="font-family:Calibri;">&nbsp;</span><a href="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/0160.azure7_5F00_2.png"><span style="font-family:Calibri;"><img height="162" width="244" src="http://sqlblog.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-79-79-metablogapi/6428.azure7_5F00_thumb.png" alt="azure7" border="0" title="azure7" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /></span></a></span></p>
</p>
<p class="MsoNormal">
<p><span style="font-family:Calibri;color:#000000;font-size:small;">&nbsp;</span></p>
</p>
<p class="MsoNormal">
<p><span style="font-family:Calibri;color:#000000;font-size:small;">&nbsp;</span></p>
</p>
<p class="MsoNormal"><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;">In the configuration files, you&rsquo;ll see a &ldquo;Use Development Storage&rdquo; setting. You can call the BLOB, Table or Queue storage and it will all run on your desktop. When you&rsquo;re ready to deploy everything to Windows Azure, you simply change the configuration settings and add the storage keys and so on that you need. </span></span></span></p>
<p class="MsoNormal">
<p><span style="font-family:Calibri;color:#000000;font-size:small;">&nbsp;</span></p>
</p>
<p class="MsoNormal"><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;">Want to learn more about all this? </span></span></span></p>
<p class="MsoNormal"><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;"><span style="mso-spacerun:yes;">&nbsp;</span> </span></span></span></p>
<p class="MsoNormal"><span style="font-family:Calibri;color:#000000;font-size:small;">Overview of the Windows Azure Compute Emulator: </span><a href="http://msdn.microsoft.com/en-us/library/gg432968.aspx"><span style="text-decoration:underline;"><span style="font-family:Calibri;color:#0000ff;font-size:small;">http://msdn.microsoft.com/en-us/library/gg432968.aspx</span></span></a><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;"> </span></span></span></p>
<p class="MsoNormal"><span style="font-family:Calibri;color:#000000;font-size:small;">Overview of the Windows Azure Storage Emulator: </span><a href="http://msdn.microsoft.com/en-us/library/gg432983.aspx"><span style="text-decoration:underline;"><span style="font-family:Calibri;color:#0000ff;font-size:small;">http://msdn.microsoft.com/en-us/library/gg432983.aspx</span></span></a><span style="color:#000000;"><span style="font-size:small;"><span style="font-family:Calibri;"> </span></span></span></p>
<p class="MsoNormal"><span style="font-family:Calibri;color:#000000;font-size:small;">January 2011 Training Kit: </span><a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78&amp;displaylang=en"><span style="text-decoration:underline;"><span style="font-family:Calibri;color:#0000ff;font-size:small;">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78&amp;displaylang=en</span></span></a><span style="font-size:small;"><span style="color:#000000;"><span style="font-family:Calibri;"> </span></span></span></p>
<p class="MsoNormal">
<p><span style="font-family:Calibri;color:#000000;font-size:small;">&nbsp;</span></p>
</p>
<p class="MsoNormal">
<p><span style="font-family:Calibri;color:#000000;font-size:small;">&nbsp;</span></p>
</p>
<p><span style="font-family:Calibri;">&nbsp;</span></p>
<p><span style="font-family:Calibri;"></span></p>
<p><span style="font-family:Calibri;"></span></p>
<p><span style="font-family:Calibri;"></span></p>
<p><span style="font-family:Calibri;"></span></p>
<p><span style="font-family:Calibri;"></span></p>
<p><span style="font-family:Calibri;"></span></p>
<p><span style="font-family:Calibri;"></span></p>
<p><span style="font-family:Calibri;"></span></p>