{"id":124,"date":"2008-12-13T21:02:02","date_gmt":"2008-12-13T20:02:02","guid":{"rendered":"http:\/\/www.leading-edge-dev.de\/?p=124"},"modified":"2009-03-16T08:02:08","modified_gmt":"2009-03-16T07:02:08","slug":"live-framework-ctp-2-silverlight-hello-mesh","status":"publish","type":"post","link":"https:\/\/www.minddriven.de\/index.php\/technology\/microsoft\/cloud-computing\/live-services\/live-framework-ctp-2-silverlight-hello-mesh","title":{"rendered":"Live Framework CTP #2 &#8211; Silverlight: Hello Mesh"},"content":{"rendered":"<p>I recently created my first little mesh applications. And yeah, I like it! One of those was a simple &#8222;Hello Mesh&#8220; Silverlight application, only to get familiar with the mesh application creation and deployment process.<\/p>\n<p>Fist I created a new &#8222;Silverlight Mesh-enabled Web Application&#8220;, which can be chosen through the new &#8222;Live Framework&#8220; project type, (comes with the Live Framework Tools for Visual Studio).<\/p>\n<div class=\"mceTemp\">\n<figure id=\"attachment_130\" aria-describedby=\"caption-attachment-130\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.leading-edge-dev.de\/wp-content\/uploads\/2008\/12\/live_framework_projects3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-130 \" title=\"New Live Framework Project Type\" src=\"http:\/\/www.leading-edge-dev.de\/wp-content\/uploads\/2008\/12\/live_framework_projects3-300x190.png\" alt=\"New Live Framework Project Type\" width=\"300\" height=\"190\" srcset=\"https:\/\/www.minddriven.de\/wp-content\/uploads\/2008\/12\/live_framework_projects3-300x190.png 300w, https:\/\/www.minddriven.de\/wp-content\/uploads\/2008\/12\/live_framework_projects3.png 707w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-130\" class=\"wp-caption-text\">New Live Framework Project Type<\/figcaption><\/figure>\n<\/div>\n<div class=\"mceTemp\">This results in the following project structure:<\/div>\n<div class=\"mceTemp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-131\" style=\"margin: 5px; border: black 1px solid;\" title=\"Silverlight Mesh-enabled Web Application project structure\" src=\"http:\/\/www.leading-edge-dev.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_prject_structure.png\" alt=\"Silverlight Mesh-enabled Web Application project structure\" width=\"214\" height=\"241\" \/><\/div>\n<p class=\"mceTemp\">There is a main application project &#8222;MeshApp1&#8220;, whose icon indicates that it&#8217;s mesh-enabled.\u00a0Furthermore it\u00a0contains a page that is hosting the Silverlight\u00a0application &#8222;MeshApp1Silverlight&#8220;. I&#8217;ve heard that there are some problems, if you want to adopt this project structure to your custom needs. Some people seem to have problems when adding new references and projects, making the Silverlight application not work on a machine&#8217;s desktop. I&#8217;m sure that Microsoft is working on that, don&#8217;t forget we just have a CTP at the moment \ud83d\ude09<\/p>\n<p class=\"mceTemp\">In Blend I&#8217;m layouting &#8222;Hello Mesh&#8220; a little bit, so that my Mesh in the cloud is getting happy when it sees my application. Back in Visual Studio and ready to run, I make a thing which I call <strong>F5 deployment<\/strong>, regarding the effect of pressing the F5 key in my solution. So what&#8217;s going on? When you press F5 the first time, a dialog is popping up that is showing you some information about deploying your app:<\/p>\n<p class=\"mceTemp\"><a href=\"http:\/\/www.leading-edge-dev.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_deploy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-132\" title=\"Deployment dialog for a mesh-enabled web application\" src=\"http:\/\/www.leading-edge-dev.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_deploy-300x130.png\" alt=\"Deployment dialog for a mesh-enabled web application\" width=\"300\" height=\"130\" srcset=\"https:\/\/www.minddriven.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_deploy-300x130.png 300w, https:\/\/www.minddriven.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_deploy.png 644w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p class=\"mceTemp\">At present you have to make some handwork on this. With the Live Framework you can create up to 25 projects at the moment, this should be enough for some playground experiences. The dialog is showing you the way: you have to go to your Azure developer center and create a new project. In return you get an application self-link (the URI for the application), which the dialog wants from you. With this, Visual Studio knows where to deploy the application automatically, when you press F5 the next time. My opinion on this is that this kind of handwork could\u00a0be made a little smarter or more automatic, but remember: you have to make it only once, so it is quite ok for me.\u00a0<\/p>\n<p class=\"mceTemp\">What I think about this: <strong>that is how cloud application development and deployment should look like!<\/strong> Easy development with respect to your existing skills and easy deployment of your applications. Furthermore, with the application&#8217;s self-link, Visual Studio is able to debug your applications in the cloud. That&#8217;s great! No competitor of Microsoft gives you these possibilities and in my opinion it&#8217;s making a big difference and will contribute much to the success of Microsoft&#8217;s cloud strategy. Attracting developers is the core of all.<\/p>\n<p class=\"mceTemp\">Aehrm, where have I been? Oh yeah&#8230; well&#8230; when you press F5, your Silverlight application will start in the cloud. The Live Desktop will open up\u00a0and your Silverlight application will get a shortcut on it. It starts on your Live desktop, showing the overwhelming &#8222;Hello Mesh&#8220; result:<\/p>\n<p class=\"mceTemp\"><a href=\"http:\/\/www.leading-edge-dev.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_livedesktop.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-133\" title=\"Silverlight Mesh Application on the Live Desktop\" src=\"http:\/\/www.leading-edge-dev.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_livedesktop-300x136.png\" alt=\"Silverlight Mesh Application on the Live Desktop\" width=\"300\" height=\"136\" srcset=\"https:\/\/www.minddriven.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_livedesktop-300x136.png 300w, https:\/\/www.minddriven.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_livedesktop.png 789w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p class=\"mceTemp\">If you run the &#8222;Live Framework Client&#8220;, this app automatically creates a shortcut on your machine&#8217;s desktop to the MeshApp1 Silverlight application. And in the background, it automatically synchronizes the application to your machine. Now try the following (it works!): disconnect from the Internet, click on the shortcut at your desktop and the application runs! Without connection, on your desktop. This <em>really<\/em> impresses me and I will try some more complex scenarios later on&#8230;\u00a0 Here&#8217;s the local desktop result:<\/p>\n<p class=\"mceTemp\"><a href=\"http:\/\/www.leading-edge-dev.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_desktop.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-134\" title=\"Silverlight Mesh-enabled Web Application on the local desktop\" src=\"http:\/\/www.leading-edge-dev.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_desktop-300x136.png\" alt=\"Silverlight Mesh-enabled Web Application on the local desktop\" width=\"300\" height=\"136\" srcset=\"https:\/\/www.minddriven.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_desktop-300x136.png 300w, https:\/\/www.minddriven.de\/wp-content\/uploads\/2008\/12\/sl_meshapp_desktop.png 771w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p class=\"mceTemp\">First conclusion: I like\/love my first experiences with the Live Framework and that I can use my existing development skills. The deployment process is intuitive and easy and brings my expectations to life. I will go on with some more topics during the next days and weeks.<\/p>\n<p class=\"mceTemp\"><a href=\"http:\/\/www.dotnetkicks.com\/kick\/?url=http%3a%2f%2fwww.leading-edge-dev.de%2f%3fp%3d124\"><img decoding=\"async\" src=\"http:\/\/www.dotnetkicks.com\/Services\/Images\/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.leading-edge-dev.de%2f%3fp%3d124\" border=\"0\" alt=\"kick it on DotNetKicks.com\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently created my first little mesh applications. And yeah, I like it! One of those was a simple &#8222;Hello Mesh&#8220; Silverlight application, only to get familiar with the mesh application creation and deployment process. Fist I created a new &#8222;Silverlight Mesh-enabled Web Application&#8220;, which can be chosen through the new &#8222;Live Framework&#8220; project type, &hellip; <a href=\"https:\/\/www.minddriven.de\/index.php\/technology\/microsoft\/cloud-computing\/live-services\/live-framework-ctp-2-silverlight-hello-mesh\" class=\"more-link\"><span class=\"screen-reader-text\">Live Framework CTP #2 &#8211; Silverlight: Hello Mesh<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[87,71],"tags":[93,55,90,54,94,52],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-live-framework","category-live-services","tag-deployment","tag-live--framework","tag-live-framework-ctp","tag-live--services","tag-mesh-enabled-web-application","tag-silverlight-"],"_links":{"self":[{"href":"https:\/\/www.minddriven.de\/index.php\/wp-json\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.minddriven.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.minddriven.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.minddriven.de\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.minddriven.de\/index.php\/wp-json\/wp\/v2\/comments?post=124"}],"version-history":[{"count":7,"href":"https:\/\/www.minddriven.de\/index.php\/wp-json\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":336,"href":"https:\/\/www.minddriven.de\/index.php\/wp-json\/wp\/v2\/posts\/124\/revisions\/336"}],"wp:attachment":[{"href":"https:\/\/www.minddriven.de\/index.php\/wp-json\/wp\/v2\/media?parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minddriven.de\/index.php\/wp-json\/wp\/v2\/categories?post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minddriven.de\/index.php\/wp-json\/wp\/v2\/tags?post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}