Silverlight or ASPX ?

by 9 replies
11
I am using Silverlight since last 25 days and it changed the way of coding. I am embedding everything in xap which makes me little confuse.

My Question:

1. To what extend we need to write the code in aspx

2. If I am developing and ASP.NET application with Silverlight what proportion of code normally I need to put in XAML considering all pages are fully powered by Silverlight pages.
#programming #.net development #asp.net #aspx #microsoft #silverlight
  • I've worked a lot with Silverlight too but I am confused by what you are asking.

    Think again about your question and post again, I'm sure that I or someone else can help you.

    Regards
    • [1] reply
    • I also can't understand what type of help he want
      • [1] reply
  • Are you trying to compare Silverlight with just a basic WinForms aspx page? Your question is confusing to me as well...
    • [2] replies
    • my question is simple i want to know that which is best S silverlight or ASPX ?
    • Your FREE RSS Guide is too good
  • Each has a different purpose. If one was clearly better, Microsoft would eliminate the other one.

    I assume you're aware that
    • Silverlight requires a browser plugin for client rendering
    • Silverlight objects must be contained inside a web page
    • ASPX generates web pages that can be viewed in any browser
    • ASPX pages are suitable containers for Silverlight objects
    • Silverlight UI uses XAML and provides extensive media and interactivity options run on the client
    • ASPX UI uses DHTML, CSS and Javascript with interactivity provided by the client and media by additional contained objects, which could be in Silverlight
    • ASPX pages go through the rendering pipeline on the server and state can be maintained on the server
    • Silverlight objects do not have a rendering pipeline on the server and there is no corresponding server state
    • Both can make server callbacks, and a Web Service would be an appropriate server target for the callback
    • Both can host .Net code in MSIL, originally written in any language
    • The Silverlight plugin provides a smaller version of the .Net runtime library than is available on the server
    If there are any of these points that you don't already understand, then you really need to go through some tutorials. These are all very important points to understand before you can decide which is best for a particular application. If the implications of these points is not immediately obvious, then you are in way over your head. You need to learn the fundamentals rather than demanding an answer to a nonsensical black & white "which is best" challenge.

    Regards,
    Allen
  • i will say that silverlight is geared to highly fancy and interactive stuff

    if you don't need it, then move on to asp.net (either normal web form or ajax)

Next Topics on Trending Feed