Ripteq | Bespoke Enterprise Software Development
  • Home
  • Who We Are
    • Key People
    • Contact
    • Careers
  • What We Do
  • Blog
  • Client Area
    • GSI

Blog

LightSwitch Beta Deployment

Jun 13

Written by:
Monday, June 13, 2011  RssIcon

Recently, I had to develop an admin interface to a web application.  I thought I would use Microsoft Visual Studio LightSwitch, as this seems to be the compelling use case.

The experience building the application was very pleasant, and the resulting application was streets better than what I expected.  The early user experience was (and I quote), “WOOT WOOT”.

However the deployment experience I had was not so good, and I banged my head against the door for a number of days trying to get the application hosted on a virtual server.

Publish Options

You have 2 supported publish options – direct publish from Visual Studio, or develop a ‘Web Deploy Package’.

I think most developers will end up using the package, however I tinkered with the direct publish initially and found no joy.  I think Enterprise Developers may end up using this option, however I struggled to get this too work (you might have another experience).

Generating a package is pretty straight forward.

 

Troubleshooting

  • Check the web.config on the production server
  • Check the connection strings and sql permissions
  • Web Deploy.  LightSwitch Beta 2 uses the Web Deploy 1.1 library.  Currently shipping is Web Deploy 2.0.  I found I had to completely remove Web Deploy 2.0 (through Remove Programmes, AND the Server ‘Features’ setting), before installing Web Deploy 1.1 through the Web Platform Installer.  Apparently the install order is important (Note: I haven’t gone back and re-installed Web Deploy 2.0 to see if this breaks the install process).

 

 

Resources

  • MSDN Developer Centre
  • LightSwitch Forums
  • Beth Massi - LightSwitch Deployment Guide

Trackback Print
Tags: LightSwitch , Deployment
Categories:
Location: Blogs Parent Separator David Archer

0 comment(s) so far...



Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 

Search

Tags

Axosoft Backup Batch Files C# Code Generation Crashplan Data Template Database Databinding Deployment DropBox EntitySpaces Enum Reverse Parse Evernote Freshbooks Functions Google Apps Google Sync infographics LightSwitch Metadata nullable Queries saving null SecondCopy Source Control SQL SQL Express SQL Server SQL tables Subversion TFS Timespan Tools TSQL T-SQL types Upgrade VB.Net WCF Word WPF Xero XML

Categories

Skip Navigation Links.
Code (7)
Experience (2)

Recent Entries

Enum Reverse Parse
Thursday, April 26, 2012
Saving a NULL value
Tuesday, November 22, 2011
Dropping multiple tables and stored procedures in T-SQL
Tuesday, November 01, 2011
Infographics Love
Saturday, October 08, 2011
EntitySpaces Query Object
Wednesday, August 31, 2011
Infographics Love
Wednesday, July 13, 2011
Backing up SQL Express
Monday, July 04, 2011
Essential tools for modern information workers
Friday, June 17, 2011
Sample Portfolio
Monday, June 13, 2011
EntitySpaces Multiple Database Connections
Monday, June 13, 2011

Archive

Archive
<May 2012>
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
Monthly
April, 2012 (1)
November, 2011 (2)
October, 2011 (1)
August, 2011 (1)
July, 2011 (2)
June, 2011 (16)

Go
Copyright 2011 by Ripteq
Register Login