Posted  by  admin

Microsoft Silverlight Toolkit Download

Silverlight 4 Launch Keynote. Watch a webcast of the Microsoft Silverlight 4 Launch on April 13th at 8:00am Pacific Daylight Time, available both live or on demand. Hear Scott Guthrie, Corporate Vice President of Microsoft’s.NET Developer Platform, as he introduces Silverlight 4 and shows how Silverlight helps companies design, develop. Microsoft Toolkit 2.6.7 free download - Microsoft Silverlight, Microsoft Word, Microsoft ActiveSync, and many more programs. It is the best office toolkit for any windows computer system. The useful software helps you to manage, deploy and activate all editions of Windows operating systems.

Microsoft – 12.5MB – Freeware – AndroidWindows
Silverlight is essentially nothing more than Microsoft's vision of a cross-browser, cross-platform plug-in designed to be the source of rich online user experiences and to dislodge Flash from its current dominant position on the market. And when the Redmond company said cross-platform they indeed meant it.
Microsoft revealed that it does not plan to leverage the existing Windows Update infrastructure in order to make available Silverlight to all users of the Windows operating system. Such a move would give Silverlight immediate and total access to an install base close to 1 billion users and will make it just as ubiquitous as Adobe's Flash. Instead the Redmond company has debuted a number of in-house projects to push the technology, as well as tap its partners for support.

Microsoft Silverlight Toolkit is a Freeware software in the category Internet developed by Microsoft. The latest version of Microsoft Silverlight Toolkit is 3.0., released on. It was initially added to our database on. Microsoft Silverlight Toolkit runs on the following operating systems: Windows. .Next i installed Silverlight 3 tools. Somewhere after installing blend i installed the Silverlight 3 toolkit. So now i have all the.DLLs but i cannot add them to a pre-existing, working hello world silverlight app. Any help would really be appreciated. Free microsoft silverlight toolkit 5 download software at UpdateStar - Silverlight is essentially nothing more than Microsoft's vision of a cross-browser, cross-platform plug-in designed to be the source of rich online user experiences and to dislodge Flash from its current dominant position on the market.

Overview

Microsoft Silverlight is a Freeware software in the category Web Development developed by Microsoft.

It was checked for updates 69,461 times by the users of our client application UpdateStar during the last month.

The latest version of Microsoft Silverlight is 5.1.50918.0, released on 01/16/2019. It was initially added to our database on 10/09/2007. The most prevalent version is 5.1.50918.0, which is used by 60 % of all installations.

Microsoft Silverlight runs on the following operating systems: Android/Windows. The download file has a size of 12.5MB.

Users of Microsoft Silverlight gave it a rating of 4 out of 5 stars.

Write a review for Microsoft Silverlight!

69,461 users of UpdateStar had Microsoft Silverlight installed last month.
12/17/2021 Total Audio Converter 6.1.0.257
12/14/2021 Q-Dir 10.44
12/17/2021 SteelSeries GG 12.2.0
12/17/2021 SysMon 13.31
12/17/2021 AutoRuns 14-07
Secure and free downloads checked by UpdateStar
12/05/2021 These tools delete files permanently and safely
12/02/2021 New Vivaldi 5.0 browser for desktop and Android available
12/01/2021 Debloating Windows 10 the easy way with O&O AppBuster
11/27/2021 Try Foxit Reader!
11/27/2021 Why you should think about using a VPN to protect your privacy
  • » sliver microsoft
  • » microsoft silverlight最新版本
  • » senaste versionen microsoft silverlight
  • » atualização de silverlight
  • » silverlight 5.1.40620 download
  • » silverlight 5 build 5.1.50907.0 download
  • » atualizar silverlight 2016
  • » microsoft wizja stary film
  • » silverlight uppdatering
  • » silverliht 5.0 letöltés

The new version of the Silverlight Toolkit (December 2011) for Silverlight 5 is out and you can grab it here:

Update: Babylon Engine now uses Silverlight 5 Toolkit: https://code.msdn.microsoft.com/Babylon-3D-engine-f0404ace

I had the pleasure of working on this version and I’m pleased to write this article to help you discover how the Toolkit enhances Silverlight 5 with the following features:

  1. New Visual Studio templates for creating:
    1. Silverlight 3D Application
    2. Silverlight 3D Library
    3. Silverlight Effect

Seamless integration with the Content Pipeline

The toolkit comes with a new assembly : Microsoft.Xna.Framework.Content.dll. This assembly allows you to load assets from the .xnb file format (produced by the Content Pipeline).

Using the new Visual Studio templates (which I will describe later), you can now easily port existing 3D projects directly to Silverlight 5!

Microsoft.Xna.Framework.Content.dll assembly will add the following classes to Silverlight 5:

  • ContentManager
  • Model
  • SpriteFont and SpriteBatch

The toolkit comes also with the Microsoft.Xna.Framework.Tookit.dll assembly which will add the following classes to Silverlight 5:

  • SilverlightEffect
  • Mouse, MouseState
  • Keyboard, KeyboardState

ContentManager

The documentation for this class can be found here:
https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.content.contentmanager.aspx

The ContentManager class is the representative for the Content Pipeline inside your code. It is responsible for loading objects from .xnb files.

To create a ContentManager you just have to call the following code:






  1. ContentManager contentManager = newContentManager(null, “Content”);




There are restrictions for this class : The ContentManager for Silverlight can only support one Content project and the RootDirectory must be set to “Content”

Using it is really simple because it provides a simple Load method which can be used to create your objects:






  1. // Load fonts


  2. hudFont = contentManager.Load<SpriteFont>(“Fonts/Hud”);




  3. // Load overlay textures


  4. winOverlay = contentManager.Load<Texture2D>(“Overlays/you_win”);




  5. // Music


  6. backgroundMusic = contentManager.Load<SoundEffect>(“Sounds/Music”);




Model

The documentation for this class can be found here:
https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.model.aspx

The model class has the same API as in XNA 4 and it will allow you to load and render 3D models from XNB files:






  1. // Draw the model.


  2. Model tankModel = content.Load<Model>(“tank”);


  3. tankModel.Draw();

Microsoft Silverlight Toolkit Download


You can also use bones if your model supports them:






  1. Model tankModel = content.Load<Model>(“tank”);


  2. tankModel.Root.Transform = world;


  3. tankModel.CopyAbsoluteBoneTransformsTo(boneTransforms);




  4. // Draw the model.


  5. foreach (ModelMesh mesh in tankModel.Meshes)


  6. {


  7. foreach (BasicEffect effect in mesh.Effects)


  8. {


  9. effect.World = boneTransforms[mesh.ParentBone.Index];


  10. effect.View = view;


  11. effect.Projection = projection;




  12. effect.EnableDefaultLighting();


  13. }




  14. mesh.Draw();


  15. }




You can import models using .x or .fbx format:

And thanks to the FBX importer, you can also import .3ds, .obj, .dxf and even Collada.

SpriteFont & SpriteBatch

The documentation for these classes can be found here:
https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.spritebatch.aspx
https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.spritefont.aspx

The SpriteBatch class is used to display 2D textures on top of the render. You can use them for displaying a UI or sprites.






  1. SpriteBatch spriteBatch = newSpriteBatch(graphicsDevice);




  2. spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.Opaque);




  3. spriteBatch.Draw(texture, newRectangle(0, 0, width, height), Color.White);




  4. spriteBatch.End();




As you can see, SpriteBatch only needs a texture to display.

SpriteFont allows you to use sprites to display text.






  1. SpriteFont hudFont = contentManager.Load<SpriteFont>(“Fonts/Hud”);


  2. spriteBatch.DrawString(hudFont, value, position + newVector2(1.0f, 1.0f), Color.Black);


  3. spriteBatch.DrawString(hudFont, value, position, color);




SpriteFont relies on SpriteBatch to draw and needs a font definition from the ContentManager:

SilverlightEffect

The toolkit introduces a new class called SilverlightEffect which can be used to apply .fx files.

It also support .slfx which is the default extension. There is no difference between .slfx and .fx but as XNA Effect Processor is already associated with .fx, the Silverlight Content Pipeline had to select another one.

You can now define a complete effect inside a Content project and use it for rendering your models.

To do so:

  • Create a .fx file with a least one technique
  • Shader entry points must be parameterless
  • Define render states

For example here is a simple .fx file:






  1. float4x4 WorldViewProjection;


  2. float4x4 World;


  3. float3 LightPosition;




  4. // Structs


  5. struct VS_INPUT


  6. {


  7. float4 position : POSITION;


  8. float3 normal : NORMAL;


  9. float4 color : COLOR0;


  10. };




  11. struct VS_OUTPUT


  12. {


  13. float4 position : POSITION;


  14. float3 normalWorld : TEXCOORD0;


  15. float3 positionWorld : TEXCOORD1;


  16. float4 color : COLOR0;


  17. };




  18. // Vertex Shader


  19. VS_OUTPUT mainVS(VS_INPUT In)


  20. {


  21. VS_OUTPUT Out = (VS_OUTPUT);




  22. // Compute projected position


  23. Out.position = mul(In.position, WorldViewProjection);




  24. // Compute world normal


  25. Out.normalWorld = mul(In.normal,(float3x3) WorldViewProjection);




  26. // Compute world position


  27. Out.positionWorld = (mul(In.position, World)).xyz;




  28. // Transmit vertex color


  29. Out.color = In.color;




  30. return Out;


  31. }




  32. // Pixel Shader


  33. float4 mainPS(VS_OUTPUT In) : COLOR


  34. {


  35. // Light equation


  36. float3 lightDirectionW = normalize(LightPosition – In.positionWorld);


  37. float ndl = max(, dot(In.normalWorld, lightDirectionW));




  38. // Final color


  39. returnfloat4(In.color.rgb * ndl, 1);


  40. }




  41. // Technique


  42. technique MainTechnique


  43. {


  44. pass P0


  45. {


  46. VertexShader = compile vs_2_0 mainVS(); // Must be a non-parameter entry point


  47. PixelShader = compile ps_2_0 mainPS(); // Must be a non-parameter entry point


  48. }


  49. }




The Toolkit will add required processors to the Content Pipeline in order to create the .xnb file for this effect:

To use this effect, you just have to instantiate a new SilverlightEffect inside your code:






  1. mySilverlightEffect = scene.ContentManager.Load<SilverlightEffect>(“CustomEffect”);




Then, you can retrieve effect’s parameters:






  1. worldViewProjectionParameter = mySilverlightEffect.Parameters[“WorldViewProjection”];


  2. worldParameter = mySilverlightEffect.Parameters[“World”];


  3. lightPositionParameter = mySilverlightEffect.Parameters[“LightPosition”];




To render an object with your effect, it is the same code as in XNA 4:






  1. worldParameter.SetValue(Matrix.CreateTranslation(1, 1, 1));


  2. worldViewProjectionParameter.SetValue(WorldViewProjection);


  3. lightPositionParameter.SetValue(LightPosition);


  4. foreach (var pass in mySilverlightEffect.CurrentTechnique.Passes)


  5. {


  6. // Apply pass


  7. pass.Apply();




  8. // Set vertex buffer and index buffer


  9. graphicsDevice.SetVertexBuffer(vertexBuffer);


  10. graphicsDevice.Indices = indexBuffer;




  11. // The shaders are already set so we can draw primitives


  12. graphicsDevice.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, VerticesCount, 0, FaceCount);


  13. }




Texture2D, TextureCube & SoundEffect

Silverlight 5 provides Texture2D, TextureCube and SoundEffect classes. With the Toolkit, you will be able to load them from the ContentManager:






  1. // Load overlay textures


  2. winOverlay = contentManager.Load<Texture2D>(“Overlays/you_win”);




  3. // Music


  4. backgroundMusic = contentManager.Load<SoundEffect>(“Sounds/Music”);




Mouse and Keyboard

In order to facilitate porting existing 3D applications and to accommodate polling input application models, we also added partial support for Microsoft.Xna.Framework.Input namespace.

So you will be able to request MouseState and KeyboardState everywhere you want:






  1. public MainPage()


  2. {


  3. InitializeComponent();




  4. Mouse.RootControl = this;


  5. Keyboard.RootControl = this;


  6. }




However, there is a slight difference from original XNA on other endpoints: you have to register the root control which will provide the events for Mouse and Keyboard. The MouseState positions will be relative to the upper left corner of this control:

Microsoft Silverlight Toolkit DownloadMicrosoft silverlight for windows 10




  1. privatevoid myDrawingSurface_Draw(object sender, DrawEventArgs e)


  2. {


  3. // Render scene


  4. scene.Draw();




  5. // Let’s go for another turn!


  6. e.InvalidateSurface();




  7. // Get mouse and keyboard state


  8. MouseState mouseState = Mouse.GetState();


  9. KeyboardState keyboardState = Keyboard.GetState();







  10. }



Silverlight Toolkit Download


The MouseState and KeyboardState are similar to XNA versions:

Extensibility

Silverlight Content Pipeline can be extended the same way as the XNA Content Pipeline on other endpoints. You can provide your own implementation for loading assets from elsewhere than the embedded .xnb files.

For example you can write a class that will stream .xnb from the network. To do so, you have to inherit from ContentManager and provide your own implementation for OpenStream:






  1. publicclassMyContentManager : ContentManager


  2. {


  3. public MyContentManager() : base(null)


  4. {




  5. }




  6. protectedoverride System.IO.Stream OpenStream(string assetName)


  7. {


  8. returnbase.OpenStream(assetName);


  9. }


  10. }



Silverlight

You can also provide our own type reader. Here is for example the custom type reader for SilverlightEffect:






  1. ///


  2. /// Read SilverlightEffect.


  3. ///


  4. publicclassSilverlightEffectReader : ContentTypeReader<SilverlightEffect>


  5. {


  6. ///


  7. /// Read and create a SilverlightEffect


  8. ///


  9. protectedoverrideSilverlightEffect Read(ContentReader input, SilverlightEffect existingInstance)


  10. {


  11. int techniquesCount = input.ReadInt32();


  12. EffectTechnique[] techniques = newEffectTechnique[techniquesCount];




  13. for (int techniqueIndex = 0; techniqueIndex < techniquesCount; techniqueIndex++)


  14. {


  15. int passesCount = input.ReadInt32();


  16. EffectPass[] passes = newEffectPass[passesCount];




  17. for (int passIndex = 0; passIndex < passesCount; passIndex++)


  18. {


  19. string passName = input.ReadString();




  20. // Vertex shader


  21. int vertexShaderByteCodeLength = input.ReadInt32();


  22. byte[] vertexShaderByteCode = input.ReadBytes(vertexShaderByteCodeLength);


  23. int vertexShaderParametersLength = input.ReadInt32();


  24. byte[] vertexShaderParameters = input.ReadBytes(vertexShaderParametersLength);




  25. // Pixel shader


  26. int pixelShaderByteCodeLength = input.ReadInt32();


  27. byte[] pixelShaderByteCode = input.ReadBytes(pixelShaderByteCodeLength);


  28. int pixelShaderParametersLength = input.ReadInt32();


  29. byte[] pixelShaderParameters = input.ReadBytes(pixelShaderParametersLength);




  30. MemoryStream vertexShaderCodeStream = newMemoryStream(vertexShaderByteCode);


  31. MemoryStream pixelShaderCodeStream = newMemoryStream(pixelShaderByteCode);


  32. MemoryStream vertexShaderParametersStream = newMemoryStream(vertexShaderParameters);


  33. MemoryStream pixelShaderParametersStream = newMemoryStream(pixelShaderParameters);




  34. // Instanciate pass


  35. SilverlightEffectPass currentPass = newSilverlightEffectPass(passName, GraphicsDeviceManager.Current.GraphicsDevice, vertexShaderCodeStream, pixelShaderCodeStream, vertexShaderParametersStream, pixelShaderParametersStream);


  36. passes[passIndex] = currentPass;




  37. vertexShaderCodeStream.Dispose();


  38. pixelShaderCodeStream.Dispose();


  39. vertexShaderParametersStream.Dispose();


  40. pixelShaderParametersStream.Dispose();




  41. // Render states


  42. int renderStatesCount = input.ReadInt32();




  43. for (int renderStateIndex = 0; renderStateIndex < renderStatesCount; renderStateIndex++)


  44. {


  45. currentPass.AppendState(input.ReadString(), input.ReadString());


  46. }


  47. }




  48. // Instanciate technique


  49. techniques[techniqueIndex] = newEffectTechnique(passes);


  50. }




  51. returnnewSilverlightEffect(techniques);


  52. }


  53. }




The toolkit will install two new project templates and a new item template:

Wpf Toolkit

Silverlight3DApp

This template will produce a full working Silverlight 3D application.

The new solution will be composed of 4 projects:

  • Silverlight3DApp : The main project
  • Silverlight3DAppContent : The content project attached with the main project
  • Silverlight3DWeb : The web site that will display the main project
  • Silverlight3DWebContent : A content project attached to the website if you want to stream your .xnb from the website instead of using embedded ones. This will allow you distribute a smaller .xap.

The main project (Silverlight3DApp) is built around two objects:

  • A sceneobject which
    • Create the ContentManager
    • Handle the DrawingSurface Draw event
  • A cubeobject
    • Create a vertex buffer and index buffer
    • Use the ContentManager to retrieve a SilverlightEffect (Customeffect.slfx) from the content project
    • Configure and use the SilverlightEffect to render

Silverlight3DLib

This template will produce a Silverlight Library without any content but with all Microsoft.Xna.Framework references set:

And the resulting project will look like:

SilverlightEffect

Microsoft Silverlight Toolkit Download Free

This item template can be used inside a Content project to add a custom .slfx file that will work with SilverlightEffect class:

The file content will be the following:






  1. float4x4 World;


  2. float4x4 View;


  3. float4x4 Projection;




  4. // TODO: add effect parameters here.




  5. struct VertexShaderInput


  6. {


  7. float4 Position : POSITION0;




  8. // TODO: add input channels such as texture


  9. // coordinates and vertex colors here.


  10. };




  11. struct VertexShaderOutput


  12. {


  13. float4 Position : POSITION0;




  14. // TODO: add vertex shader outputs such as colors and texture


  15. // coordinates here. These values will automatically be interpolated


  16. // over the triangle, and provided as input to your pixel shader.


  17. };




  18. VertexShaderOutput VertexShaderFunction(VertexShaderInput input)


  19. {


  20. VertexShaderOutput output;




  21. float4 worldPosition = mul(input.Position, World);


  22. float4 viewPosition = mul(worldPosition, View);


  23. output.Position = mul(viewPosition, Projection);




  24. // TODO: add your vertex shader code here.




  25. return output;


  26. }




  27. float4 PixelShaderFunction(VertexShaderOutput input) : COLOR0


  28. {


  29. // TODO: add your pixel shader code here.




  30. returnfloat4(1, , , 1);


  31. }




  32. technique Technique1


  33. {


  34. pass Pass1


  35. {


  36. // TODO: set renderstates here.




  37. VertexShader = compile vs_2_0 VertexShaderFunction();


  38. PixelShader = compile ps_2_0 PixelShaderFunction();


  39. }


  40. }




New samples to demo these features

Finally, to help you discover and learn all these features, we added some cools samples:

Bloom

This sample shows you how to use sprites to accomplish post-processing effects such as “bloom”. It also uses the Content Pipeline to import a tank model from a .fbx file.

CustomModelEffect

This sample shows you how custom effects can be applied to a model using the Content Pipeline.

Generated geometry

This sample shows how 3D models can be generated by code during the Content Pipeline build process.

Particles

This sample introduces the concept of a particle system, and shows how to draw particle effects using SpriteBatch. Two particle effects are demonstrated: an explosion and a rising plume of smoke:

Microsoft Silverlight Toolkit Download

Primitives3D

This sample provides easily reusable code for drawing basic geometric primitives:

Platformer

This sample is a complete game with 3 levels provided (you can easily add yours). It shows the usage of SpriteBatch, SpriteFont and SoundEffect inside a platform game. It also uses Keyboard class to control the player.

SimpleAnimation

This sample shows how to apply program controlled rigid body animation to a 3D model loaded with the ContentManager:

Skinning

This sample shows how to process and render a skinned character model using the Content Pipeline.

As you noticed, all these new additions to the Silverlight Toolkit are made to make it easy to get started with new Silverlight 3D features by providing developer tools to improve usability and productivity.

You can now easily start a new project that leverages both concepts of XNA and Silverlight. It becomes easy to work with 3D concepts and resources like shaders, model, sprites, effects, etc…

We also try to reduce the effort to port existing 3D applications to Silverlight.

So now it’s up to you to discover the wonderful world of 3D using Silverlight 5!