Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can SilverLight Replace ASP.net

i am new to web development and i am learning Asp.net . i was the other day thinking and i came up with this question . i searched the web but all the answers i found were old

so my question is , can silverlight4 replace Asp.net ??

I know this question sounds crazy . but let's think for moment we use ASP.net to talk to a server.to Create files there ,to talk to a database etc.... SilverLight can do the same thing ,right?

OK,you might say that if I built a web site using SilverLight then not all users out there can access it. but apparently SilverLight supports IE,FireFox Safari and googleChrome so i guess this isn't an issue anymore .

so what do you think ,can silverlight replace asp.net?

like image 323
Mehdi Avatar asked Jan 21 '23 12:01

Mehdi


2 Answers

Probably not, that would be like flash replacing php, won't happen as silverlight is more for graphic appeal and not as quick for loading, which today is very important, because if I have to wait more than 5 seconds to view something, I will probably just hit back and try another page.

like image 84
Spooks Avatar answered Jan 24 '23 02:01

Spooks


No, Silverlight can't communicate with the resources on the server like ASP.NET can. Silverlight runs on the client while ASP.NET runs on the server. To have a web page that interacts with the server you still need a platform with access to the resources on the server that the interface can talk to.

The question is rather if Silverlight can replace HTML as user interface. HTML might be replaced by something else in the future, but that won't be for some time yet. Silverlight might not even be around any more if/when that happens.

like image 23
Guffa Avatar answered Jan 24 '23 03:01

Guffa