Thursday, January 29, 2009

.Net Frameworks and Silverlight

Friends as I said that I will post about topics that often surfaces on Asp.net Forums as well as Orkut Communities. So here's one of the question I came across:


Is it possible to Use SilverLight with Asp.net 2.0?

Answer : No


You can not use it directly with Framework 2.0 but of course you can use it with Framework 3.0 and 3.5. But in a way if you want to use Silverlight with your application developed with framework 2.0 then you just have to compile all the Silverlight files in Framework 3.5 and add reference of it in your application. That's It!!


Though it becomes confusing for people when experts say that yes you can do it with Orcas. Just compile your files in Orcas, add them in your application with proper reference. People often wonder what is this Orcas? Orcas is the Codename for .NET Framework 3.5.


Here are some Codenames of .NET Frameworks :

  • Framework 2.0 - Whidbey
  • Framework 3.0 - Vista
  • Framework 3.5 - Orcas


Silverlight applications can be written in any .NET programming language. Microsoft has positioned Expression Blend Version 2.0 and 2.5 for designing the UI of Silverlight 1.0 and 2 applications respectively. Silverlight 2.0 is the Latest Version.


Mono is a project led by Novell, which provides you with similar kind of IDE of .NET .It can be run on Linux, Unix, Mac OS X, Solaris, and of course Windows. Latest Version of Mono is 2.2.


The same Mono team is developing Moonlight, open source implementation of the Silverlight 1.0 and 2.0 runtimes. This project is officially supported by Microsoft. Lates version of Moonlight is 1.0 that was released on January 20, 2009.


Here are two sample application developed in Silvelight..just check them out..

Hard Rock Memorabilia and Mscui


To know how to make Silverlight work with VS2005 (Indirect way) , Click Here


I hope this post will be helpful !! :)

Thursday, January 22, 2009

Add Windows XP entry to GRUB

This time i am writing this post for those who are new to Linux environment just like me. Few Days back my one of the friend helped me to make my Windows XP default operating system when it boots. But it was not done properly so i decided to solve the problem. For Adding/ Changing boot option, one has to change the settings in the Menu.lst file in Linux (Mine is Ubuntu 7.10).

For editing Menu.lst file you have to enter command as shown in the following image.

It will ask for administrator password if you are not having enough privileges. Once you are in that file then you will find explanation in that file, how to edit and all that stuff. Lines starting with # indicate that they are comments. Go through below image how to make entry of Windows XP in Menu.lst


If you are not able to see in the screenshot then you can go through below given lines. In your Menu.lst file, you will find option root(hd0,0) or similar to it. you have to set that option on the basis of your hardware configuration and on what partitions Operating Systems are installed.

title Windows XP 64
root (hd0,0)
savedefault
makeactive
chainloader +1

It would be better if you add above lines after all the entries of your Linux Operating System (Ubuntu) or you might not be able to set it as default O/S.

If you are Windows User and find it somewhat difficult then you can download one GUI Tool "StartUp-Manager"
.
StartUp-Manager, or SUM, is a python-glade GUI tool for configuring some things in grub and usplash.

To download and install StartUp-Manager, download the DEB package attached to SUM’s official spot on the Ubuntu Forums here. Homepage can be found here. Here's the screenshot of it.



I hope this helps!! I am going to post solution of all those Dot Net questions very soon that are very common and often surfaces on the Asp.net Forums and Orkut Communities.

Wish you all a great Weekend !!


3/\/J0! :)