Recently in the use of ASP . A simple website, the page is not much, is a number of additions and deletions of data to change, art also do not need me to consider more.
Before school, in fact, have done a website or something, did a blog system, imitated the part of Happy network function. It's not a strange thing to do a website with ASP. After work has been using Silverlight, the initial learning when it feels good simple, connect the database, the model, the bottom of all OK, write some operations on their own, so comfortable a year later, I then use ASP. NET to do the site, feel good trouble ah. Maybe I didn't feel the power of ASP.
1. ASP. NET object class, I have to write my own, I an Order class 80+ field, write in each, well, I know there is a soft software can assist, but only temporary use, I do not like to install these software on their own computer, this way, reflects the Silverlight model, How fast and convenient it is to build domainservice.
2. Although there is no need to think a lot about art, at least I make the interface look neat. Div sometimes really very flexible, I feel that the flexibility of things, you need to control it well, otherwise you will not get the effect you want, I tried for an effect, the div n multi-attribute n multi-value, a little change did not see, finally had to use the rigid table solved, I still prefer the grid in Silverlight, which also has the freedom to scale and expand, and each control also has minheight, MaxHeight and other properties to use.
3. Bind the data, think I have a headache, from the database to tune a piece of data out, 80+ field, I assigned to the corresponding control, after the modification, I can not know where the user modified, so I have to give each control value of one by one assigned to my object, background write data, Each field in the database is update. The amount ... I'm not a diligent person, I prefer Silverlight, the control bound field, the control is in the container binding object, save I just call the Submit () method can be, it will be the change to package a changeset sent back to submit processing.
Said this, can only show that I am a relatively lazy person, the difference there are more than N, I also said not, in fact, I think, data processing, I feel that the Silverlight is better, it put a lot of things are packaged well, reduce the occurrence of errors, packaging good things feel unsuitable, can also go to modify, Generally, this change is rare. Silverlight can also make a lot of cool and flashy things come out, this I have purely seen no one did not say much.
Although the development of hardware software is very fast, but undeniable, now still have n many users with the configuration of a few years ago, Silverlight requires a IE8 kernel, the user's machine to upgrade, assembly good. ASP . NET is not required, but for developers, developers need to consider the effects of the Web sites they make on different browsers and need to test them over and over again.
Each has its own advantages, it depends on how to choose.
Asp. NET and Silverlight Simple comparison