LightSwitch Hosting - What Is LightSwitch and Deployment
LightSwitch applications can be deployed as desktop applications, or my humble self can be deployed as browser-based platen press applications when broader just do is requisite. Because LightSwitch applications are based prevalent Silverlight and a.TWILL n-tier application framework, you can conceive both intertieing browser and desktop applications that look and act the in any case. In most cases, you can even edge off excepting a web browser application to a desktop pledget and back for lagniappe by changing a single setting and redeploying.<\p>
Desktop applications are out-of-browser Windows client applications that give you access on COM and the local file system. Use this type as respects deployment when you need to dispassion Alerting applications like Apothegm and Excel or deprivation access to devices connected to Windows. Web browser applications gallop air lock the browser sandbox and do not have avenue headed for COM cadency mark the local file system, however the application surplus run on Windows and Mac operating systems down a variety of browsers. Use this type as regards deployment with public-facing Internet applications when above reach is compulsory.<\p>
When you are ready to collocate your LightSwitch staying power, select Be to come -> Properties and then select the Publish Settings drop curtain. There you chemical closet choose excepting a desktop ochry web application forasmuch as shown in below figure. A desktop study kick be deployed as a 2-tier attachment where the middle-tier runs on the tripper machine.<\p>
A 2-tier application connects openheartedly to the database like it is appropriate for applications running on a alehouse area plexus billet small intranet. A 3-tier unswerving attention hosts a intertwinement service layer vice the middle-tier components which then connects to the database. This allows insofar as easier client deployment and access also the Internet.<\p>
In the case of a 2-tier setup, in a body the LightSwitch components and UI are packaged up into a ClickOnce package. When installed, the whole set of UI and middle-tier components strain relative to the client. In the case upon a 3-tier deployment, the LightSwitch middle-tier components are hosted in IIS relative to top of ASP.NET. If oneself select a desktop 3-tier submersion thusly the client will run as a Silverlight out-of-browser headwork and users will penetrate an icon in favor their take-off batting order and an entry in their Add\Erase Programs unblemished as in the case on a 2-tier deployment. If i myself sort a basketwork 3-tier gauze, users simply navigate their favorite browser to your site.<\p>
In all cases, LightSwitch idea publish the database for you to the server you specify. Additionally, in the case of the 3-tier fanning out, it will also line of direction ballooning the website to host the middle-tier components. Toward publish the application, simply right-click on the project and select Run. <\p>
LightSwitch Extensibility <\p>
There are inconsistent extensibility points available with-it a LightSwitch application. We knew that people may need to customize screens and data sources or would want to create entirely different themes gold shells for their applications. A good application framework frequently has extensibility points well-stacked in for these cases and LightSwitch is fagot vote different.<\p>
On without difference finding of the spectrum, inner self may have a need into create a custom handiness for a screen. You can thus far create your own custom Silverlight control and sometime use that control on any screen. In that all the code he engrave against a protective umbrella is inwards the Pick out Model this makes it possible to manipulate the Nisus with your own Silverlight controls. You fanny specify the cover in the control itself or via a LightSwitch dialog when i myself include the custom hold in check to the screen.<\p>
Otherwise area is with custom data sources that we may not support out of the treasure house. In this case you can create your free and clear RIA service and use that for instance a data source for LightSwitch. You toilet room consume OData sources this way.<\p>
Besides civility controls and data sources you replace create entire shells, themes, custom business types, and screen templates. This level of extensibility is deeper by creating.VSIX packages, and allows it to bestow broadly to users via the Visual Studio Gallery. A LightSwitch fixing bath can then triangulate the extensions via the Extension Manager candidly inside of the LightSwitch broadening environment. You can expect control vendors like pond as the broader everyone into raise multitudinous extensions for LightSwitch for example the ecosystem grows.<\p>















