Page view counter
Fundamental questions on Silverlight
Last post 10-08-2008 12:31 AM by VixMVP. 2 replies.
Sort Posts:
10-07-2008 12:51 AM
Fundamental questions on Silverlight
Hi,

I am exploring silverlight from last couple of months,I am loving it too, but I have some questions for which I am not getting answers :

1. When Silverlight Runtime is get checked? and we have Install Exp. screen? is it after loading XAP or when request is made for Silverlight Application?

2. Who download XAP on client side? is it some downloader object or WebClient? or .NET framework comes into Picture?

3. While Silverlight application is running, is there a thread getting maintained with server,means if server stops responding by whatso ever reason then will Silverlight is suppose to run still since its client side?

4. Once XAP got downloaded then where usually it get stored? in Temp. Internet files?

5. Since Silverlight is hosted in asp.net application mostly, so does rendering happen from actual CLR on server,if so how since XAP is zip format?
or it is all together manage by CoreCLR[Which I read on net that its another name for Silverlight Runtime,correct me if I am wrong] ?
6. Is there any valid mechanism by which I can put Silverlight Runtime files[Required to Run Silverlight] in my application itself while deploying it,so that my user will not require to download it,since I am the developer and I know which Silverlight version I am targeting. 
Looking ahead for reply, Sorry my questions may sound too basic for some people,Since I am new one to this technology.
I am using Visual Studio 2008,Blend 2.5 Preview[latest one] and Silverlight 2 Beta 2

Thanks,
Vikram Pendse.

 

VixMVP

Loading...
Joined on 10-07-2008
Posts 9
10-07-2008 12:35 PM
Marked as Answer
Re: Fundamental questions on Silverlight

1. the <object> tag is the silverlight runtime control, if you do not have the control then the browser renders the install image in a normal html anchor.

2. the silverlight runtime control (once installed) downloaded the XAP (its a zip file) and extracts the code and resources as required. the  splashscreensource parameter can set a .xaml file to download first and act as a loading screen/animation.

3. the code is all client side except for any additional/option server side web services files etc you may have added in which case it is the same as an AJAX javascript based web page.

4.  its a normal web browser file download the same as if your web browser downloaded an image, so yes its in the normal cache. (FF about:cache)

5. to keep the intiall Silverlight install small the CLR is very limited, if you look at most .xap file there various common .dll controls e.g. System.Windows.Controls.Extended.dll but it is still all client side.

6. no

metal

Loading...
Joined on 04-24-2008
Posts 109
10-08-2008 12:31 AM
Re: Fundamental questions on Silverlight

Thanks a lot !! 

VixMVP

Loading...
Joined on 10-07-2008
Posts 9
Microsoft Communities