This article describes the Microsoft Silverlight 5 for Windows download version 5.1.40620.0.
- Silverlight 5 free download - Microsoft Silverlight (64-bit), Apple Safari, Karaoke 5, and many more programs.
- Silverlight was discontinued in 2012 and reaches End-Of-Life in one year+1 week (October 12, 2021). It already reached End-Of-Support in January 2020. The reason you can't find Silverlight tools in VS 2015 and later is they were never released. By now, SL 5 only runs on IE 10/11 on Windows 7.
- ※ Webコンソールの一部コンテンツの表示には、Silverlight5以降のインストールが必要です。 ※ エージェントの動作環境(CPU、メモリ、HDD空き容量)はOSの推奨システム要件を満たしてください。.
Original product version: Silverlight
Original KB number: 3075609
Silverlight Client - Portal. 这是我阅读《Silverlight5 in Action》中一部分的笔记整理,原著中的代码有部分错误,而且注释不多,其中有些细节部分我也没搞太清楚。 先做个笔记留.
Summary
The Silverlight 5 for Windows download version 5.1.40620.0 is available. It includes all security fixes in MS15-044 (MS15-044: Description of the security update for Silverlight 5: May 12, 2015) and is functionally identical to Silverlight 5 for Windows version 5.1.40416.0. This download is an upgrade for earlier versions of Silverlight.
Integration of MSN and Bing default
The Silverlight installer now includes options to set MSN as your default homepage and Bing as your default search engine. Automated silent installations and upgrades (for example, those performed by Microsoft Update and Windows Server Update Services) do not use the Silverlight installer user interface and will not change your homepage or search engine.
Download information
You can install the 5.1.40620.0 version of Silverlight 5 from the Get Microsoft Silverlight page if you do not have Silverlight version 5.1.40416.0 installed. The 5.1.40620.0 version is not available through Microsoft Update.
Prerequisites
This download applies to any Windows operating systems that are supported by Silverlight. It does not require a previous installation of Silverlight.
Restart requirement
You do not have to restart your computer to complete this installation.
Other ways to install this download
Silverlight Plugin
Every version of Silverlight 5 for Windows includes a self-updater that can periodically scan Microsoft.com for the latest updates to the Silverlight plug-in. If the self-updater is enabled and detects a new version, the plug-in prompts you to download and install the update.
File information
The global version of this download has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported 64-bit releases of Microsoft Silverlight 5 for Windows
File name | File version | File size | Date | Time | Platform |
---|---|---|---|---|---|
Silverlight_x64.exe | 5.1.40620.0 | 13,161,184 | 20-June-2015 | 9:57 | x64 |
For all supported 32-bit releases of Microsoft Silverlight 5 for Windows
File name | File version | File size | Date | Time | Platform |
---|---|---|---|---|---|
Silverlight.exe | 5.1.40620.0 | 7,018,208 | 20-June-2015 | 8:50 | x86 |
1. Introduction
I usually pass configuration to my web API via JSON files, but recently I needed to pass them also via command-line arguments. As the solution for ASP.NET Core 2.x is quite different than for ASP.NET Core 1.x I decided to describe both methods in here.
2. ASP.NET Core 2.x
For the newest version of ASP.NET Core, the solution is pretty straightforward as IConfiguration is injected by default to the Startup class. All we have to do is to add CommandLineConfigurationSource to IConfigurationBuilder when configuring IWebHost. CommandLineConfigurationSource is part of the Microsoft.Extensions.Configuration.CommandLine package and can be easily used by AddCommandLine extension method
2 4 6 8 10 12 14 16 18 20 22 24 | { { } publicstaticIWebHost BuildWebHost(string[]args) varwebHost=newWebHostBuilder() .UseContentRoot(Directory.GetCurrentDirectory()) .ConfigureAppConfiguration((hostingContext,config)=> varenv=hostingContext.HostingEnvironment; config.AddJsonFile('appsettings.json',optional:true,reloadOnChange:true) .AddJsonFile($'appsettings.{env.EnvironmentName}.json',optional:true,reloadOnChange:true); config.AddCommandLine(args); .Build(); } |
Now we can access our command-line arguments just like any other configuration
2 4 6 8 10 12 14 16 18 20 22 24 26 28 | { { } // This method gets called by the runtime. Use this method to add services to the container. publicvoidConfigureServices(IServiceCollection services) services.AddMvc(); // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. publicvoidConfigure(IApplicationBuilder app,IHostingEnvironment env,ILoggerFactory loggerFactory,IApplicationLifetime applicationLifetime) loggerFactory.AddConsole(); applicationLifetime.ApplicationStarted.Register(()=>loggerFactory.CreateLogger<Startup>().LogInformation('CommandLine argument {0}: ',_configuration['usecustomschema'])); { } app.UseMvc(); } |
3. ASP.NET Core 1.x
The solution for ASP.NET Core 1.x requires a bit more work but it is possible to achieve the same result. We still will be using CommandLineConfigurationSource from Microsoft.Extensions.Configuration.CommandLine package, however this time we have to manually create IConfiguration object and register it in the container before the Startup class is created. This is possible because the WebHostBuilder exposes ConfigureServices method.
Silverlight 5 Plugin
2 4 6 8 10 12 14 16 18 20 22 24 | { // This method gets called by the runtime. Use this method to add services to the container. publicvoidConfigureServices(IServiceCollection services) // Add framework services. } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. publicvoidConfigure(IApplicationBuilder app,IHostingEnvironment hostingEnvironment,IConfiguration configuration,ILoggerFactory loggerFactory,IApplicationLifetime applicationLifetime) loggerFactory.AddConsole(); applicationLifetime.ApplicationStarted.Register(()=> loggerFactory.CreateLogger<Startup>().LogInformation('CommandLine argument {0}: ',configuration['usecustomschema'])); if(hostingEnvironment.IsDevelopment()) app.UseDeveloperExceptionPage(); } |
Silverlight 5 Eol
Source code for this post can be found here