By Jonathan Swift, Salvador Alvarez Patuel, Chris Barker, Visit Amazon's Dan Wahlin Page, search results, Learn about Author Central, Dan Wahlin,
Our overarching objective in scripting this publication was once to offer ASP.NET builders the ability to speedy and simply create visually beautiful net purposes, coupled with wealthy interactivity to completely immerse the person in a brand new on-line adventure. Silverlight promises every little thing you want to just do this, and in critical style!
As good as taking you thru each one function that ships with Silverlight, this e-book will ensure you’re capable of debug, troubleshoot, and performance-tune your Silverlight functions, in addition to seamlessly hook into your latest ASP.NET structure and code base.
This e-book is aimed toward .NET builders and designers who are looking to speedy wake up to hurry with all that Silverlight 2 has to offer.
As good as masking the breadth of positive factors that Silverlight 2 offers, this e-book makes some degree of demonstrating the place worthwhile how the actual function may be built-in tightly with the ASP.NET host program. An instance is in bankruptcy 7, the place the ASP.NET Profile provider is applied without delay from inside of Silverlight to procure user-specific data.
It’s reasonable to claim that even though this e-book is aimed toward ASP.NET builders, it covers the entire salient beneficial properties of Silverlight 2 to the measure that it’s an invaluable programming source for builders now not utilizing ASP.NET also.
If you’re clean to .NET improvement, even though, you should try out a starting .NET publication first, that will help you conquer the syntax and set-up queries whilst studying a brand new language. another way, take a deep breath and dive in!
This ebook covers the entire function set of Silverlight 2, diving into all of the topic components to provide intensity and breadth assurance. in addition to educating you concerning the part elements of the Silverlight API, the ebook additionally covers debugging, troubleshooting, and performance-tuning your Silverlight functions, arming you with all of the abilities and information you’ll have to create complex Silverlight-based functions in checklist time.
Importantly, this booklet covers the combination issues among ASP.NET and Silverlight, taking you thru the various recommendations you should use to seamlessly increase your current or new ASP.NET websites with the facility of Silverlight.
If you need to software in Silverlight and probably use ASP.NET because the host, then this booklet covers it all.
The publication is divided into designated components. half I is titled “Silverlight basics for ASP.NET Developers,” and half II is titled “Developing ASP.NET purposes with Silverlight.” half I is meant to provide you grounding in what Silverlight is as a expertise and the way it matches into the Web-based panorama. The part items of a Silverlight program also are laid out at a excessive point, and any wisdom required ahead of placing an program jointly is explained.
Part II is written to offer you intensity of information around the Silverlight feature-set and make it easier to leverage the ability of either Silverlight and ASP.NET to create compelling applications.
A short synopsis of the content material follows:
“Silverlight in a Nutshell”—This will train you at a excessive point what Silverlight is and the way it might probably assist you carry enticing, immersive internet purposes. Differentiating Silverlight from different Web-based applied sciences is additionally coated right here, and an outline of the necessary improvement surroundings is supplied. briefly, after interpreting this, you’ll manage to describe Silverlight and clarify why you’d are looking to use it and what provides it the sting over the competition.
“Silverlight Architecture”—Silverlight helps you to swiftly construct a well-rounded program with a superb consumer interface, but when you stumble upon any difficulties in the course of improvement, it will be vital so you might comprehend the underlying structure upon that you are constructing. This outlines the middle good points of Silverlight 2 and publications you round the development blocks of this hugely versatile framework, paying specific recognition all through on your ASP.NET heritage.
“XAML Condensed”—Quickly getting on top of things with XAML is what this can be all approximately, supporting you sweep apart the syntax queries and familiarize yourself with the fundamentals of this multi-purpose declarative language. Hooking the XAML documents as much as .NET code can also be proven the following, supporting you inject dynamic event-driven activities into your Silverlight UI. ultimately, one method for the dynamic construction of XAML is proven, through a journey of Expression Blend.
“Creating the consumer Interface”—You now understand how to software Silverlight and the way to put in writing XAML. This exhibits you ways to place all of it jointly to begin laying out the consumer interface of your Silverlight program. all of the format controls that send with Silverlight is roofed here—
TabControl—including info on whilst to exploit which one. info on tips on how to create a scalable UI can also be supplied, ultimately through a piece that info the right way to localize your program, thereby making it to be had to different languages and cultures.
“Silverlight Controls”—Silverlight 2 offers an collection of controls that may be used to demonstrate and seize information. during this, you’ll discover ways to paintings with person enter controls, goods controls, and media controls and spot how they are often positioned to take advantage of to construct interactive and wealthy consumer interfaces. You’ll additionally how you can use controls similar to the
MultiScaleImage keep watch over to paintings with Silverlight’s Deep Zoom technology.
“Styles and Templates”—Altering the appear and feel of your program is the crux the following, with different suggestions for utilizing styling details to the controls that contain it established right here. in addition to this, integrating with the ASP.NET Profile carrier through WCF is special, supplying you with the power to customize your Silverlight program on a per-user basis.
“User Interaction”—What’s the purpose of getting a superb know-how like Silverlight 2 if we can’t engage with it? We overview the several ways in which you could have interaction along with your software, figuring out how the
UIElements paintings with enter units just like the keyboard, mouse, and stylus. We additionally discover different how one can navigate round the program and current the various techniques that we have got and within which eventualities each is preferred.
“Working with Data”—It is all approximately facts! considered one of my colleagues regularly says, “If you're not utilizing facts binding in Silverlight 2, you're doing anything wrong!” This explains the knowledge framework to be had inside your functions after which deeps dive into the interior workings of information binding, exhibiting you the several ways that you could be take. so that it will know the way the knowledge is retrieved, we clarify the various applied sciences and methods to get the main of Silverlight 2 facts utilizing the on hand info controls. eventually, this explains how one can manage the knowledge utilizing LINQ and LINQ to XML.
“Creating customized Controls”—This will take you on a trip to be able to realize the several ideas that you've got on hand to customise the Silverlight 2 controls. we begin exploring the consumer keep an eye on version that ASP.NET builders are used to, after which we dig into the internals of visible customization. you'll be surprised via this robust new version. eventually, if you have to push the know-how to the restrict, this explains easy methods to create a whole customized keep watch over from scratch.
“Securing Your Silverlight Application”—Whether you’re an company developer or a Silverlight hobbyist, you'll are looking to unlock your program out to the wild at some point soon. In doing so, you're offering a excessive point of publicity on your software, and hence protection shouldn't be an afterthought. fortunately, Silverlight 2 has a safety framework outfitted into the run time, so as to provide the peace of brain of operating inside a safe surroundings. This introduces you to the Silverlight defense framework, but in addition talks you thru your protection tasks as a Silverlight developer.
“Audio and Video”—Embedding high-fidelity audio and video on your Silverlight program is certain to catch your clients’ imaginations, and this indicates you the way you are able to do simply this utilizing the Silverlight-provided
MediaElement keep watch over and the ASP.NET Media Server keep watch over. Playback regulate is verified, as is the extra complicated subject of offering synchronization issues inside of your selected media. this can certainly assist you placed the WOW issue into your internet sites.
“Graphics and Animation”—A specific travel of the photos API that ships with Silverlight is first mentioned right here, together with the
Shape-derived items that may be rendered to monitor and likewise the
Geometry-derived items that may be created after which rendered through a
Brush gadgets are lined subsequent, demonstrating the
VideoBrush, and their utilization. subsequent up is the very cool DeepZoom expertise, overlaying the construction of DeepZoom-enabled photos utilizing the DeepZoom Composer and their utilization on your Silverlight program through the
MultiScaleImage regulate. ultimately, the several animation strategies for you to use inside of your Silverlight program are coated, starting from the elemental From/To/By variety to the extra complicated Key body forms, together with the various transition mechanisms within.
“Troubleshooting Silverlight Applications”—Writing an program from begin to end with none improvement concerns remains to be fairly a way off. This introduces you to various ideas and instruments that will help you during the challenging occasions whilst your software isn’t behaving as you will count on it to. along with retrospectively solving difficulties inside your program, this concludes with the extra proactive strategy of making sure that your program hits a identified caliber bar earlier than you're happy that it's able to be published. Silverlight’s checking out framework is the flavour of the day here.
“Performance”—Silverlight is a really strong and versatile framework. Its inherent flexibility usually implies that there are a number of how you can in achieving your ambitions. In settling on an alternate course, you are going to usually locate that the penalty is terrible functionality. this offers a sequence of best-practice suggestion to permit you to make an educated selection in case you hit these forks within the highway. additionally, you'll tool your code that allows you to easily establish the bottlenecks inside your application.
To get the main out of this e-book, it’s steered that you simply code besides the examples supplied, both via copying the code proven within the chapters or via downloading the samples and operating them yourself.
To do that, you’re going to want visible Studio 2008, that's to be had to obtain from MSDN, supplied you will have a subscription. in addition to this, you’ll additionally have to obtain and set up the Silverlight instruments for visible Studio 2008, which lets you create Silverlight-based functions inside of visible Studio. This set up also will look after fitting the Silverlight run time and SDK for you. you could obtain this installer from
If you need to keep on with the examples that use Microsoft Expression mixture or the Deep Zoom Composer, you can even obtain those from
As good as those software program specifications, you will want a simple operating improvement wisdom of Microsoft .NET and feature event in Web-based improvement. a keenness for developing wealthy net functions is helpful, even though now not necessary!