After struggling a little bit with Lightswitch deployment, I would like to share straight steps that I noted down during the process in the past days trying to get it done.
Visual Studio 2012
Ligthswitch C# app
Deployment mode: Desktop
We will have a server (for testing purposes I created a Windows 7 VM) where the Database is going to be hosted in a SQL Server Express instance. The app will be installed in this server that will act as a client also, and in other network computers (clients).
Creating the deployment package
Server=localhost\SQLEXPRESS; Database=ChosenDatabaseName; Integrated Security=true;
sqlcmd -S ServerName\SQLEXPRESS -i C:\MyApp.sql
Wait until the process finishes.
<add name="_IntrinsicData" connectionString="Server=ServerName\SQLEXPRESS;Database=DatabaseName;Integrated Security=true;" />
Visual Studio Lightswitch is a great tool that saves you a lot of time and makes it easier to write business applications, but deploying your app can be a little bit tricky, especially the first time. As always, please feel free to write your comments, doubts, suggestions, concerns, whatever you want =D (if it is related of course). Hope it helps.
Thanks for reading :)
About Nereo Lopez
Hi, this is Nereo. I've spent my first professional years as .Net Software Engineer, and then moved more into Agile Methodologies. Anyway, I keep playing with all the new technologies that appear, and specially love Hybrid Apps!