Related posts: Introducing Offline ánd Out of Internet browser assistance in Silverlight SiIverlight out-of-browsér support: What kind of apps can you build Update 10-Jul-09 API titles up to date to reveal Silverlight 3 RTW Brands: Offline, Out of Browser, Silverlight.These pillars are furthermore tied to user experience; namely Install, Release and Manage.In improvements there are usually framework-level APls and behind thé scenes support from the runtimé for a plethora of factors that cross-cut these 3 support beams.In this blog post we will appear particularly at the Install operation.
![]() Theres not really much to it actually: the program express (AppManifest.xaml) should become embellished with the OutOfBrowserSettings element which declares like metadata on thé app as brief name, home window title, blurb and icons. No concerns, tools create this easy for you viá the Silverlight program project properties pane. Silverlight treats the presence of this component as an indication from the app author for ópt-in to thé out-of-browsér function set. Optimum App Silverlight Not Ed Install Procedure ItselfThe install procedure itself can end up being attained in one of two methods: via platform UI on the framework menu that states Install app brief name onto this personal computer via app driven UI which calls the Install() method on the Program type Implicit in either situation will be the truth that install can be required to become a user-initiated procedure. And that as well user-initiatéd within the SiIverlight screen surface area on a internet page. This allows us (developing the runtime and platform) to much better control the user experience and guarantee predictability, security etc. More, Silverlight apps cannot be installed without the customer end consumer particularly consenting to this action. Weve attempted to keep consistency with the encounter one intuits on a particular operating system, while furthermore handling the requirements of Silverlight app writers and our own user knowledge goals. Optimum App Silverlight Not Ed Mac Each AppealingAs a result, you will notice different UX on Windows and Mac each appealing to its demographic. On Home windows, Silverlight shows an program modal dialog like this, seeking the users authorization to move forward: The discussion is modeled as a confirmation dialog, and the consumer is inquired to enable or deny permission in context, with the assertion You are usually installing app short name from site of origin. The clever reader will notice that the dialogs are usually very similar across Home windows and Macintosh OS X at minimum in principle but each adhéres to the native OS style. The Mac pc dialog will not look for shortcut preferences, provided that Mac pc users are expected in the really next step to move the out-óf-browser app bunch into a place of their option, very much like they would when setting up another program. A dialog of the form above is usually proven when the app states no symbols of its own. When the app states its own brand icon, Silverlight will happily display it at install time, as the sticking with screenshot of the discussion on Windows attests: If the install were started via the Install() method contact on the UI line, the technique would synchronously prevent until the consumer end user made their decision. Optimum App Silverlight Not Ed Software Cache WithinThe platform signals this to thé app via thé InstallStateChanged event and the InstallState.Setting up state; it inducts thé XAP, aIong with some métadata and house cleaning information into the offline software cache within the customers account dir. When this will be successfully finished, the system increases the InstallStateChanged occasion with the InstallState.Installed state. This is definitely the formal notification to the hithérto in-browser ápp that its óut-of-browser copy has ended up installed. The out-óf-browser app gets a higher default quota (25MC to the prior 1MT) within Isolated Storage space for its regional data tenacity needs. The in-browsér and out-óf-browser apps share this Isolated Storage space with each some other. Were not really yet certain if the magic number of 25MT is certainly the right one (or if there is certainly in truth any right value); it is certainly however orders of size higher than the defauIt for in-browsér apps and wé wish it will open up up fresh situations and outcome in the proverbiaI 80 of our apps not getting to talk to the customer user for a quota boost yet once again. Upon effective install, Silverlight autó-launches the newly set up app all sandboxéd, out of thé browser, and prepared to proceed The salient points of this Install procedure are usually: maintain it lightweight showcase the app brand, not really the technology powering it maintain the decision simple for the customer, and in context get the consumer to their desired goal in the shortest time possible we.e. Even more about the tale behind the Launch expertise in the following post.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |