Have you tried to use new C# 4 features in Silverlight 4 Beta ? Read this post.
I’ve made Silverlight sample (CSharp4) to demonstrate new C# 4 features and new BCL types
Silverlight 4 has also changes in Collection Sets and parsing and formatting time intervals.
Covariance and contravariance don’t work in Silverlight 4 Beta (I have tested it – you can’t compile code with variance).
I’ve built second Silverlight example (ModifyHTMLbyNET) to show HTML /JavaScript integration with dynamic type.
Both samples you can download below.
Dynamic type is very useful for native integration (COM), too.
You can read about sharing Silverlight assemblies with .NET here and here.
Useful links
- http://microsoftpdc.com/Sessions/FT11
- http://microsoftpdc.com/Sessions/FT31
- http://channel9.msdn.com/pdc2008/TL16/
- http://channel9.msdn.com/pdc2008/TL54/
- http://channel9.msdn.com/pdc2008/PC49/
- http://code.msdn.microsoft.com/csharpfuture
- http://msdn.microsoft.com/en-us/library/dd772166(VS.96).aspx
- http://msdn.microsoft.com/en-us/library/dd264736(VS.100).aspx
- http://msdn.microsoft.com/en-us/library/dd264741(VS.100).aspx
- http://msdn.microsoft.com/en-us/library/system.dynamic.dynamicobject(VS.100).aspx
- http://msdn.microsoft.com/en-us/library/system.dynamic.expandoobject(VS.100).aspx
- http://msdn.microsoft.com/en-us/library/dd233052(VS.100).aspx
- http://msdn.microsoft.com/en-us/library/dd264739(VS.100).aspx
- http://msdn.microsoft.com/en-us/library/dd799517(VS.100).aspx
- http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-html-interop-amp-dynamic-language-features.aspx
- http://msdn.microsoft.com/en-us/vcsharp/ee957397.aspx
- http://karlshifflett.wordpress.com/2009/11/19/silverlight-3-4-library-sharing-with-net-4-0-library-or-wpf/
- http://blogs.msdn.com/clrteam/archive/2009/12/01/sharing-silverlight-assemblies-with-net-apps.aspx
No comments:
Post a Comment