Silverlight



  • Silverlight Tutorial
  • Silverlight Useful Resources

Microsoft Silverlight does not work as expected Attempts to restart the computer and try to upgrade, install or uninstall Microsoft Silverlight again end in the same results. Microsoft Silverlight 32 Bit free download - Microsoft Silverlight (64-bit), Bit Che, Adobe Captivate (32-bit), and many more programs. Silverlight applications could be written in any.NET programming language. As such, any development tools which can be used with.NET languages can work with Silverlight, provided they can target the Silverlight CoreCLR for hosting the application, instead of the.NET Framework CLR. Microsoft has positioned Microsoft Expression Blend as a companion tool to Visual Studio for the design of.

Discover Silverlight hiking socks. Silky-Smooth Compression Comfort. Long-Lasting Durability.

Silverlight.com
  • Selected Reading

If you create a new project in Visual Studio, you will see four types of project in the right pane of the dialog box. They are −

  • Silverlight Application
  • Silverlight Class Library
  • Class Library (Portable)
  • Silverlight Navigation Application
Silverlight
  • The first two, Silverlight Application and Silverlight Class Library, are straightforward enough. These are analogous to executables in DLLs in the world of classic Windows applications. Both build DLLs because of how Silverlight applications are deployed.

  • Conceptually, a Silverlight Application project builds a program, which can be run, while the Class Library project builds a library designed to be incorporated into other applications.

  • You can build a class library if you are planning to build multiple applications, and want to reuse the common code. If you are planning to sell the controls that other people will use in their applications, again a library is the thing to build.

  • The other project types are a little less obvious, so we will look at those in detail later in this chapter.

Silverlight Web Applications

Silverlight applications are downloaded from the web, so you will normally have a web project associated with the Silverlight project. There are a couple of features of Visual Studio, designed to manage the relationship between these projects.

Let us have a look at a simple example of Silverlight Application project again.

Step 1 − Open Visual Studio. Click the File menu, point to New and then click Project.

Step 2 − A New Project dialog box will open. Under Templates, select Visual C# and then click Silverlight. In the right pane, choose Silverlight Application.

Enter a project name and a location on your hard drive to save your project.

The Silverlight project itself is just going to build the Silverlight content, and that content is just one asset amongst many that are going to make up the whole web application.

Click OK.

Microsoft silverlight download

Step 3 − Check the Host the Silverlight application checkbox. The default is an ASP.NET Web Application Project.

Step 4 − MS-Visual Studio has created two projects, the Silverlight project and an ASP.NET web application. Now, we need an ASP.NET web application. You can see this in the Solution Explorer window as shown below.

Anything that can serve up the content via HTTP will do but this is Visual Studio, and it understands the ASP.NET web technology, so that is what it gives us.

To demonstrate that Silverlight does not depend on any particular server-side technology, let us delete this .aspx file, leaving just the plain static HTML file.

Step 5 − Right-click FirstExampleTestpage.aspx. From the list of options, click Delete.

Step 6 − Set FirstExampleTestPage.html as the Start page.

The MainPage.xaml file defines the user interface for Silverlight content. Either you can write XAML code directly or you can also use Toolbox to drag and drop different UI elements.

Step 7 − Given below is a simple code in MainPage.xaml in which a Button and a TextBlock are defined inside the StackPanel.

Step 8 − This example assumes that you have created an event-handling method named ClickMe_Click. Here is what it looks like in the MainPage.xaml.cs file.

Step 9 − A Silverlight application can be run on any installed browsers.

Step 10 − When the above code is compiled and executed, you will see the following webpage.

Silverlight Navigation Application

The Silverlight Navigation Application template builds a project similar to an ordinary Silverlight app. There is nothing fundamentally different about the two project types. The Navigation template just includes some additional code you could easily add yourself. As the name suggests, it supports web-like navigation within the Silverlight application.

Let us create a Navigation application.

Step 1 − Select Silverlight Navigation Application from the right pane in the New Project dialog box.

Step 2 − Follow the settings as you have done for the Silverlight Web Application.

Silverlight

Step 3 − Click the OK button. A window will open as shown below.

These usually have an associated web project, so we will have one of those. It creates two projects as described before, but as you can see, the default user interface looks a bit less blank.

Step 4 − It provides an Application Chrome, including a Navigation bar. The solution contains a few extra files. This Styles file defines the look and feel for the Navigation bar. In this Views folder, we see a couple of pages, and also a window for showing errors.

As you can see, when you run the application, it shows a Home page with some placeholder content.

Step 5 − When you click the About button, it will navigate to the About page.

The important part is that you can then use the browser Back and Forward buttons to retrace the steps.

Normally when you do that, the web browser goes from one web page to another, but here it does not. The Silverlight application does not actually unload; it stays running, and just shows different content.

Therefore, from the browser's point of view, it is actually all on one web page. Silverlight plays some tricks with the navigation buttons to ensure that the web page does not unload as we navigate.

Last updated: January 25, 2019

Watch the Video: How to use Silverlight in Chrome on Windows

Silverlight.com

Browser plug-in stalwarts know about the planned move to a plugin-free web by top Internet software companies. It has become increasingly difficult to access Silverlight content in the browser with every passing year. No browser has pushed back against NPAPI plug-ins as hard as Google Chrome. In fact, the option to even enable Silverlight in Chrome was removed by Google in September of 2015. Yet some Silverlight content remains on the internet. Those who want to display it using the web’s most popular web browser are at a loss. But not a complete loss. It is still possible to use Silverlight in Chrome on Windows 10 with a free extension.

Silverlight Microsoft

The IE Tab extension for Chrome is not only useful for displaying web pages with Silverlight content, but also for Sharepoint, Java and ActiveX content too. Until which time it becomes impossible to use these technologies, holdouts can still view Silverlight content within the Chrome wrapper. IE Tab emulates Internet Explorer within a Chrome browser window. The extension uses the Internet Explorer rendering engine so you can view Silverlight content. Caveat: IE Tab works on Windows only.

Pay a visit to the Chrome Web Store

Silverlight Download

Launch Google Chrome. Next, visit the IE Tab page in the Chrome Web Store. Click the blue Add To Chrome button. A dialog will display asking you if you want to Add IE Tab, accompanied by a list of functions it can perform. Click the Add extension button.

Once installed, the IE Tab icon displays next to Chrome’s address bar/omnibox. Click the icon to open an IE Tab. In the IE Tab, input the web address of the page that contains Silverlight content. For example, visit the Silverlight verification page on Microsoft’s site with Chrome using an IE Tab.

When using Chrome without IE Tab, Silverlight cannot be detected. A notice that, “You are running on a browser that may not be fully compatible with Microsoft Silverlight,” displays instead.

For those who don’t want to bother with adding an extension to Chrome, switch to another browser. Your choice on Windows 10 to view Silverlight content is…(you guessed it) Internet Explorer.

Thank you for visiting Tech Help Knowledgebase to learn how to use Silverlight in Chrome.

Silverlight Install

Tech Help Knowledgebase creates how-to articles and video tutorials for common issues, and provides technical support for the categories covered by our site.
Get Support.