JQuery & ASP.NET MVC &Silverlight FunPresented by Peter GfaderSenior Software Architect at SSW
Peter GfaderSSA @ SSWLoves C# and .NET (Java not anymore)Specializes in Windows FormsASP.NETTFS testingAutomated testsSilverlight
 Usage of Profile APIWeb site VS Web applicationAdditional validationEasy Q: Lucky 2 for next week?Homework?
Course Websitehttp://sharepoint.ssw.com.au/Training/UTSNET/Course TimetableCourse Materials
Admin StuffAttendanceYou initial sheetHands On LabYou get me to initial sheetCertificate At end of 10 sessionsIf I say if you have completed successfully 
AJAX History ManagementReportingASP.NET Security Last week
AJAX - behind the sceneshttp://en.wikipedia.org/wiki/XMLHttpRequestConnectionstring(local)vslocalhostvs.http://weblogs.asp.net/jgalloway/archive/2005/12/02/432062.aspxShared memory comes always first on local machinehttp://msdn.microsoft.com/en-us/library/ms187662.aspxLast week - Additional
jQueryInteractivityASP.NET MVCNice URLsSilverlightRich interactivityAgenda – Rich UI and better UX
JQueryThe SQL of JavaScript
Maps.google.comJavaScript rules!
Big time!Different Browser DebuggingNo compilingSyntaxNo intellisenseNo static typing (duck typing!!)No animationsJavaScript sucks!
The answer is?
Written in JavaScriptIt is a lightweight JavaScript library (compressed based lib, 19 kb)Helps developer / designer to keep things simple and reusableVisual Studio supports JQueryPart of every web app / siteIntellisense support A great library for developing AJAX-based applicationWhat is JQuery?
1- Cross-browser (IE 6.0+, Firefox 2+, Safari 3.0+, Opera 9.0+, Chrome)2- Powerful and easy to useSame selectors as in CSSDesigner can learn it fastMore readable JavaScript code3 – AnimationTons of useful plug-ins and functionalitiesWhy JQuery?3 good reasons
JavaScriptwindow.onload = function() { 		alert("welcome"); }JQuery$(document).ready(function() {                alert("Thanks for visiting!"); });1- Cross-browser
JavaScript“onload” is only loaded when all images are loaded in the pageJQuery“$(document).ready” is loaded as soon as the Document Object Model is readySimilar to init() method in aspx page1- Cross-browser – Explanation
Selector$(document).ready(function() {   $("a").click(function() {     alert("Hello world!");   }); });It will add any click-event to “a” tag2 – Powerful
http://tympanus.net/Tutorials/BubbleNavigation/http://demo.tutorialzine.com/2010/03/sponsor-wall-flip-jquery-css/demo.phphttp://demo.tutorialzine.com/2010/02/photo-shoot-css-jquery/demo.html3 - Animations
JQuery official http://jquery.com/JQuery UI library http://jqueryui.com/Scott Gu’s Blog http://weblogs.asp.net/scottgu/References
Bubble Navigation - http://tympanus.net/Tutorials/BubbleNavigation/Quicksand (reorder items with nice shuffling animation) - http://razorjack.net/quicksand/Nivo Slider - http://nivo.dev7studios.com/Sponsor Flip Wall - http://demo.tutorialzine.com/2010/03/sponsor-wall-flip-jquery-css/demo.phpHTC Clock - http://www.radoslavdimov.com/jquery-plugins/jquery-plugin-digiclock/Photo shoot Effect - http://demo.tutorialzine.com/2010/02/photo-shoot-css-jquery/demo.htmljQuery - Visually cool
Open Standard Media Player (jQuery + HTML5) - http://www.mediafront.org/project/osmplayerjsPlumb connector - http://morrisonpitt.com/jsPlumb/html/demo.htmljQuery.popeye - http://dev.herr-schuessler.de/jquery/popeye/demo.htmlAutoSuggestjQueryplugin - http://code.drewwilson.com/entry/autosuggest-jquery-pluginAjax Upload (show a preview of the file being upload) - http://www.zurb.com/playground/ajax_uploadjQuery - Technically cool
Check for JavaScript in page<body class=”no-js”><script type="text/javascript">document.getElementsByTagName("body")[0].className="jsEnabled";</script>CSS#your-element { display: block; }body.jsEnabled #your-element { display: none; }JavaScript tip!
What is ASP.NET MVC                         ...and is WebForms dead?
Our ancestors developed for the web in ASP script...
We have had WebForms...Compile
ASP.NET MVC    Model     -      View    -     Controller
Background of ASP.NET MVCDifference between WebForms and ASP.NET MVCTips and TricksConclusionAgenda
SmallTalkRuby on RailsSpring, StrutsMonorailMVC is not new
WebForms  == WinForm developers    MVC == HTTP + jQuery + CSS developersDoes ASP.NET MVC replace WebForms?ProductivityControl
Development
Why choose ASP.NET MVC?
Not just cool... Not just for testability...Not just because you get more control...Because you get more perspective!Why ASP.NET MVC?
	   Web is an HTTP highwayCool TechControlsHTTP / HTML
Separation of concernsControllers (Actions)ViewsModelsMore expressive of HTTP protocolTestable featuresStrongly typed support Background to ASP.NET MVC
The key actors in ASP.NET WebformsASPX page gets requestPage lifecycle with eventsCodebehind methods
The key actors in ASP.NET MVCBrowserRequestModelControllerViewResponseViewModel
So lets dive into it
DefaultProject
.Net 3.5 SP1  http://www.microsoft.com/downloads/MVC               http://www.asp.net/MVC/download/Install VS2010Advanced stepsMVCContribhttp://www.codeplex.com/MVCContribMoqhttp://code.google.com/p/moq/What you need to get started in MVC
Watch the NerdDinner Tutorial   http://www.asp.net/MVCWatch the MVC StoreFront Demohttp://blog.wekeroad.com/Dinner Nowhttp://dinnernow.net/To get going quickly
URL structureTestabilityHTTP Verbs Controllers/Actions/ViewsView engineSo what is there to control
ASP.NET MVC structure (aka closer to the real thing)ModelBrowserRequestBizControllerRoutingRepositorye.g. SQL/Xml ViewResponseViewModel
Write your tests first Red-Green TDD is the purestMVC has been designed to decouple for testing Test Driven Development
// ArrangeAdminController controller = new AdminController(mockRepos.Object);// ActViewResult results = controller.Index();Test a Controller
RouteDatarouteData =  routes.GetRouteData(mockHttpContext.Object);Test a Route
[ActionName("Index")][AcceptVerbs(HttpVerbs.Put)]public void Put(){Response.Write("<Put/>");}Http Verbs
Code from http://haacked.comReference RouteDebug.dllGlobal.asaxRouteDebug.RouteDebugger.RewriteRoutesForTesting(RouteTable.Routes);Routing – Debugger
routes.MapRoute(    “Demo",    "Double/{c}/{a}/{id}",    new { c = "Home", a = "Index", id = "" },    new { id = @"\d{1,6}" }	//constraint);Routing Constraints
routes.MapRoute(                "Archive",                "archive/{year}/{month}/{day}",                new { controller = "Archive", action = "Index", year = "“, month = "", day = ""                },                new                {                    year = new YearRouteConstraint(),                    month = new MonthRouteConstraint(),                    day = new DayRouteConstraint()                }                );Constraints implement IRouteConstraintRouting Constraints - Custom
Code from NhamlGlobal.asaxViewEngines.Engines.Add(new NHaml.Web.Mvc.NHamlMvcViewEngine()); Changing the View Engine
SnippetDesignerhttp://www.codeplex.com/SnippetDesignerPhil Haackedhttp://haacked.comStephen Walther  http://stephenwalther.com/Tatham Oddiehttp://blog.tatham.oddie.com.au/Nhamlhttp://code.google.com/p/nhamlOthers resources to make life easier
Silverlight Fun
Agenda - SilverlightSilverlight? RIA?Why Silverlight?“Hello world” in SilverlightSilverlight under the hoodCool stuffHow to + / -
Microsoft Silverlight is a cross-browser, cross-platform implementation of .NET for building and delivering the next generation of media experiences & rich interactive applications for the Web.
Pain with web applications
How a web page is shownYourComputerHostingComputerInternetTheInternetServerClient
All of the intelligence and data is on the serverRequestwww.ssw.com.auTheInternetResponseHTMLServerClient
Typical Client ServerTypical Client Server
Typical Client ServerTypical Silverlight
Pain with web applicationsScalability - Server basedPerformance - Request / ResponseDevelopers - UI is hard to developDifferent browser  different UIIntelligence on the client requires JavaScript/jQuery
Easy to develop and maintainWrite once, run anywhereJava slogan, when Sun introduced Java 1.0 1996Awesome User experience LookFeelUsabilityWe want
PXRIA - Rich Internet Applications
Features/functionality of traditional desktop applicationsState maintained on BOTH client and serverRun within a secure web browser environment (a sandbox)No additional software installationRich Internet Applications
Client engine, between user and serverDownloadEngine – browser extensionProgram logic (executes compiled programs)Rendering user interfaceServer communicationState-ful client Changes to the view don't require (re)loading a new pageRIA
Cross platformBrowser plug inRich Internet Application.NET  / CLR in the browser (VB/C#)4MB downloadSimple installCompetes with other productsSilverlight = RIA from MS
UI QualityUserExpectations
Choice of platform based on richness vs. reach
Goal:  Parity in developer productivityWhat platformRichnessReach
Choice of platform based on richness vs. reach
Goal:  Parity in developer productivityWhat platformRichnessReach
2000 ~ .NET.NET platform for Windows and Web applicationsAJAX: Web feel like DesktopWPF: (Windows Presentation Foundation)Separate UI from CodeToo muchNot Cross browserWPFe (everywhere) SilverlightSilverlight "History"
Adobe Flash, Flex Flash: Technology for animationsFlex: Collection of tools to dev Flash appsJava applets / applicationsJavaScript / AJAX Google's GWT framework (Google Web Toolkit)JQueryMicrosoft SilverlightList of RIA Platforms / Approaches
Windows Forms of Very limited ResponsiveUIRich UICLR on the web.NET Why Silverlight
"Hallo Welt" in Silverlight
Visual Studio files by default
<UserControl x:Class="SilverlightApplicationHalloWelt.Page"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  Width="400" Height="300"><StackPanel><Button Width="400" Height="20" Content="Click me" Click="Button_Click"></Button><TextBlock x:Name="textblockOutput" Width="400" Height="20" Text="empty"></TextBlock></StackPanel></UserControl>"Hallo Welt" - XAML
"Hallo Welt" – XAML in Design mode
private void Button_Click(object sender, RoutedEventArgs e){textblockOutput.Text = "Hallo Welt";}"Hallo Welt"
"Hallo Welt" – Running app
Silverlight – Under the hood
Silverlight Build Process
XAML Defines .Net Objects<TextBlockFontSize="32" Text="Hello world" />≡TextBlock t = new TextBlock();t.FontSize = 32;t.Text = "Hello world";
XML eXtensible Mark-up LanguageX Application MLUI mark-up languageUsed inSilverlight, WPF (and Work Flow)ToolsVisual Studio, Expression Blend, NotepadCan generate UI with code or XAML (faster)XAML
Access Elements from CodeName your XAML elements<Rectangle x:Name="rectOne" />void OnMouseEnter(object sender, MouseEventArgs e)  {rectOne.Height= 75;}
ExpressionDesignBlend 4Visual StudioVisual Studio 2010Silverlight Tools for Visual Studio 2010Silverlight SDKSilverlight Tooling
PIXSilverlight Limitations
Silverlight LimitationsNo full access to Windows API & .NET APISilverlight is a subset of .NET frameworkWPF features not in Silverlight:http://msdn.microsoft.com/en-us/library/cc903925(VS.95).aspxHardware acceleration
3D graphics
Resources
Drawing types
Flow text
Doc Panel
TriggersSilverlight LimitationsHosting Silverlightin Windows Forms applicationIn OfficeNo sandbox customization No external API calls (e.g. P/Invoke, COM, full .NET) No Office integration
Silverlight LimitationsNo Secure SaveAs dialog SL3 has a secure SaveAs dialog
Silverlight LimitationsOffline supportSL4 has Offline and Out of Browser support although more limited than WPF No Sync Framework No local DBCan manually serialize data on the Isolated Storage
Silverlight LimitationsNo Context menu No Right Click Event No context menu triggered by Right Click. Hacks exists but are not recommended due to the need to put the SL plug-in in windowless mode, introducing performance issueNo “Right click – Open in new tab”
Silverlight LimitationsNo printing support Server side PDF or Open XML generation Client side manual HTML generation. Need to implement the formatting logic twice one for XAML and one for HTML Final version of SL 3 should provide more “hacks” for generating bitmaps from visuals enabling some more options for client side printing compared to the manual HTML generation. Still done through HTML bridge. This will for example enable printing of Charts.
Cross domain accesshttp://weblogs.asp.net/jgalloway/archive/2008/12/12/silverlight-crossdomain-access-workarounds.aspxSilverlight Limitations
Silverlight Cool
Playboy archivesHardrock cafehttp://www.mscui.net/PatientJourneyDemonstrator/Cool SL gameshttp://www.silverarcade.com/Silverlight shophttp://www.eastberlinshop.com/Silverlight Cooool
http://silverlight.idvsolutions.com/http://memorabilia.hardrock.com/http://apps.junkship.org/apps/tarantula/http://joestegman.members.winisp.net/DeepZoom/http://www.tafiti.comhttp://www.imeta.com/SilverlightShowcaseApp.htmhttp://silverlight.net/samples/2b2/silverlightchess/run/Default.htmlCool Silverlight sites
Cross-browser, cross-platform supportIt runs on the MACQuick to learn Core CLR on the webEasy to build better web applicationsAlready good take upAdvantages
Consistent .NET programming modelAny .NET language, C#, VB.NET, IronPythonYour favourite languages are supported on the clientSignificantly reduces the need for JavascriptEasy deploymentAdvantages
Silverlight works in a myriad of browsers and platformsAny Web server can host SilverlightSilverlight plug-in available for Windows and MacMoonlight the plug-in for Linux clientsMono for Silverlight in v1Silverlight on other platformsSilverlight on other platforms
Platforms & Browsers (Microsoft support)Novell Support (Moonlight)IE 6.0+Firefox 1.5+Safari 2.0KonquerorFirefoxOperaWindows Vista, XP, 2003, 2000*Mac OS X 10.4.8+Linux(various distros)

More Related Content

PDF
The Point of Vue - Intro to Vue.js
PPTX
High Performance Snippets
PDF
Vue js and Vue Material
PDF
Javascript MVVM with Vue.JS
PDF
Love at first Vue
PDF
Vue JS Intro
PPTX
Vue 2.0 + Vuex Router & Vuex at Vue.js
PDF
Chrome enchanted 2015
The Point of Vue - Intro to Vue.js
High Performance Snippets
Vue js and Vue Material
Javascript MVVM with Vue.JS
Love at first Vue
Vue JS Intro
Vue 2.0 + Vuex Router & Vuex at Vue.js
Chrome enchanted 2015

What's hot (20)

PDF
Why Vue.js?
PDF
Vuejs for Angular developers
PPT
Vue.js Getting Started
PPTX
Don't Over-React - just use Vue!
PDF
An introduction to Vue.js
PDF
Usability in the GeoWeb
PDF
PPTX
JavaScript Performance (at SFJS)
PPTX
High Performance Mobile (SF/SV Web Perf)
PPTX
High Performance HTML5 (SF HTML5 UG)
PPTX
Vuejs getting-started - Extended Version
PPTX
Design+Performance
PPTX
10 practices that every developer needs to start right now
PDF
Progressive Web Apps
PPTX
Your Script Just Killed My Site
PPTX
@media - Even Faster Web Sites
PPTX
Angularjs Tutorial for Beginners
PPTX
HTML5 Web Workers-unleashed
ODP
Passo a Passo para criar uma aplicação Móvel Híbrida
PPT
Web 2.0 Expo: Even Faster Web Sites
Why Vue.js?
Vuejs for Angular developers
Vue.js Getting Started
Don't Over-React - just use Vue!
An introduction to Vue.js
Usability in the GeoWeb
JavaScript Performance (at SFJS)
High Performance Mobile (SF/SV Web Perf)
High Performance HTML5 (SF HTML5 UG)
Vuejs getting-started - Extended Version
Design+Performance
10 practices that every developer needs to start right now
Progressive Web Apps
Your Script Just Killed My Site
@media - Even Faster Web Sites
Angularjs Tutorial for Beginners
HTML5 Web Workers-unleashed
Passo a Passo para criar uma aplicação Móvel Híbrida
Web 2.0 Expo: Even Faster Web Sites
Ad

Similar to Introduction to JQuery, ASP.NET MVC and Silverlight (20)

PDF
What's this jQuery? Where it came from, and how it will drive innovation
PPTX
Silverlight vs HTML5 - Lessons learned from the real world...
PPTX
Creating Tomorrow’s Web Applications Using Today’s Technologies
PPTX
Microsoft UK TechDays - jQuery and ASP.NET
PPTX
ASP.NET Presentation
PPT
Ajax World 2008
PPT
Ajaxworld March 2008 - Jeff Haynie Keynote - Appcelerator
PDF
Devdays Seattle jQuery Intro for Developers
PPTX
Mvc3 part1
PPT
Silverlight Training
PPT
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
PDF
Pro jQuery 2 0 Second Edition Adam Freeman
PPT
Techniques For A Modern Web UI (With Notes)
PPTX
The Changing Face Of The Web
PPT
Microsoft Silverlight
PDF
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
PDF
orcreatehappyusers
PDF
orcreatehappyusers
KEY
The jQuery Library
PPTX
Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features
What's this jQuery? Where it came from, and how it will drive innovation
Silverlight vs HTML5 - Lessons learned from the real world...
Creating Tomorrow’s Web Applications Using Today’s Technologies
Microsoft UK TechDays - jQuery and ASP.NET
ASP.NET Presentation
Ajax World 2008
Ajaxworld March 2008 - Jeff Haynie Keynote - Appcelerator
Devdays Seattle jQuery Intro for Developers
Mvc3 part1
Silverlight Training
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Pro jQuery 2 0 Second Edition Adam Freeman
Techniques For A Modern Web UI (With Notes)
The Changing Face Of The Web
Microsoft Silverlight
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
orcreatehappyusers
orcreatehappyusers
The jQuery Library
Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features
Ad

More from Peter Gfader (20)

PDF
Achieving Technical Excellence in Your Software Teams - from Devternity
PDF
You Can't Be Agile If Your Testing Practices Suck - Vilnius October 2019
PDF
You Cant Be Agile If Your Code Sucks (with 9 Tips For Dev Teams)
PPTX
How to make more impact as an engineer
PDF
13 explosive things you should try as an agilist
PPTX
You cant be agile if your code sucks
PDF
Use Scrum and Continuous Delivery to innovate like crazy!
PDF
Innovation durch Scrum und Continuous Delivery
PPTX
Speed = $$$
PPTX
Qcon london2012 recap
PPTX
Continuous Delivery with TFS msbuild msdeploy
PPTX
Clean Code Development
PPTX
Data Mining with SQL Server 2008
PPTX
SSAS - Other Cube Browsers
PPTX
Reports with SQL Server Reporting Services
PDF
OLAP – Creating Cubes with SQL Server Analysis Services
PPT
Business Intelligence with SQL Server
PPTX
SQL Server - Full text search
PPTX
Usability AJAX and other ASP.NET Features
PPTX
Work with data in ASP.NET
Achieving Technical Excellence in Your Software Teams - from Devternity
You Can't Be Agile If Your Testing Practices Suck - Vilnius October 2019
You Cant Be Agile If Your Code Sucks (with 9 Tips For Dev Teams)
How to make more impact as an engineer
13 explosive things you should try as an agilist
You cant be agile if your code sucks
Use Scrum and Continuous Delivery to innovate like crazy!
Innovation durch Scrum und Continuous Delivery
Speed = $$$
Qcon london2012 recap
Continuous Delivery with TFS msbuild msdeploy
Clean Code Development
Data Mining with SQL Server 2008
SSAS - Other Cube Browsers
Reports with SQL Server Reporting Services
OLAP – Creating Cubes with SQL Server Analysis Services
Business Intelligence with SQL Server
SQL Server - Full text search
Usability AJAX and other ASP.NET Features
Work with data in ASP.NET

Recently uploaded (20)

PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPT
What is a Computer? Input Devices /output devices
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PDF
Abstractive summarization using multilingual text-to-text transfer transforme...
PPTX
2018-HIPAA-Renewal-Training for executives
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PPTX
The various Industrial Revolutions .pptx
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PDF
Five Habits of High-Impact Board Members
DOCX
search engine optimization ppt fir known well about this
Developing a website for English-speaking practice to English as a foreign la...
NewMind AI Weekly Chronicles – August ’25 Week III
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
What is a Computer? Input Devices /output devices
Final SEM Unit 1 for mit wpu at pune .pptx
OpenACC and Open Hackathons Monthly Highlights July 2025
Abstractive summarization using multilingual text-to-text transfer transforme...
2018-HIPAA-Renewal-Training for executives
Enhancing emotion recognition model for a student engagement use case through...
The influence of sentiment analysis in enhancing early warning system model f...
Convolutional neural network based encoder-decoder for efficient real-time ob...
The various Industrial Revolutions .pptx
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
A review of recent deep learning applications in wood surface defect identifi...
Credit Without Borders: AI and Financial Inclusion in Bangladesh
sustainability-14-14877-v2.pddhzftheheeeee
Consumable AI The What, Why & How for Small Teams.pdf
Five Habits of High-Impact Board Members
search engine optimization ppt fir known well about this

Introduction to JQuery, ASP.NET MVC and Silverlight

Editor's Notes

  • #2: Peter Gfader shows asp.netjQuery, MVC and Silverlight
  • #3: Java current version 1.6 Update 171.7 released next year 2010Dynamic languages Parallel computingMaybe closures
  • #7: Why?How?AJAX History ManagerSolves Back buttonSend links
  • #14: (since VS 2008 SP1)http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx
  • #16: jQuery is independent of browser
  • #18: Open firefoxOpen www.ssw.com.au or http://www.petersofkensington.com.au/Home/ Open firebug F12Did you know Ctrl+Shift+C in Firebug?Open consoleRun $(&quot;a&quot;)Show found itemsAttach something to those links$(&quot;a&quot;).click(function() { alert(“HACKED!&quot;); });
  • #19: OpenurlShow accordion and autocomplete
  • #27: PeterG Is MVC a step back to ASP script????
  • #29: MVC is not a new
  • #36: In MVC, the controller gets the request (actually the Action on the controller)In ASP.NET the view (.aspx page) gets the request and then the code behindhttp://www.codeproject.com/KB/aspnet/ASPDOTNETPageLifecycle.aspx
  • #37: In MVC, the controller gets the request (actually the Action on the controller)In ASP.NET the view (.aspx page) gets the request and then the code behind
  • #39: Create a new MVC appBrowse through the appShow URL mapps to controllerShow what controller doesShow ViewShow on what VS can do for MVCShow out of the box tests part of MVC
  • #40: MVC is out of the box in VS2010
  • #53: Andy!
  • #55: What is Silverlight? From MS
  • #64: http://playboy.covertocover.com/ http://labs.infragistics.com/silverlight/faceOut/ http://www.mscui.net/PatientJourneyDemonstrator/
  • #65: RIA’s introduce a client engine, between user and serverDownloaded as part of the instantiation Client engine acts as an extension of the browserResponsible for Program logic (executes compiled programs)Rendering the application&apos;s user interface and For server communicationProvides a stateful client where significant changes to the view don&apos;t require (re)loading a new page
  • #67: UI Quality
  • #70: MENTION HUGE DIFFERENCE BETWEEN FLASH HERE!!!!By late 2000 the first beta versions of .NET 1.0 were released2000 ~ .net.netplattform for windows and web applicationAJAX  better applicationsWPF e  Silverlight
  • #71: Java applets Loading timeNetwork connectivityDev tools
  • #72: CLR on the web, consistent .Net programming model
  • #75: &lt;UserControl x:Class=&quot;SilverlightApplicationHalloWelt.Page&quot;xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot; xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot; Width=&quot;400&quot; Height=&quot;300&quot;&gt; &lt;StackPanel&gt; &lt;Button Width=&quot;400&quot; Height=&quot;20&quot; Content=&quot;Click me&quot; Click=&quot;Button_Click&quot;&gt;&lt;/Button&gt; &lt;TextBlock x:Name=&quot;textblockOutput&quot; Width=&quot;400&quot; Height=&quot;20&quot; Text=&quot;empty&quot;&gt;&lt;/TextBlock&gt; &lt;/StackPanel&gt;&lt;/UserControl&gt;
  • #81: Compiled to produce executable codeDynamically loaded (parsed or pre-parsed)
  • #84: Silverlight Tools for Visual Studio 2008 SP1: add-on for Visual Studio 2008 Visual Studio updates, Silverlight project templates, developer runtime, and SDK.
  • #92: http://weblogs.asp.net/jgalloway/archive/2008/12/12/silverlight-crossdomain-access-workarounds.aspx
  • #96: Silverlight is quick to learnGreat for .Net developersEasy to build better web applicationsSignificantly reduces the need for JavascriptGreat for intranet line of business applicationsGreat for public web sitesBeware of your user baseFear Uncertainty Doubt (FUD) exists
  • #97: Silverlight is quick to learnGreat for .Net developersEasy to build better web applicationsSignificantly reduces the need for JavascriptGreat for intranet line of business applicationsGreat for public web sitesBeware of your user baseFear Uncertainty Doubt (FUD) exists
  • #98: Windows (XP, Vista, 2000?)Firefox, Safari, Opera (future)Microsoft Internet Explorer 6/7/8Max OSOnly on Intel CPU’s, not on older Power PC / M68000 modelsFirefox, Safari, Opera (future)LinuxFirefox, Safari, Opera (future), Konqueror (future)Mono Moonlight project, run by Novell
  • #110: Silverlight is the answer, the question is irrelevant!