Home > Silverlight > HTSession : Load Assembly On Demand basis

HTSession : Load Assembly On Demand basis

Hi,
Some when we add images to be part of silverlight application, it makes XAP file to be pretty heavy. If we maintain XAP file heavy,it takes more loading time for a page. So we have to maintain XAP resource to be loaded on demand basis. I have used webclient class to make request and download stream of resources from server. Suppose if we want to load assembly , Here assembly is silverlight library, We can request dll by passing uri to webclient to get the dll from server. We use AssemblyPart class to load dll into Appdomain.

Here is the video for rest of the content

For presentation : Application in detail

For Code: – OnDemandLoadAssembly

Please provide your valuable feedback.

-Mahender

Advertisements
Categories: Silverlight Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: