Micro-blog: How to get LightSwitch to Honor the Default Client Property

So you probably know that if you have a multi-client LightSwitch project that you can set the default client that gets launched when you F5 by right-clicking on the desired client project and selecting “Set as StartUp Client”   And, you probably also know, that this setting does nothing in the deployed app…   Well,…

0

How to Host Multiple Cloud Business Apps on the Same Azure Web Site

This post is in response to a recent forum post titled “How to Publish Multiple SharePoint-enabled LightSwitch apps to a single Azure Website or Cloud Service?”  The title of this is pretty post pretty much says it all.  Publishing multiple CBA’s to the same Azure Web Site can be achieved with minor configuration changes to…

25

Declaring LightSwitch Azure Tools Certificate Bankruptcy

We have seen some forum posts very recently where folks aren’t able to publish to Azure because of an error like this: In response to this I have been messing around with things this afternoon and I think I have come up with a set of steps to get users out of this mess.  The…

2

Micro-blog: How to get back to the “Start with data” page of a LightSwitch Project

When you first create a LightSwitch project, you are greeted with a screen that looks like this:   If you are like me, you will end up having a lot of windows open at a certain point of your project development and end up “declaring window bankruptcy” and doing something like right-clicking on a document…

0

Publish LightSwitch 2013 Preview Applications to Windows Azure Web Sites (without the Azure SDK)

We recently announced the preview release of Visual Studio 2013 and as we noted in the LightSwitch release notes, “Publishing to Azure requires a newer version of Azure SDK, which is not yet released to the public. You can’t reliably publish to Azure until the SDK is available. We will announce the availability on the…

0

How to Run a LightSwitch App in Azure without HTTPS (V3 Apps Only)

  IMPORTANT:  We recommend that you use HTTPS for applications deployed in production and that the approach outlined below only be used for testing purposes.  I will work on getting something posted about SSL Certificates and LightSwitch apps, as I am not finding anything straight-forward with a quick search.   Currently when you go down…

2

Avoid LightSwitch URI Casing Issue Using the URL Rewrite Module

Late last year, some customers on the LightSwitch forums started reporting an issue that certain situations would cause an error with the message: “The context is already tracking a different entity with the same resource Uri.” or “An error occurred while processing this request.”  One of the ways that this could repro was if the…

5

Declaring LightSwitch Publish Wizard Bankruptcy

Sometimes if you attempt to publish the same LightSwitch project to different targets (e.g. first publishing to IIS then publishing to Azure) you can get some weird errors in the publish wizard.  If you have switched your publish targets or if you have manually updated/removed settings from your .lsproj or .lsproj.user file, you can do…

9