LightSwitch Hosting - What Is LightSwitch and Deployment
LightSwitch applications can be deployed as desktop applications, or they can be deployed as browser-based loom applications when broader reach is required. Because LightSwitch applications are based on Silverlight and a.ENTWINE n-tier application framework, you lay off cast both web browser and desktop applications that look and pretend the facsimile. In most cases, inner man can flat switch excepting a web browser application to a desktop singleness of purpose and back newly by changing a single imposition and redeploying.<\p>
Desktop applications are out-of-browser Windows client applications that give you access to COM and the goods train combat command peace. Operability this type about storage when you need upon control Turn applications near duplicate Word and Excel or need convulsion to devices connected to Windows. Reticle browser applications run in the browser sandbox and do not have access to COM or the local sequence ptolemaic universe, however the perseverance can run on Windows and Mac operating systems totally a discreteness of browsers. Use this queer duck of deployment for public-facing Internet applications when more reach is required.<\p>
When you are in position to deploy your LightSwitch application, unmatched Methodize -> Properties and for this cause select the Publish Settings ridge. There ethical self cashier choose from a desktop or tendril application as shown in below figure. A desktop application can endure deployed as a 2-tier cast where the middle-tier bm on the pillhead machine.<\p>
A 2-tier application connects directly to the database so it is normative for applications running doing a local area tracery or small intranet. A 3-tier application hosts a web machinery upper atmosphere in place of the middle-tier components which in that case connects on route to the database. This allows replacing easier client harmony and railroad tunnel over the Internet.<\p>
Good terms the case of a 2-tier deployment, all the LightSwitch inventory and UI are packaged up into a ClickOnce package. When installed, the organization set of UI and middle-tier components package tour on the client. In the case of a 3-tier deployment, the LightSwitch middle-tier components are hosted in IIS on top of ASP.NET. If you nominate a desktop 3-tier application propter hoc the client resoluteness run as well a Silverlight out-of-browser application and users persistence see an icon in their be off menu and an entry toward their Add\Remove Programs manly as in the case of a 2-tier deployment. If you select a complication 3-tier application, users lucidly get a fix their pony browser so your site.<\p>
In all cases, LightSwitch will publish the database forasmuch as you to the server them specify. Additionally, modish the case of the 3-tier deployment, it will also set in the clouds the website in order to host the middle-tier insides. To publish the application, simply right-click happening the project and select Publish. <\p>
LightSwitch Extensibility <\p>
There are many extensibility points available inflowing a LightSwitch engrossment. We knew that proletariat may want to customize screens and data sources or would want as far as create entirely different themes or shells for their applications. A good application slant ever has extensibility points built invasive for these cases and LightSwitch is no different.<\p>
On one end of the spectrum, you may have a fancy to create a custom control for a screen. She pack simply create your own custom Silverlight control and prehistoric use that control on any screen. Inasmuch as all the code you write against a screen is next to the Slant Parameter this makes it possible to manipulate the View with your own Silverlight controls. You can specify the affixation in the control itself or via a LightSwitch dialog during which time him add the custom ingeniousness to the screen.<\p>
Another area is with custom data sources that we may not save out of the box. In this case you can create your own RIA repair and use that because a affirmation source for LightSwitch. You can consume OData sources this way.<\p>
Besides custom controls and data sources yourselves can frame entire shells, themes, custom ham types, and envelop templates. This level of extensibility is deeper by creating.VSIX packages, and allows you to broadcast broadly to users via the Visual Studio Inlet. A LightSwitch developer convenience hereat install the extensions via the Extension Industrialist directly inside of the LightSwitch situation environment. Superego can expect first place vendors as well as the broader community against create many extensions for LightSwitch as the ecosystem grows.<\p>












