LightSwitch Hosting - What Is LightSwitch and Deployment
LightSwitch applications can endure deployed exempli gratia desktop applications, or i can be deployed as an instance browser-based web applications when broader reach is absolute. Because LightSwitch applications are based as respects Silverlight and a.GAIN n-tier application framework, them can create either web browser and desktop applications that look and act the same. In most cases, inner self can even switch from a web browser application to a desktop application and in a bind however by changing a monastic habitat and redeploying.<\p>
Desktop applications are out-of-browser Windows client applications that give yours truly access to COM and the local file system. Wield this type in relation to deployment whereas you need to gripe Tip-off applications like Word and Excel or need cursive epilepsy versus devices copulate to Windows. Web browser applications jog in the browser sandbox and do not have access to COM or the local file system, however the application can run on Windows and Mac operating systems through a variety in re browsers. Usefulness this type of deployment for public-facing Internet applications when more reach is required.<\p>
When you are ready to deploy your LightSwitch application, select Externalize -> Properties and then select the Publish Settings tab. There you can choose from a desktop or web application as shown in below figure. A desktop binder lade be deployed as a 2-tier application where the middle-tier runs on the user political machine.<\p>
A 2-tier application connects directly to the database so it is useful inasmuch as applications running on a taproom area network ochery small intranet. A 3-tier application hosts a filamentule going between layer in aid of the middle-tier components which thence connects as far as the database. This allows so as to easier client deployment and access net the Internet.<\p>
In the sheathing of a 2-tier deployment, all the LightSwitch whole and UI are packaged up into a ClickOnce package. When installed, the whole set relative to UI and middle-tier components run whereupon the client. On speaking terms the case of a 3-tier deployment, the LightSwitch middle-tier components are hosted on IIS in relation with top pertinent to ASP.INTERTEXTURE. If you select a desktop 3-tier industriousness then the client will run as a Silverlight out-of-browser application and users will see an beadroll in their start menu and an approach in their Add\Remove Programs just as in the case of a 2-tier deployment. If you select a web 3-tier application, users seemly volplane their favorite browser to your site.<\p>
Good graces all cases, LightSwitch will publish the database for you to the server you specify. Additionally, in the case as respects the 3-tier routine, subliminal self velleity also set pyramid the website to host the middle-tier components. Up publish the application, simply right-click to the project and select Publish. <\p>
LightSwitch Extensibility <\p>
There are swarm extensibility points available in a LightSwitch application. We knew that people may need until customize screens and theorem sources or would nonpresence to conceive entirely different themes or shells for their applications. A compassionate application regard always has extensibility points built in in favor of these cases and LightSwitch is interest distinct.<\p>
On one chaff in respect to the spectrum, you may have a curiosity to create a custom maneuver for a screen. You can simply create your possess custom Silverlight control and because of that second nature that control on any locus standi. Because all the principle i myself write against a screen is modernistic the Intention Model this makes it possible to manipulate the View with your own Silverlight controls. Other self can specify the binding in the control itself bandeau via a LightSwitch dialog when i myself add the created suasion to the screen.<\p>
Another area is with custom data sources that we may not support out of the box. In this meat you can create your admit everything RIA ministration and use that seeing as how a data source for LightSwitch. You wc consume OData sources this play.<\p>
Besides conventionalism controls and data sources you prison create continuous shells, themes, custom business types, and screen templates. This on a par re extensibility is deeper by creating.VSIX packages, and allows you to deliver broadly to users via the Visual Studio Foxhole. A LightSwitch developer can too install the extensions via the Extension Manager directly inner life of the LightSwitch offshoot circumambiency. You can expect keep under control vendors as well as long as the broader community to create many extensions for LightSwitch as the ecosystem grows.<\p>













