Managed Extensibility Framework
The Managed Extensibility Framework (MEF) has been getting a lot of interest lately and it’s something that’s out on CodePlex and it’s also part of .NET Framework 4.0.
It’s also part of Silverlight 4.
The name’s a good one – it’s a framework for building an application that is made up of a bunch of loosely coupled components with a lot of flexibility around component discovery, registration, lookup and lifetime management. If I had to sum it up in my own words I’d say something like;
MEF composes an application by extensibly discovering a set of components which offer exported functionality and ( possibly ) rely on imported functionality. The link between the two is a simple string name ( a MEF “contract name” ) which is usually represented by a .NET type name and MEF has the capability to plug things together where it finds ( possibly further constrained ) matches.
Read full post of mike here
Thursday, November 19, 2009 | Labels: silverlight | 0 Comments
How to check if Silverlight Running out of browser or in the browser ?
As Silverlight increases its Out of Browser features it will become more important to detect if the application is running in or out of the browser. This is the check:
if (Application.Current.IsRunningOutOfBrowser)
{
// Out of Browser
}
else
{
// in the browser
}
Thursday, November 19, 2009 | Labels: silverlight | 0 Comments
Why will Silverlight 4 be better for Business App Development?
- RIA Services
WCF RIA Services (formerly .NET RIA Services) makes it quick and easy to create a Service layer that wraps your Data Access Layer - whether your DAL uses the Entity Framework, LINQ to SQL, or another technology. Note the name change from ".NET RIA Services" to "WCF RIA Services." As confusing as another name change is, this helps clarify that this new release is built on top of WCF - The communications channel from the Silverlight client to the RIA Domain Service is now a *.svc file - which means we can Add a Service reference to the service side, get WSDL, and customize WCF service settings. - Cider Support
VS2010 includes a XAML editor (Cider), supporting drag/drop forms design and data binding. In the past, developers needed to learn Blend to do basic GUI form design. Don't get me wrong, I love Blend : and we will still need to switch over to Blend to take advantage of Behaviors, States, Templating, animation, drawing, and other tasks. But many developers were turned off by the fact that Visual Studio had no WYSIWYG designer for XAML. - Data Sources Window
WCF RIA Services and VS2010 now support a rapid Drag/Drop design experience which allows you to quickly put together data-enabled Silverlight applications.
Thursday, November 19, 2009 | Labels: silverlight | 0 Comments