Windows forms application migrate to Azure

Windows forms application migrate to Azure

Old forum URL: forums.lhotka.net/forums/t/11480.aspx


katalun4o posted on Tuesday, July 17, 2012

Hello,

I have a windows forms app that is working with MSSQL Server 2008 and CSLA 3.5.  Can you tell me what is the best  way to migrate my application to work on Windows Azure? Is there a way to host the database, dataportal and bussines layer on the cloud and work with proxy classes on the client side so the client has only the UI installed on the machine?

RockfordLhotka replied on Thursday, July 19, 2012

You can use SQL Azure to put the database in Azure. And you can use a web role to host the data portal in Azure.

The client part of the application should be unaffected. It obviously still runs on the client workstation, and the data portal works the same - at least if you are using WCF as the communication channel for the data portal.

I say all that - but to be honest, I've only _tested_ using CSLA 3.8 with Azure. I see no reason 3.5 wouldn't work as well, assuming you are using WCF for network communication.

RockfordLhotka replied on Thursday, July 19, 2012

Although it focuses on CSLA 4, not 3.5, the Using CSLA 4: Data Portal Configuration book covers the use of Azure to host the data portal.

Brad Rem replied on Friday, August 09, 2013

@Radoslav, did you ever migrate your WinForms app to Azure?  I have a WinForm project where I was uanble to get the local WinForm app to correctly communicate with the Azure-based data portal.  I'm hoping you were able to get it to work and provide some pointers.

Copyright (c) Marimer LLC