VE Team
12-13-2007, 05:51 PM
<p>The promise of Live Labs <a href="http://labs.live.com/volta/faq/" target="_blank">Volta</a> to allow you to build your web apps end-to-end in managed code is easy on the ears for developers. If you've spent any significant time building web apps you've probably developed a deep love-hate relationship with Javascipt. Volta: <blockquote> <p>The Volta technology preview is a developer toolset that enables you to build multi-tier web applications by applying familiar techniques and patterns. First, design and build your application as a .NET client application, then assign the portions of the application to run on the server and the client tiers late in the development process. The compiler creates cross-browser JavaScript for the client tier, web services for the server tier, and communication, serialization, synchronization, security, and other boilerplate code to tie the tiers together.</blockquote> <p>The technology preview of Volta is available right now [<a href="http://labs.live.com/volta/download/" target="_blank">download</a> then <a href="http://labs.live.com/volta/docs/quickstart.aspx" target="_blank">get started</a>] and includes support for building Virtual Earth based applications in 2D and 3D. Read about the <a href="http://labs.live.com/volta/docs/libraries.aspx" target="_blank">Virtual Earth Volta library here</a> at the end of the page. They have even re-written a portion of the interactive SDK in C# which you can <a href="http://labs.live.com/volta/samples/VE_Samples.html" target="_blank">try out here</a>. <p>Here is a snippet of code from Dragos Manolescu of Live Labs showing how to show/hide a shape with Volta using the VE library: <p><font face="Courier New" size=2>private void ShowHideShape()<br>{<br>*** var map = new Microsoft.LiveLabs.Volta.VirtualEarth.Map(mapDiv);<br>*** map.LoadMap();<br>*** Shape shape = new Shape(ShapeType.Pushpin, map.GetCenter());<br>*** shape.SetTitle("My pushpin");<br>*** shape.SetDescription("This is a pushpin.");<br>*** map.AddShape(shape);<br>*** doShowShape.Click += delegate { shape.Show(); };<br>*** doHideShape.Click += delegate { shape.Hide(); };<br>}</font><img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=3151506992847969176&page=RSS%3a+C%23+Virtual+Earth+Coding+For+the+web+ Via+Volta&referrer=" width="1px" height="1px" border="0" alt=""><img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&NA=1149&PI=73329&RF=&DI=3919&PS=85545&TP=virtualearth.spaces.live.com>1=virtualearth">
Click here to view the full post. (http://virtualearth.spaces.live.com/Blog/cns!2BBC66E99FDCDB98!10113.entry)
Click here to view the full post. (http://virtualearth.spaces.live.com/Blog/cns!2BBC66E99FDCDB98!10113.entry)