locked
Where's the WinForm support ? RRS feed

  • Question

  • Maybe posting this within another thread wasn't the right way to get a response...so here goes again.

     

    Where is an example of how to wire up Volta the same was as was done for the QuickStart ( and other ) web apps, for a WinForms application. At least pouring over some of the write up, it seems to imply that such is the case. Is it that this CTP doesn't include it ? Is it a mislabeling or misphrasing ?

     

    Someone please clarify. Thank you.

     

     

    Wednesday, December 19, 2007 2:09 PM

Answers

  •  

    Hi mlopeMed,

     

    winforms support is included in the current tech preview, we however don't have a web sample for it.

    Here are steps to use it:

     

    -create a new project in Visual Studio

    -as the template select CSharp/VB Volta -> Volta Winforms Application

    -in the winforms application code your UI as normal

    -create a class you want to run at the server as if you writing a normal class

    -right click on the class, select "Refactor", "Tiersplit to run at server"

     

    now a RunAt("Server") attribute is added, as well as a app.config file

     

    Hit F5 and both the winforms application and the volta webserver should be launched.

     

    Let me know if you have any issues in running these steps.

     

    Regards,

     

    Jeffrey van Gogh

    Volta Developer

    Wednesday, December 19, 2007 11:40 PM

All replies

  •  

    Hi mlopeMed,

     

    winforms support is included in the current tech preview, we however don't have a web sample for it.

    Here are steps to use it:

     

    -create a new project in Visual Studio

    -as the template select CSharp/VB Volta -> Volta Winforms Application

    -in the winforms application code your UI as normal

    -create a class you want to run at the server as if you writing a normal class

    -right click on the class, select "Refactor", "Tiersplit to run at server"

     

    now a RunAt("Server") attribute is added, as well as a app.config file

     

    Hit F5 and both the winforms application and the volta webserver should be launched.

     

    Let me know if you have any issues in running these steps.

     

    Regards,

     

    Jeffrey van Gogh

    Volta Developer

    Wednesday, December 19, 2007 11:40 PM
  • Hi --

     

    I covered WinForms Volta applications in a blog post: http://blogs.msdn.com/dragoman/archive/2007/12/07/tier-split-refactoring-winforms-applications-with-volta.aspx  Please let us know if you have other questions about using Volta in WinForms applications.

     

    Thanks for your interest in Volta.

     

    -dm

     

     

    Friday, December 21, 2007 12:12 PM
  • I did my first screen cast here on this topic:

    http://staceyw.spaces.live.com/blog/cns!F4A38E96E598161E!1043.entry

     

    Published using Encoder and Silverlight services (pretty slick stuff).

     

    Sunday, December 23, 2007 10:28 AM
  • What about for a WPF/XAML application. Can someone provide some steps on being able to do this? I realize that WinForms is a great technology and all that, but I've been writing WPF apps for a very long time now and I'd rather not go "back" to WinForms just to experiment with Volta.

    Monday, January 7, 2008 2:17 PM