Whats new in Silverlight 5

On September 4, 2011, in Silverlight, by admin

Silverlight 5 adds over 40 new features over last Silverlight version. For more information on the Silverlight 5 announcements check http://www.microsoft.com/silverlight/future. Multiple Window Support Multiple window support enables a trusted application to dynamically create additional top level windows. Ancestor RelativeSource Binding Ancestor RelativeSource Binding enables a DataTemplate to bind to a property on the control […]

Tagged with:  

Windows Phone Toolkit Explained

On September 1, 2011, in Controls, by admin

Straight from Microsoft, Silverlight for Windows Phone Toolkit provides the developer community with new FREE components, functionality, and an efficient way to help shape product development. Toolkit releases include open source code, samples & docs, plus design-time support for the Windows Phone platform as well as the Silverlight browser plugin. In this toolkit you will […]

Pros and Cons of application library caching and GPU acceleration in Silverlight

On August 30, 2011, in Performance, by admin

Reduce XAP size by using application library caching Advantages This reduces the XAP size by allowing those libraries configured with a dllname .extmap.xml file to be placed in individual zip files. These zip files will be requested as part of the initial XAP download. The advantage comes in two scenarios. First if you update your […]

Silverlight/WPF Interview Questions

On August 29, 2011, in Silverlight, by admin

Here is the list of some of the Interview questions for Silverlight technology. Entry Level Strong .NET 2.0 Background & willing to learn! Explain dependency properties? What’s a style? What’s a template? Binding Differences between base classes: Visual, UIElement, FrameworkElement, Control Visual vs Logical tree? Property Change Notification (INotifyPropertyChange and ObservableCollection) ResourceDictionary  UserControls difference between […]

Tagged with:  

How to profile a silverlight application

On August 29, 2011, in Performance, by admin

Try profiling with the Visual Studio profiler in order to get a good measure of your managed code and the native code executing within Silverlight. The profiler will help point you to where you’re spending the most of your time (what the hot path’s are) and whether or not your spending it in framework (SL) […]

Tagged with:  

Optimize Silverlight applications for smaller size

On August 29, 2011, in Performance, by admin

When putting content on the web, it’s important to get that content to the user as quickly as possible. In general, reducing the amount of data users need to download is a big step in the right direction. As Silverlight applications are usually linked with rich user interface these includes lot of images and other […]

Tagged with:  

Silverlight MVVM light toolkit best practices

On August 28, 2011, in MVVM, by admin

Basic Usage of MVVM-Light Intialize the DispatcherHelper in the App.cs file’s Application_Startup function Create ViewModels from the BaseClass Always Create a ViewModelLocator class, which contains all your view models and is Linked in your application Resources Use RelayCommands to expose Functions to your view Learn when to use the DispatchHelper. Clean-Up Ideas: When appropriate, add […]

What is Dependency Property

On August 28, 2011, in Silverlight, by admin

A dependency property is a property on one object whose value depends on some other object. So, for instance. The value of the FontFamily property of a TextBox can (and usually does) depend on the FontFamily property of its container. If you change the property on the container, the value on the TextBox changes. The […]

Tagged with:  

Silverlight Auto logout user after 10 minutes of inactivity

On August 23, 2011, in Tips, by admin

  Many projects have requirement to logout a user after some time of Inactivity user has not performed any activity for past 10 minutes we need to auto logout the user. Solution Use DispatcherTimer SMNetworkTimer = new DispatcherTimer(); Sample implementation App.xaml.cs   Declare a timer in app file as as follows public static System.Windows.Threading.DispatcherTimer _Logouttimer […]

Tagged with:  
Premium WordPress Themes