By Jonathan Swift, Salvador Alvarez Patuel, Chris Barker, Visit Amazon's Dan Wahlin Page, search results, Learn about Author Central, Dan Wahlin,
Our overarching aim in penning this booklet used to be to provide ASP.NET builders the facility to fast and simply create visually attractive web functions, coupled with wealthy interactivity to completely immerse the person in a brand new on-line event. Silverlight can provide every thing you want to do exactly this, and in severe style!
As good as taking you thru each one function that ships with Silverlight, this e-book will be certain you’re in a position to debug, troubleshoot, and performance-tune your Silverlight purposes, in addition to seamlessly hook into your latest ASP.NET structure and code base.
This publication is aimed toward .NET builders and designers who are looking to quick wake up to hurry with all that Silverlight 2 has to offer.
As good as overlaying the breadth of good points that Silverlight 2 offers, this ebook makes some degree of demonstrating the place worthy how the actual characteristic should be built-in tightly with the ASP.NET host program. An instance is in bankruptcy 7, the place the ASP.NET Profile carrier is applied without delay from inside Silverlight to procure user-specific data.
It’s reasonable to claim that even if this booklet is aimed toward ASP.NET builders, it covers the entire salient positive aspects 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'll want to try out a starting .NET ebook first, that will help you conquer the syntax and set-up queries whilst studying a brand new language. in a different way, take a deep breath and dive in!
This publication covers the entire characteristic set of Silverlight 2, diving into all of the topic parts to offer intensity and breadth insurance. in addition to instructing you concerning the part components of the Silverlight API, the ebook additionally covers debugging, troubleshooting, and performance-tuning your Silverlight functions, arming you with the entire abilities and information you’ll have to create complex Silverlight-based functions in checklist time.
Importantly, this ebook covers the mixing issues among ASP.NET and Silverlight, taking you thru different recommendations you should use to seamlessly increase your present or new ASP.NET websites with the facility of Silverlight.
If you must application in Silverlight and in all likelihood use ASP.NET because the host, then this e-book covers it all.
The publication is divided into specified 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 offer you grounding in what Silverlight is as a know-how 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 software jointly is explained.
Part II is written to provide you intensity of information around the Silverlight feature-set and aid you leverage the facility of either Silverlight and ASP.NET to create compelling applications.
A short synopsis of the content material follows:
“Silverlight in a Nutshell”—This will educate you at a excessive point what Silverlight is and the way it could possibly assist you convey enticing, immersive net purposes. Differentiating Silverlight from different Web-based applied sciences is additionally coated the following, and an outline of the necessary improvement surroundings is equipped. in brief, after interpreting this, you’ll be capable 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 permits you to speedily construct a well-rounded program with an outstanding person interface, but when you come upon any difficulties in the course of improvement, it will be vital that you can comprehend the underlying structure upon that you are constructing. This outlines the center positive factors of Silverlight 2 and courses you round the development blocks of this hugely versatile framework, paying specific consciousness all through in 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 become familiar with the fundamentals of this multi-purpose declarative language. Hooking the XAML documents as much as .NET code can also be proven the following, aiding you inject dynamic event-driven activities into your Silverlight UI. eventually, one approach for the dynamic production of XAML is proven, by means of a travel of Expression Blend.
“Creating the consumer Interface”—You now understand how to application Silverlight and the way to jot down XAML. This indicates you ways to place all of it jointly to begin laying out the person interface of your Silverlight software. all the format controls that send with Silverlight is roofed here—
TabControl—including details on whilst to take advantage of which one. details on how you can create a scalable UI is usually supplied, ultimately by way of a bit that information how one can localize your program, thereby making it to be had to different languages and cultures.
“Silverlight Controls”—Silverlight 2 presents an collection of controls that may be used to exhibit and trap info. during this, you’ll learn how to paintings with consumer enter controls, goods controls, and media controls and spot how they are often placed to exploit to construct interactive and wealthy consumer interfaces. You’ll additionally the best way to use controls equivalent to the
MultiScaleImage keep an eye on to paintings with Silverlight’s Deep Zoom technology.
“Styles and Templates”—Altering the feel and appear of your software is the crux right here, with the various thoughts for making use of styling info to the controls that contain it verified the following. in addition to this, integrating with the ASP.NET Profile carrier through WCF is precise, providing you with the facility to customize your Silverlight software on a per-user basis.
“User Interaction”—What’s the purpose of getting a very good know-how like Silverlight 2 if we can’t engage with it? We evaluate different ways in which you could have interaction along with your software, knowing how the
UIElements paintings with enter units just like the keyboard, mouse, and stylus. We additionally discover different how you can navigate round the program and current different thoughts that we have got and during which eventualities each is preferred.
“Working with Data”—It is all approximately facts! one in all my colleagues continually says, “If you're not utilizing facts binding in Silverlight 2, you're doing whatever wrong!” This explains the knowledge framework on hand inside of your purposes after which deeps dive into the interior workings of knowledge binding, exhibiting you the various methods that you could be take. so one can know how the knowledge is retrieved, we clarify the several applied sciences and strategies to get the main of Silverlight 2 info utilizing the to be had information controls. ultimately, this explains how one can manage the information utilizing LINQ and LINQ to XML.
“Creating customized Controls”—This will take you on a trip with the intention to realize the various innovations that you've got on hand to customise the Silverlight 2 controls. we begin exploring the consumer regulate version that ASP.NET builders are used to, after which we dig into the internals of visible customization. you'll be surprised by means of this robust new version. ultimately, in case you have to push the expertise to the restrict, this explains the right way to create an entire customized keep watch over from scratch.
“Securing Your Silverlight Application”—Whether you’re an company developer or a Silverlight hobbyist, you will are looking to liberate your program out to the wild at some point soon. In doing so, you're delivering a excessive point of publicity on your software, and consequently defense shouldn't be an afterthought. fortunately, Silverlight 2 has a safety framework equipped into the run time, with a view to provide the peace of brain of operating inside of a safe setting. This introduces you to the Silverlight safeguard framework, but in addition talks you thru your protection duties as a Silverlight developer.
“Audio and Video”—Embedding high-fidelity audio and video on your Silverlight program is bound to trap your clients’ imaginations, and this indicates you ways you are able to do simply this utilizing the Silverlight-provided
MediaElement keep an eye on and the ASP.NET Media Server regulate. Playback regulate is confirmed, as is the extra complicated subject of supplying synchronization issues inside of your selected media. it will certainly assist you placed the WOW issue into your internet sites.
“Graphics and Animation”—A specified journey of the pics API that ships with Silverlight is first mentioned the following, together with the
Shape-derived items that may be rendered to display 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, protecting the construction of DeepZoom-enabled photographs utilizing the DeepZoom Composer and their utilization on your Silverlight software through the
MultiScaleImage regulate. ultimately, different animation recommendations so you might use inside of your Silverlight program are lined, starting from the fundamental From/To/By kind to the extra complex Key body varieties, together with the various transition mechanisms within.
“Troubleshooting Silverlight Applications”—Writing an program from begin to end with none improvement matters remains to be particularly a way off. This introduces you to more than a few suggestions and instruments that will help you during the tough instances while your software isn’t behaving as you are going to count on it to. in addition to retrospectively solving difficulties inside of your software, this concludes with the extra proactive process of making sure that your program hits a recognized caliber bar sooner 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 an exceptionally robust and versatile framework. Its inherent flexibility frequently signifies that there are numerous how you can in achieving your pursuits. In picking an alternate course, you'll frequently locate that the penalty is negative functionality. this offers a sequence of best-practice suggestion to permit you to make an educated determination in case you hit these forks within the street. furthermore, you are going to the way to tool your code for you to easily establish the bottlenecks inside your application.
To get the main out of this publication, it’s advised that you simply code besides the examples supplied, both via copying the code proven within the chapters or by way of downloading the samples and working them yourself.
To do that, you’re going to want visible Studio 2008, that is on hand to obtain from MSDN, supplied you may 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 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 persist with the examples that use Microsoft Expression mix or the Deep Zoom Composer, you can even obtain those from
As good as those software program necessities, you will want a uncomplicated operating improvement wisdom of Microsoft .NET and feature event in Web-based improvement. a keenness for growing wealthy net functions is beneficial, even though no longer necessary!