Hello everyone,
as most of your Silverlight-Interested-People might already know, Microsoft has released the beta-version of the upcoming Silverlight Version 4. Lot of things are new, but instead of spreading it out myself, I want to post some references to really good summaries and tutorials I found.
All I really needed to do, to get started with SL 4 was (beside installing Visual Studio 2010 Beta 2 which I already had on my machine) go to this page:
GetStarted Page for Silverlight 4 beta
download an install the tools. the new runtime is in the package too.
A pretty good summary of the new features can be found on Tim Heuers Blog:
Silverlight 4 Beta – A guide to the new features
And there is also a series of articles published by Alex Golesh that are hands-on-tutorials for some of the new features
I will surely write more about this topic during the next weeks, so stay tuned
)
Sascha
Silverlight 4, Various November 22nd 2009
Hello everyone,
to start a silverlight project, i have a kind of default-template which I enriched with a CSS-like decentralized style today. This is done very easy now in Silverlight 3. First you habe to set up a file containing your style. In my case it was a file in a new Styles folder called TextBock.Default.xaml where I entered this dummy code:
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Windows="clr-namespace:System.Windows;assembly=System.Windows">
<Windows:Style x:Key="TextBlock.Default" TargetType="TextBlock">
<Windows:Setter Property="FontFamily" Value="Times New Roman"/>
<Windows:Setter Property="FontSize" Value="16"/>
<Windows:Setter Property="Foreground" Value="Black"/>
<Windows:Setter Property="LineHeight" Value="26"/>
</Windows:Style>
</ResourceDictionary>
after that, I created a MergedDictionary in my app.xaml like that:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Styles/TextBlock.Default.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
from now on, you can call this style like you’re used to with {StaticResource TextBlock.Default} within your application. Nice way to manage the styles as I think, and much easier to maintain than having all your styles plugged in your app.xaml in total.
Have fun playing with it
)
Sascha
Various Oktober 27th 2009
Hello everyone,
I just tried to figure out, how to pass initial parameters to a Silverlight App, that runs out of browser. We dont have a Webpage to pass InitParams and we cannot access Web.Config entries.
So i came up with the idea, to use Isolated Storage for this task. Before installing an App Out-Of-Browser we need to access the Webpage. In this case, we can read the initial paramters from Web.Config or from Silverlight-Tag, and store them to Isolated Storage.
Now we need a code-block to check, if app runs OOB (Application.Current.IsOutOfBrowser) and in this case, we read the paramters from Isolated Storage instead. So the OOB-App is configured the same way as the Web-App.
This was just one Idea, that worked. Any other suggestions are very welcome.
Various September 26th 2009
Hello everyone !
Hallo zusammen,
um schlichtweg mehr Leser anzusprechen werde ich die Blog-Sprache auf englisch umstellen. Ich hoffe, es stört nicht zu sehr
)
A nice video about the usage of silverlight apps out-of-browser by Tim Heuer can be found here:
Video about Out-Of-Browser Experience
Various September 25th 2009
Bei Mike Snow geht es Schlag auf Schlag, und jetzt hat er schon den 100sten “Tip of the Day” für Silverlight online gestellt. Herzlichen Glückwunsch von mir, und hier eine Zusammenfassung der letzten 10 Posts…
Besonders interessant ist für Entwickler der 100te Post. Dort geht es um die Details der kommenden Version 3 von Silverlight, deren Beta 1 man sich unter http://silverlight.net/getstarted/silverlight3/default.aspx herunterladen kann
Bei Microsoft geht man wiedermal ein wenig andere Wege als gewohnt und veröffentlicht nicht etwa ein Service Pack für die Silverlight Runtime sondern eine neue Version – Die Silverlight 2 GDR1 (General Distribution Release 1).
Die Installation unterscheidet sich je nach dem, ob man vorher das End-User-Plugin oder das Developer-Plugin installiert hatte. Hier die beiden Installationslinks:
Tim Heuer hat in seinem Blog eine Liste der Haupt-Änderungen und Fixes veröffentlicht:
- Verschiedene Zugänglichkeit-Fixes (accessibility fixes) im Bezug auf UIAutomation
- Fixes bezüglich mancher Anti-Virus Scanning Algorythmen
- Fix für die OSX Plattform wen die Benutzer die Plazierung Ihrer Schriftarten ändern (z.B. Benutzer mit Font Management Tools)
- Bugfix für den IsolatedStorage bei Sprachlokalisation in Sprachen, für die Silverlight nicht verfügbar ist.
Wenn euch die Übersetzungen nicht gelungen erscheinen, schaut einfach im im Original-Post von Tim Heuer nach ;o) Dort finden sich auch noch nährere Details zum Update der eigenen Applikationen auf die neue Version.
Various Februar 21st 2009
Pünktlich zum erscheinen des 90ten Posts von Mike Snows Artikelserie “Silverlight Tips of the Day” habe ich hier mal die letzten 10 Posts zusammengestellt. Sehr lehrreich wie ich finde.
Tim Heuer, Program Manager für Silverlight bei Microsoft, hat sich die Mühe gemacht und eine sehr große Liste mit derzeit verfügbaren Silverlight-Controls zusammengestellt. Bin zwar selbst noch nicht fertig mit durchsehen, möchte es euch aber auch nicht vorenthalten.
Liste von Tim Heuer
Controls Februar 2nd 2009