Microsoft Developer Network > 포럼 홈 > Live Framework > Using Mesh from Silverlight 3
질문하기질문하기
 

답변됨Using Mesh from Silverlight 3

  • 2009년 6월 30일 화요일 오후 7:13NoSuch 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    I'd like to get started working with the Mesh framework.  I have an existing Silverlight 3 application and I'd like to add some functionality to let a user login to a Mesh account and view their files from my app.  How can I get started?  I've heard of the project type "Silverlight Mesh Enabled Application" - would that acheive what I'm looking for?  I have the impression that project type will create a Silverlight app that runs inside the Live Mesh Desktop and this isn't what I'm looking for.  TIA!

답변

  • 2009년 7월 1일 수요일 오전 3:09Yi-Lun LuoMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Hello, currently you cannot use mesh in a normal Silverlight application. You'll have to create a Silverlight Mesh Enabled Application, and deploy it to the mesh. That is, the Silverlight application can only be deployed in your mesh (either on Live Desktop or synched to your PC). You can't host it in your own web page which is deployed on your own server.

    To migrate existing Silverlight applications to Live Mesh, you must make sure there's no ASP.NET and server side dependency in your Silverlight applications. ASP.NET is not supported in Silverlight MEWA (while you can create a Live Mesh enabled ASP.NET web site using delegated authentication, that is another story). You can only host the Silverlight application in an html page. If you need to call web services, you'll have to host the services on a server that is visible to the internet, such as Windows Azure. Or you can expose your services hosted in your intranet to the internet using .NET Service Bus. And of course, a cross domain policy file must be ready.

    To learn how to work with mesh, I suggest you to download the walkthroughs from http://dev.live.com/liveframework/liveframeworksdkwalkthroughs.zip.

    Finally, I would suggest you to wait for Silverlight 3 RTW, which will be released in the near future. If you're using SL 3 new features, you're likely to encounter a few break changes when RTW is released.
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    • 답변으로 표시됨NoSuch 2009년 7월 1일 수요일 오전 10:55
    •  

모든 응답

  • 2009년 7월 1일 수요일 오전 3:09Yi-Lun LuoMSFT, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Hello, currently you cannot use mesh in a normal Silverlight application. You'll have to create a Silverlight Mesh Enabled Application, and deploy it to the mesh. That is, the Silverlight application can only be deployed in your mesh (either on Live Desktop or synched to your PC). You can't host it in your own web page which is deployed on your own server.

    To migrate existing Silverlight applications to Live Mesh, you must make sure there's no ASP.NET and server side dependency in your Silverlight applications. ASP.NET is not supported in Silverlight MEWA (while you can create a Live Mesh enabled ASP.NET web site using delegated authentication, that is another story). You can only host the Silverlight application in an html page. If you need to call web services, you'll have to host the services on a server that is visible to the internet, such as Windows Azure. Or you can expose your services hosted in your intranet to the internet using .NET Service Bus. And of course, a cross domain policy file must be ready.

    To learn how to work with mesh, I suggest you to download the walkthroughs from http://dev.live.com/liveframework/liveframeworksdkwalkthroughs.zip.

    Finally, I would suggest you to wait for Silverlight 3 RTW, which will be released in the near future. If you're using SL 3 new features, you're likely to encounter a few break changes when RTW is released.
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    • 답변으로 표시됨NoSuch 2009년 7월 1일 수요일 오전 10:55
    •