How do I add animations using Microsoft Expression Blend ?

Animations can be added to objects in an XAML file when a particular event is raised. To add an animation to an object, select ’Animation Workspace’ from Tools menu or press ’F7’. In the triggers panel, Click on the ’Add Event’ button and select the event on which animation has to be played. Click on the (+) button and select ’Begin’ option from the combobox. Add a timeline and add animations to be applied over the timeline.

Can a WPF application be designed using Microsoft Expression Blend ?

Yes. WPF application can be created using Expression Blend. When an object is placed, it automatically creates it’s corresponding XAML code and when saved, .csproj is created. This file can then be opened using the Visual Studio.NET and other procedural coding can be added. Similarly a WPF application created using the Visual Studio.NET can be opened using Expression Blend to apply design changes.

Does permission set of partial trust change in the Local Intranet and Internet?

Yes. The permission set of a partial trust changes based on the zone it is run from. It has more permission when run in local intranet than when run using the internet. In the default permission set of partial trust, the following permissions are restricted when the application is run from the internet. Accessing DNS server. Reading Environment variables. File dialogs other than open file dialogs. Assembly isolation by user. Default printing. Assert granted permission.

How to get data from database in XBAP application ?

XBAP application runs with partial trust security and therefore the sandbox does not allow the XBAP application to read data from a database directly. In order to read data from the database, a web service can be used to read the data from the database in the local storage and return the dataset back to the XBAP application.

I am able to access the registry using full trust XBAP application in debug mode, when hosted in an intranet, the application crashes. What do I do?

The application crashes due to insufficient access to registry even if you have a local intranet certificate. The issue is, you get access to the registry using the CLR in debug mode, whereas when hosted in local intranet, NT security restricts you from accessing the registry, giving full access to registry in the NT security to the administrators and power users group.