Welcome to MSDN Blogs Sign in | Join | Help

Azure Services Training Toolkit – February 2009 Update is now available

February 2009 update to Azure Services Training toolkit is available. You can download it from:

http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78&displaylang=en

As pointed out by Jim and above link:

The Azure Services Training Kit includes a comprehensive set of technical content including hands-on labs, presentations, and demos that are designed to help you learn how to use the Azure Services Platform. The February release includes the following updates:

  • 19 demo scripts that walkthrough several of the services
  • 10 presentations covering the entire Azure Services Platform
  • 3 additional hands-on labs for Live Services

Specifically for Live Services/Live Framework, following is the content that you can make use of:

Hands On Lab Demos Presentations
Live Framework Hands On Lab Live Framework Demos Live Framework Presentations

Live Framework Hands-on Labs: 4 Hands On Lab included, these are:

  Hands On Lab Contents

Building Web Applications with the Live Framework
In this lab we'll focus on developing against the cloud APIs and all of the things which are required to access a person's data. Delegation, .NET wrappers and user-data will be covered

Building Web Applications with the Live Framework

Building Mesh-enabled Web Applications
Developing cross-platform, cross-device, multi-person, web or rich client applications which have synchronized data tiers used to be challenging. In this lab you learn how to meet all these requirements by creating mesh-enabled web applications with the Silverlight 2 technology. These applications, introduced by the Live Framework, provide the rich used experience of a desktop application, while retaining most of the advantages of a Web application (access anywhere, ease of deployment and update, etc.).

Building Mesh-enabled Web Applications
 

Working with Live Framework Resource Model and Feeds
In this lab you will learn about Live Framework Resource model, wire formats and interaction protocol. You will learn how to perform Create, Retrieve, Update and Delete operations using the Live Framework Resource Browser and also programatically, using C#, XML and HTTP Requests. The latter will demonstrates the open nature of Live Framework service endpoints.

Working with Live Framework Resource Model and Feeds
 

Building Online/Offline Distributed Applications
This lab will demonstrate how two different applications made with different technologies such as WPF and ASP.NET consume the Live Framework resource model as a centralized repository. Both applications, by using the Live Operating Environment synchronization, seamlessly share the same data to implement a simple project management scenario with different milestones for each project.

Building Online/Offline Distributed Applications

 

Live Framework Demos: Two demos included in this toolkit- each has step by step walkthrough. e.g. following image shows you a glimpse of step by step walkthrough for “creating and deploying Mesh-enabled Web Applications” demo

Creating and Deploying Mesh-enabled Web Application

Live Framework Presentations include one for Building Mesh-enabled Web Applications. This provides some information on architecture, application instances and sharing, flow for delegated authentication etc.  My favorite slides:

Mesh-enabled Web Application Architecture

Relation between Application Catalog, Installed Application, Application Instance

Delegated Authentication for Websitres

Download and check out – hope you would like it.

 

Technorati Tags: ,

Windows Live Tools – November 2008 CTP – enabled for Windows Azure

As you already noticed, Windows Live Tools – November 2008 CTP is available and introduces templates for Windows Azure. With this release, you can host web applications that utilize Windows Live Tools into Windows Azure. Windows Live Tools is compatible with trust policy of Windows Azure.
Lets take a quick lap on how to use Windows Live Tools into Windows Azure’s Cloud Project.

To start development with Windows Live Tools/Windows Azure, you would need to install Windows Azure SDK and Windows Azure Tools for Visual Studio. For quick start with Windows Azure, you can refer to following resources:

  1. Quick Lap around Windows Azure Tools for Microsoft Visual Studio
  2. Screen Cast for Windows Azure Tools for Microsoft Visual Studio
  3. Jim Nakashima’s Blog (Program Manger, Windows Azure Tools)
  4. Cloud Service Project Template Vs Role Project Template (blog post on Jim’s Blog describing difference in two, important in this context)
After you have installed Windows Azure SDK and Windows Azure Tools for Microsoft Visual Studio, download and install Windows Live Tools November 2008 CTP.
 
  1. Start with creating a Blank Cloud Service Project with your Visual Studio image
  2. As Cloud Service Project is created, Select Roles Node in the Solutions Explorerimage
  3. Right Click and Choose Add Role –>  New Web Role Project image
  4. This would popup Add New Dialog for Roles Template, Select Windows Live Web Role template from the installed template options  image
  5. This will add Windows Live Web Role Project to your Cloud Service Project image
  6. you can now start with Default.aspx web page, drag and drop Windows Live /Virtual Earth Controls available for you as you did previously

 

Windows Live Tools – Links [08/13/2008]

Here are links for Windows Live Tools over last 3 week. Excerpts from few blogs are noted below.

Andrej Tozon [August 4, 2008]:
”… Working with the control appears to be easy. It took me about 15 minutes [including Tools’ download+setup] to port the previous version to use this new control. No RTFM, just drag and drop, set properties and copy/modify some relevant code. …”

Ars Technica [July 28, 2008]:
”… Windows Live Tools is a set of control add-ins for Visual Studio 2008 and Visual Web Developer 2008 that make incorporating Windows Live services into websites much easier….”

LiveSide.Net [July 28, 2008]:
”..the main attraction is the Virtual Earth ASP.NET control. It is a .Net 3.5 control designed for Visual Studio 2008 and does require a script manager (ASP.NET AJAX) to be added to the page to begin.

The control is a complete drag and drop experience, drag the map from your toolbox onto your design surface and resize to suit. As you would expect all V6 properties can be set as properties of the control, there is a full set of client side events to map to any JavaScript you require and a set of server events for server suitable events, like mouse ‘onclick’ but not ‘onmouseover’. (the later would fire too many events to be handled server side)


The real power of the control is for server centric operations, getting data from your database and displaying on the map is now trivial, no GeoRSS, no AJAX web services, no JavaScript. The control itself using AJAX to communicate to the server and causes no full post backs itself. However because the control maintains full state even if your page posts back, the current map view and its data will survive. A complex feature to implement on your own Virtual Earth applications is now built in. …”

Latest Links:
http://delicious.com/vikasahuja/WindowsLiveTools 
Who do you know? [August 14, 2008, Contacts Control]
Andrej Tozon’s blog
            Europe Live Weather Map [August 11, 2008]
            Live Europe Weather Map in action [August 11, 2008] 
ASP.NET controls for Virtual Earth (CTP) [August 13, 2008]
Technorati Tags:

Server Side Clustering with the VE ASP.NET Map Control

John O’Brien blogs about Server Side Clustering of pushpins using VE ASP.NET Map Control. You can read details here: http://www.liveside.net/blogs/developer/archive/2008/08/10/server-side-clustering-with-the-ve-asp-net-control.aspx. John explains about server side clustering for performance and has posted videos and samples as well. Check it out.

Live Europe Weather Map with ASP.NET VE Map Control

Andrej Tozon blogs about ASP.NET Map Control which was released recently.

According to Andrej in his blog post, “Working with the control appears to be easy. It took me about 15 minutes [including Tools’ download+setup] to port the previous version to use this new control. No RTFM, just drag and drop, set properties and copy/modify some relevant code. And still, the current implementation consumes only small part of functionality this control offers, leaving a lot of space for additional enhancements.”

Andrej created an application where it captures weather data from National Environmental Agency and display them on map as custom push pins. Andrej is going to post live example after some time.

You can read about this post here: http://tozon.info/blogs/andrej/archive/2008/08/04/Live-Europe-Weather-Map-with-Windows-Live-Tools-Map-Control.aspx

Get Windows Live Tools

You can get Windows Live Tools from couple of places on Microsoft.com web site.
 
Microsoft.com’s Download Center
Windows Live Tools is available at link: http://www.microsoft.com/downloads/details.aspx?FamilyId=D7C6DF11-2283-4CAC-9723-172F5C33EFBB&displaylang=en 

You can also browse Download Center’s download directory by listing “product family: developer tools” and “product: Microsoft Visual Studio” as shown below.

Results for Microsoft Visual Studio sort order: Release Date
Search on Microsoft.com’s Download Center
You can search on Microsoft.com’s Download Center for phrase "windows live tools” as shown below:

Download Center Search box
Search will result in following results which can lead to Windows Live Tools.

Search Results showing Windows Live Tools 
Windows Live Tools is also available on Microsoft.com’s Connect Site. This is site where you can read Release Notes, download different releases and submit feedback. To submit feedback, you would need to login using your Windows Live ID.
You can also give feedback and ask questions on MSDN Forums at http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=534&SiteID=1
Update: Minor formatting changes
Posted by vikasahuja | 1 Comments

Live Platform @ PDC 2008

Session List for Live Platform at PDC 2008 is out. You can view it at http://microsoftpdc.com
The Sessions are listed below:

Live Platform Sessions @ PDC 2008
Some background videos that might be helpful before heading to PDC.
Programming the Mesh:



Live Mesh Architecture:


How Live Mesh P2P sync works:


PDC 2008 Session list is available here: http://sessions.microsoftpdc.com/public/sessions.aspx. You can subscribe to PDC blog RSS feed here: http://blogs.msdn.com/pdc/rss.xml 
Update: Minor formatting changes.

Virtual Earth Map Control – great introduction by John O'Brien

John O' Brien blogs about Virtual earth Map Control on LiveSide.net. John gives a deep dive introduction with series of videos and a sample project using Map Control.

To Quote John from his blog post,

"Through a series of videos we take you through the full experience of installing the control and coding with its basic features. Each video is fairly detailed and runs for about 5-7min. They are hosted by Silverlight Streaming so you will need to install the latest Beta2 Silverlight Client or download the wmv file directly."

 
Following Video describes how to set map properties on client side without any code written.
 
Other Videos and Samples are listed in John's blog post. You can download the sample code from here. The working online sample is posted here: http://veasp.soulsolutions.com.au/Introduction/01SettingMapProperties.aspx
 
Besides, John, other bloggers from Australia are also reaching out their audiences.
Dr. Neil's blog posts:
http://drneil.blogspot.com/2008/08/windows-live-tools-for-visual-studio.html
http://drneil.blogspot.com/2008/07/windows-live-tools-for-microsoft-visual.html 

James McCutcheon's blog post:
http://jamesmcc.wordpress.com/2008/07/29/want-some-windows-live-love-come-and-get-it/ 

Nick Randolph's blog post:
http://community.softteq.com/blogs/nick/archive/2008/08/01/asp-net-virtual-earth-control-windows-live-tools-for-vs2008-ctp3.aspx

Nick's blog post also has a video for VE Map Control.
 

SilverlightStreamingMediaPlayer – screencast available

Dr. Neil posted a screencast showing how to use SilverlightStreamingMediaPlayer. Dr. Neil explains how easy it is to embed Silverlight Streaming Videos into your web page using this control. This control is part of Windows Live Tools which you can download from here. I would discuss this control in one of my future posts.

SilverlightStreamingMediaPlayer is compatible with Silverlight 2 Beta 2 and is based on MediaPlayer control it offers. You can get the MediaPlayer as well as Silverlight 2 from Silverlight 2 Beta 2 Tools. SilverlightStreamingMediaPlayer extends MediaPlayer with Silverlight Streaming Service and allows you to embed videos uploaded into your Silverlight Streaming account.

You can get your own Silverlight Streaming Account by signing up at http://silverlight.live.com/. You would need Windows Live ID to sign up and create your account. Silverlight Streaming generously offers storage upto 10GB and 5TB of aggregated bandwidth. For more details, please visit: http://silverlight.live.com/ 

Silverlight Streaming offers a plug for Expression Encoder to help you encode your videos and upload directly to your Silverlight Streaming Account. You can download Silverlight Streaming Plug In for Expression Encoder from Microsoft.com’s download center.

Screencast by Dr. Neil is about 11 minutes or so.

Update: corrected links and minor formatting.
Posted by vikasahuja | 1 Comments

Windows Live Tools – July 2008 CTP – introduces ASP.NET Server Control for Virtual Earth Map

You already saw few blog posts and announcements regarding release of July 2008 CTP of Windows Live Tools. With this release, we have introduced ASP.NET Server Control for Virtual Earth (Map Control).

Developers have been using JavaScript Control for meeting their needs. Now, you have ASP.NET control available right from your Visual Studio toolbox which you can drag and drop on your web page, do server side web page programming (e.g. pull store locations or last location of the delivery vehicle etc.) and create push pins and show to the web site visitors.

In words of Marc Schweigert, Microsoft’s Developer Evangelist

”This is a sweet control that makes integrating Virtual Earth into your ASP.NET applications a easy as drag, drop, set some properties, and wire up some server side code.  The new control, which is built on top of ASP.NET AJAX, does all the heavy lifting you've come to expect from ASP.NET AJAX enabled controls.  ASP.NET AJAX also introduced the concept of control extenders.  Extenders allow you to add AJAX functionality to existing server controls.  The Virtual Earth ASP.NE T control ships with a ton of extenders that allow you to interact with the map without writing any code.  I had the luxury of getting early access to the bits.  I've taken the control for a thorough test drive.  I think ASP.NET developers are going to love this thing!”

In words of Mark Brown, Virtual Earth Evangelist

”Integrating interactive, immersive maps no longer requires JavaScript, it can be done by ASP.NET developers simply. For smooth interactions this control can be combined with ASP.NET AJAX capabilities to provide the power of ASP.NET Serverside processing without the development overhead of coding JavaScript.”

Mark and Angus have an introductory channel9 screencast for you.



With July 2008 CTP, we are releasing this control to Microsoft’s download center as well as Windows Live Dev Connect site. This CTP also fixes few other bugs which are noted in the release notes. In this post, I would only talk about Map Control.

Map control derives from ScriptControl Class and wraps JavaScript control with necessary ASP.NET interfaces that gives developers server side methods and events in addition to client side methods and events. Thus Map Control would require a ScriptManager control to be added to the web page.

Virtual Earth Toolbox Tab  After you installed this CTP, you would get two new toolbox tabs – Windows Live and Virtual Earth. Virtual Earth toolbox tab provides Map Control and Extenders. 

Extenders are way to add ASP.NET Ajax Client Behaviors to server controls. These extenders perform the operations on Map Control – client side only. You don’t have to write extra JavaScript for doing this – you get this functionality out of the box.

Map Control can be dragged and dropped on the web page you are working on. Here’s how control would look like when you drag and drop on the web page.
Map Control after drag and drop on web page

Before we hit F5 and see how this would look like, set the center for the map and zoom level. You could set it at design time as well as at run time.
   

HTML Markup for the Map Control.

clip_image002[16] 
   
You can use property grid to edit/set properties you need to get the control start as you want.

For example – Center, Mode (2D/3D), Style (Road, Shaded, Aerial etc.) Zoom Level etc.
Map Control Property Grid

You can set these properties programmatically say in Page_Load event. This is simple code similar to what you would do for any server control. For example, following code would set the center of the Map to Microsoft’s Main Campus in Redmond, Washington, USA.

Page_Load event and setting properties for the Map Control 
When you run the web page, following Map is rendered in the web page.
Map showing Microsoft's Main Campus in Redmond, Washington, USA

Besides this, Map Control provides functionality for finding businesses, getting directions,
importing KML or Virtual Earth Collections, Bird’s Eye and 3D imagery, Traffic information etc. I
would briefly talk about importing Virtual Earth Collections in this post and discuss other features in future posts.

Importing Virtual Earth Collections:
Not only KML or GeoRSS, Map Control allows you to import Virtual Earth Collections and
map them. For Example, following code would import a collection from
http://maps.live.com which defines a neighborhood called Education Hill in Redmond, Washington, USA.
image

When the above code is executed, Map control renders following:

image

We would love to hear your feedback. As you might have noticed that our developer community asked for
a) Transparent background for IDLoginStatus
b) Medium Trust deployment for these controls
c) Drag and Drop control for Virtual Earth Map

We have provided these features and would love to hear your scenarios. Please drop your suggestions/bugs at Windows Live Dev Connect Feedback site.

Update: corrected links and minor formatting

Posted by vikasahuja | 0 Comments

Windows Live Tools and ASP.NET Futures 1.3.61025

If you have downloaded ASP.NET Futures (July 2007) recently (I.e. version 1.3.61025), you might face following issue and this post described a workaround to mitigate the issue.
Issue:

When you use SilverlightStreamingMedia control, you might hit compilation error. For example, if you are defining chapters collection for your video content, you would hit compilation error.

Here's the declaration of SilverslightStreamingMedia control on default.aspx after drag and drop from toolbox and defining a chapter "Chapter1" for chapters collections in property grid.   

slsmedia declaration with chapter   

When you compile this, following error are reported.   

slsmedia version error list    
Workaround:
  • First, register Microsoft.Web.Preview assembly on the web page hosting SilverlightStreamingMedia control, by adding following line at the top of the web page:

sls media tagprefix

  • Remove the chapter definitions and re-add the chapter definitions. The above declaration would, now, look like following and would compile without errors in Visual Studio 2008 RTM release.

slsmedia declaration with chapter -correct

Note: This issue is found only if you have installed ASP.NET Futures (July 2007) version 1.3.61025 (or later) 

We are working on updating the Nov 2007 CTP release to fix this issue. If you have bugs or have feedback for the Windows Live Tools, you can provide your feedback at Windows Live Dev Connect Feedback site.

Windows Live Tools November 2007 CTP is available

Windows Live Tools Windows Live Developer Platform team has released its first CTP of Windows Live Tools. This release is available through connect download site Windows Live Dev Connect. Windows Live Tools provides four controls to help you build Web sites with windows live services.

This CTP provides ASP.NET server controls related to Windows Live Contacts, Windows Live ID authentication and Silverlight Streaming. This release brings developers closer to building Web sites using ASP.NET and  Visual Studio toolset.

Developers now can make use of these controls and integrate Windows Live services from Visual Studio IDE. This release currently works with Visual Studio 2008 and Visual Web Developer Express 2008 Beta 2 releases. Also, this release requires you to install Microsoft ASP.NET Futures (July 2007 CTP) and Microsoft ASP.NET Ajax 1.0 Extensions. More information on pre-requisites and installations are available here.

There are four controls introduced with this release. These are:

  • Contacts: Contacts control allows you to integrate Windows Live Contacts with your Web site. You can use contacts control to share your web site visitor's contacts, if they opt for, with your web site's functionality. For example, if your web site has service related to shipping products from your catalog, you can offer your web site users to sign-in into contacts control and choose the address of the contact from their list of contacts. This way your web site user does not need to type the address of their contact multiple times. Additionally, users can view presence information for their contacts, initiate a Windows Live Messenger conversation with their contact, Send predefined message from your web site to users' contacts.

As a developer it allows you to specify look-and-feel of the control to blend with your web page's visuals, specify which data you need to interact with, provide event handlers for sign-in/sign-out and data transfer operations.  More details on the contacts control are available here. JavaScript version of this control is already available, for details click here.

  • IDLogin: IDLogin control provides easy hookup into Windows Live ID authentication mechanism. After you register your application with Windows Live ID, you can use your Application ID and Secret with this control to include Windows Live ID authentication. This control provides ApplicationUserID which is a unique, site specific identifier for each Windows Live ID user that signs into your web site. You can use this identifier for personalization of your web sites, provide access to certain web resources etc.  IDLogin control performs sign-in/sign-out actions and provides you event handlers for sign-in/sign-out actions. More information for this control is available here.

  • IDLoginView: IDLoginView control adds new templates and Windows Live ID authentication to ASP.NET LoginView Control. This control allows you to associate users' Windows Live ID and their ASP.NET membership profile to enable single-sign-in experience. After this association has been made and saved, your web site users can simply sign-in to Windows Live ID and get authenticated in other Windows Live services integrated on your site as well as ASP.NET membership authentication of your Web site. This your Web site users have single sign-in experience and get benefits of both Windows Live services and your web site. You can read more specifics about this control by clicking here.

  • SilverlightStreamingMedia: This control helps you embed your videos from your Silverlight Streaming account into your web pages. After you create an account with Silverlight Streaming services and upload the videos, you can drag and drop this control on your web page, specify your account id and key, choose the video to be embedded into the web page. With these steps, you are ready to play your videos from Silverlight Streaming services. This control extends Media Control (ASP.NET Futures).
Try these controls and give us feedback. You can report bugs, make suggestions or feature requests, vote on a feature for Windows Live Tools by navigating to Windows Live Dev Connect Feedback site. Stay tuned for more information.
 
-- Vikas Ahuja
 

PS: If you were wondering, I transitioned into Program Manager role with Windows Live Developer Platform. Earlier, I was test lead with one of the teams with Microsoft.com group. BTW, we are hiring, check out at Microsoft Career site.

Update: Updated Link for Windows live tools image.

Update: Fixed CSS Style issues for width of post, thanks for feedback.

Preview of Forums

Here's the community technology preview (CTP) of work in progress forums offering. You might have already seen two flavors of forums - flavor 1 and flavor 2. The current deployment is bit different approach in UI, so would like to hear your feedback.

Functionality that is offered in the 1st CTP is limited for the moment, however, we are planning to update this frequenctly. You can give feedback on general UI approach and the direction we are taking with the placeholder images.

You can provide your feedback at Forums Feedback

 

Posted by vikasahuja | 0 Comments
More Posts Next page »
 
Page view tracker