2 of 2 people found the following review helpful
4.0 out of 5 stars
Solid book with plenty of information, April 6 2009
By Dotnetsky "Dotnetsky" - Published on Amazon.com
This review is from: Professional Silverlight 2 for ASP.NET Developers (Paperback)
Don't be confused by the title of this book - it's 95% about Silverlight. I think its just one of those "publisher title formulas". Of course, most all Silverlight development is done by "ASP.NET" developers because you are using Visual Studio 2008 and an ASP.NET Web project to host the Silverlight control. And of course, Expression Blend will also load a Silverlight Visual Studio project to do your design work and XAML layout.
Jonathan Swift, Chris Barker, Dan Wahlin, and Salvador Patuel have put together a very well-designed, informative book on all major aspects of working with Silverlight 2. I am not familiar with all the authors, but I know Dan Wahlin pretty well and he's a real thinker. Dan is the one who, among other contributions, designed the WCF polling duplex game app.
The book starts out with the obligatory first chapter about Silverlight / history and so on. But from that point on it gets a lot better.
Chapter 2 provides a feature - complete description of Silverlight Architecture, what's "in" and what's "out", and XAML.
Chapter 3 is a condensed treatise on XAML and why you need to learn how to use it.
Chapter 4 gets into the actual programming model of Silverlight, how applications are composed, namespaces, pages, Javascript, DOM manipulation, the SL Object Model, Dynamic XAML, Events, Threading, Routed Events, BackgroundWorker, and a lot more.
Chapter 5 deals with Expression Suite and creating the User Interface. You get a whirlwind tour of the Expression family of products, the layout process, controls, full-screen support, localization via resources, and more.
Chapter 6 comprises a comprehensive treatment of all the Silverlight controls, including the new Toolkit controls. Forty five pages worth!
Chapter 7 provides coverage of Styles and Templates - inline styles, specifying styles, overriding styles, and templating along with VisualState and template binding.
Chapter 8 covers User Interaction - UIElements Events, consuming properties, input devices, storyboards, keyboard, ink, drag and drop, and navigation, with lots of great code samples, visuals and charts.
Chapter 9 gets into the area of communication- Networking, data processing, Cross-Domain support, policy files, WCF and ASMX services, service proxies, REST API's and services, processing XML data, JSON, serialization, sockets, feeds, and more.
Chapter 10 covers all the data framework options, LINQ, Data controls, data binding, complex binding and conversions, dependency properties, data repositories, Isolated Storage, ADO.NET Data Services and more.
Chapter 11 is devoted entirely to the creation of Custom Controls and control architecture.
Chapter 12 covers security - the Security Model, Cross - Domain Security, and integration with ASP.NET Security. It ends with some coverage of obfuscation.
Chapter 13 provides feature - complete coverage of audio and video in Silverlight.
Chapter 14 covers graphics and animation.
Chapter 15 explains troubleshooting and debugging techniques, along with testing and exception handling.
Chapter 16 provides about the best coverage I've seen on Game loops and performance considerations in developing Silverlight apps.
I was surprised at the level of depth this book goes into about Silverlight - even thought just released, it really wasn't on my radar until I asked Dan Wahlin about it. I'm not sure that the book has been properly promoted. But rest assured, I believe this book is "up there" in the top 4 or 5 books about Silverlight. It is very well written and orderly, loaded with excellent charts, graphics and source code examples (all in C# - along with downloadable Visual Studio solutions for almost all chapters), and it covers topics that other Silverlight books either skim over or do not cover at all. Definitely worth your while. The book lists for $49.95 and can of course be found at online discounters for less.
1 of 1 people found the following review helpful
4.0 out of 5 stars
If your an Asp.Net developer wanting to learn Silverlight, get this book, Aug 24 2009
By Colin Brown "Colin Brown Microsoft MVP" - Published on Amazon.com
This review is from: Professional Silverlight 2 for ASP.NET Developers (Paperback)
Writing a programming book is extremely difficult. You generally either end up wallowing in a blancmange of technical details suitable only for egg-heads like me or you end up with a meringue, so light on details that your granny would understand every word.
Professional Silverlight 2 for ASP.Net developers is like a lemon sorbet fitting nicely in-between the two. Light enough to make for easy reading but with enough bite in the technical department that you walk away with a very good knowledge of actually how to do things. Wrox are known for their tombstone like manuals that are everything to everybody, desktop reference books. Over the years Wrox has went from being the absolute authority on programming (if you are old enough you will remember the Wrox book on classic Asp which was the bible for Asp programmers), to books that I honestly wouldn't expend the energy to lift up. Lately however Wrox have been retracing their steps back to the good old days and this book on Silverlight 2 is definitely a step along that path. It comes in lighter than most Wrox books at only a tad over 600 pages so you don't need professional weight bodybuilding classes just to lift it, but is packed with knowledge and information.
As you might guess from the title, this book is not for programming newbie's and expects that you have a good understanding of ASP.Net, it's page lifecycles, event models, and the underlying .Net Framework. This book was written squarely for Asp.Net developers who want to get to grips with Microsoft's new(ish) Silverlight component. Silverlight 1 was fairly limited in what you could do with it and your only programming choice was JavaScript. Silverlight 2 introduced a condensed .Net Framework and CLR and therefore opened up the programming realm to C# and VB.Net programmers.
After a brief introduction into the Silverlight world and how it is architected, you delve straight into the meaty aspects of Silverlights XAML model, a cut down version of the full client side XAML model and how to interact with the Silverlight objects in your code-behind. A chapter is dedicated on how to layout your Silverlight application detailing what controls are available to you and giving you tips and guidance on how to appropriately scale up for full-screen mode if you should decide to allow users to use this option. Next the book moves on to varied user controls that come pre-packaged with Silverlight 2, what they are, they're various properties and quirks and also refreshing to see is some details of controls in the Silverlight Toolkit, a separate download that adds further controls and functionality Silverlight.
Most Asp.Net developers are trying to produce standards based, best practice websites and they are a myriad of options on how to style objects and controls available within the Asp.Net framework from CSS to theming. Silverlight 2 also has these options available albeit slightly differently, there is no CSS as per se, but there is an equivalent. Chapter 7 of the book covers all of these in detail, except for one which I found odd. The book does cover best practices in separating content from styling but then does not proceed to it's natural conclusion in removing the styling from the actual page and into a separate resource file. This strangely comes much later in the book under the chapter of working with data and appears to be a bit of a disconnect. A fairly minor gripe as the author's do indeed cover the subject, along with best practices and explanations as to why.
Every application needs interaction and responding to what the user is doing, the next chapter covers just this and goes into sufficient detail that you not only know about events from the built in controls but the authors give you a good explanation of the actual event model should you decide at some point to build your own controls. It's certainly not an exhaustive view of the event model but certainly enough to get you started with your own controls. This is nicely rounded out with a chapter later in the book on precisely that, how to build your own controls.
The next major chunk of the book deals with communicating with the server and data. Silverlight 2 is a client application with your code-behind actually running client side and not server side like you are used to with the Asp.Net programming model, therefore getting data in and out of Silverlight is slightly different. The book details well all of the possible ways that this can be accomplished and the various ways of actually getting that data into your controls and onto your page. Special attention is paid to data binding which is done slightly differently in Silverlight than in Asp.Net.
When Silverlight 1 first appeared on the scene, most thought of it as the beauty queen of plugins, very pretty but not much substance. Silverlight 2 retains the looks of its' predecessor but adds some meat to the bones rounding out a very nice package. The next section deals with the blush and lipstick of Silverlight, what makes it different from it's main rival Flash, and how to take advantage of this added power and graphical wondrousness. Finally it rounds off with a few chapters on how to Troubleshoot Silverlight errors and your inevitable programming glitches and performance considerations that you should take into account with best practices on how to do this. Remember, Silverlight is a client application and therefore everything has to be sent to the client, but there are ways to do this so that your web page doesn't take an orbit of the sun to load.
This is the first Silverlight 2 book that I have read that really does take into account what knowledge you should have programming web pages in Asp.Net and transferring and molding that knowledge so that it is relevant to Silverlight. The authors have done a fantastic job and given you enough details that you can be confident to get good looking and fully immersive applications in Silverlight 2. If you are an Asp.Net developer who has a future project that will use Silverlight 2 or you just want to dip your big toe into the pond and make some waves then I thoroughly recommend this book.
1 of 1 people found the following review helpful
4.0 out of 5 stars
Silverlight 2, More to Come, Jun 6 2009
By H. A. Vander Leest "The Faster I Go, The Fart... - Published on Amazon.com
This review is from: Professional Silverlight 2 for ASP.NET Developers (Paperback)
I was excited when I first opened the book. After reading it, and using the code examples I downloaded, I can say it's worth it! I am still going over the various chapters, I found Chapter 4 the most difficult. Unlike many "Learn To" do something books, the code worked nearly every time and by rereading I was able to learn what was presented. It's not "light" reading if you work out the code examples with the text, but it's understandable.
I would recommend this book as a first step to aspiring Asp.Net programmers, and it's in my favorite language, C#. Only short coming is I posted a question or 2 in the WROX support forum for this book, and after 2 weeks no response there. Worthwhile...