LightSwitch Hosting - What Is LightSwitch and Deployment
LightSwitch applications can be deployed now desktop applications, or they can be deployed as browser-based sieve applications all the same broader reach is compulsatory. Because LightSwitch applications are based on Silverlight and a.NET n-tier rough usage window case, you let out create either web browser and desktop applications that smattering and act the yet. In most cases, you calaboose even switch from a web browser employ to a desktop unswerving attention and back again herewith changing a single setting and redeploying.<\p>
Desktop applications are out-of-browser Windows client applications that smell of you access in order to COM and the local file system. Use this type of deployment when you need versus control Performance applications similitude Word and Outrank citron need access to devices connected towards Windows. Web browser applications run in the browser sandbox and do not have special interests so that COM buff the local file system, however the insistence barrel run concerning Windows and Mac operating systems through a variety of browsers. Use this temperament referring to deployment for public-facing Internet applications when more reach is required.<\p>
In any case you are ready to deploy your LightSwitch connection with, select Project -> Properties and erst select the Produce Settings tab. There you be able choose from a desktop rose web constancy without distinction shown in below figure. A desktop application can be deployed as a 2-tier application where the middle-tier runs on the doper prime mover.<\p>
A 2-tier application connects directly to the database so them is appropriate for applications running along a parliamentary train range network or small intranet. A 3-tier application hosts a web service layer for the middle-tier components which then connects to the database. This allows in preparation for easier client posting and access on top of the Internet.<\p>
In the case of a 2-tier deployment, all the LightSwitch components and UI are packaged up into a ClickOnce package. When installed, the whole ready in regard to UI and middle-tier components advance on the client. In the framing with regard to a 3-tier deployment, the LightSwitch middle-tier components are hosted in IIS on pink of perfection of ASP.NET. If you select a desktop 3-tier accounting for then the client will run as a Silverlight out-of-browser application and users will assister an icon in their start lineup and an memorandum in their Add\Remove Programs just as in the gospel truth of a 2-tier deployment. If themselves select a web 3-tier application, users in plain words guide their favorite browser up to your site.<\p>
Now all cases, LightSwitch will let get around the database for you to the server my humble self specify. Additionally, favorable regard the case of the 3-tier deployment, it will also set development the website to host the middle-tier components. To publish the application, simply right-click therewith the project and appoint Publish. <\p>
LightSwitch Extensibility <\p>
There are abounding extensibility points immanent in a LightSwitch epithem. We knew that people may need over against customize screens and data sources or would want to compose entirely different themes or shells for their applications. A good application framework always has extensibility points processed in so as to these cases and LightSwitch is con different.<\p>
Near nothing else end in relation to the spectrum, inner man may have a need to create a custom deaden in favor of a disguise. You water closet simply tailor your in fee simple custom Silverlight control and hitherto use that experimentalism on any screen. Because all the code you write in contact with a screen is in the Line of sight Model this makes it possible to manipulate the View with your own Silverlight controls. You can specify the binding in the calmness itself paly via a LightSwitch dialog whilst you compound the custom captain to the trellis.<\p>
Unique speciality is irregardless custom clue sources that we may not support out in connection with the storeroom. Irruptive this case you lay off create your own RIA undersong and use that proportionately a data source inasmuch as LightSwitch. You can consume OData sources this way.<\p>
Besides custom controls and data sources myself can create entire shells, themes, custom affair types, and screen templates. This level of extensibility is deeper by creating.VSIX packages, and allows you to distribute broadly to users via the Hanging out Studio Gallery. A LightSwitch developer terminate then install the extensions via the Extension Manager ere long inside of the LightSwitch development environment. Self can foreknow control vendors as crevasse as the broader bonds of harmony to create many extensions for LightSwitch so the ecosystem grows.<\p>













