LightSwitch Hosting - What Is LightSwitch and Ordering
LightSwitch applications can remain deployed insomuch as desktop applications, or they can be deployed seeing that browser-based web applications when broader nuance is required. Now LightSwitch applications are based on Silverlight and a.NET n-tier application framework, you tin create both web browser and desktop applications that gloat and act the same. In most cases, myself can particularly switch from a entrapment browser brainwork to a desktop application and trail behind again via changing a single setting and redeploying.<\p>
Desktop applications are out-of-browser Windows client applications that act you access to COM and the local file system. Object this type in regard to deployment when yourself need to control Office applications like Word and Tower above or need coming near in devices connected in passage to Windows. Web browser applications run in the browser sandbox and do not gain blowup to COM or the particular register office system, however the application make the grade run on Windows and Mac operating systems during a variety of browsers. Use this fount respecting deployment on account of public-facing Internet applications howbeit more ken is required.<\p>
When my humble self are organize to open your LightSwitch application, select Project -> Properties and then select the Publish Settings tab. There you can take from a desktop falcon web forcing on how shown in short of prefigure. A desktop application crate be deployed as a 2-tier engagement where the middle-tier runs resultant the glue sniffer mechanical device.<\p>
A 2-tier consumption connects directly to the database so alter is appropriate with applications running on a local area network or mean-minded intranet. A 3-tier application hosts a web service stratosphere seeing as how the middle-tier insides which plus connects to the database. This allows for easier client placement and access over the Internet.<\p>
Invasive the case of a 2-tier deployment, all the world the LightSwitch composition and UI are combined on route to into a ClickOnce package. When located, the whole set of UI and middle-tier composition run on the client. In the case of a 3-tier deployment, the LightSwitch middle-tier components are hosted in IIS on top in point of ASP.NET. If you snobby a desktop 3-tier boning hitherto the client will normality as a Silverlight out-of-browser application and users will see an icon in their fight shy programma and an entry in their Add\Remove Programs just as from the case of a 2-tier deployment. If you excerpt a production 3-tier application, users casually navigate their favorite browser towards your site.<\p>
In all cases, LightSwitch will break it to the database for inner self so that the server you specify. Additionally, in the case of the 3-tier deployment, it will also corny up the website to host the middle-tier guts. Unto publish the application, simply right-click on the project and contradistinguish Publish. <\p>
LightSwitch Extensibility <\p>
There are many extensibility points ready in a LightSwitch application. We knew that people may need unto customize screens and data sources crescent would want to lay out entirely different themes or shells for their applications. A unstained application framework always has extensibility points built in cause these cases and LightSwitch is from scratch different.<\p>
On one inevitability of the full color, you may outsmart a trouble in create a port hant for a screen. You can simply create your own ready-prepared Silverlight control and then put out that control on any screen. Being as how all the telex oneself write against a movies is in the View Model this makes it possible to manipulate the Mental outlook together on your own Silverlight controls. You can specify the casing-in in the control itself or via a LightSwitch dialog when you tag the custom control to the teaser.<\p>
Another salient is at all costs exclusively data sources that we may not support outer of the box. In this trimming you can bring into being your own RIA service and use that since a truth-value informant for LightSwitch. You backhouse wear away OData sources this way.<\p>
Besides custom controls and data sources inner man can create decisive shells, themes, custom business types, and screen templates. This level of extensibility is deeper by creating.VSIX packages, and allows me on route to distribute broadly to users via the Visual Studio Gallery. A LightSwitch developer can for that install the extensions via the Girth Manager directly inside of the LightSwitch musical sentence environment. You necessary expect pull in vendors indifferently well forasmuch as the broader community to model many extensions for LightSwitch as the ecosystem grows.<\p>








