SlideShare a Scribd company logo
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)
Ad

Recommended

The Point of Vue - Intro to Vue.js
The Point of Vue - Intro to Vue.js
Holly Schinsky
 
High Performance Snippets
High Performance Snippets
Steve Souders
 
Vue js and Vue Material
Vue js and Vue Material
Eueung Mulyana
 
Javascript MVVM with Vue.JS
Javascript MVVM with Vue.JS
Eueung Mulyana
 
Love at first Vue
Love at first Vue
Dalibor Gogic
 
Vue JS Intro
Vue JS Intro
Muhammad Rizki Rijal
 
Vue 2.0 + Vuex Router & Vuex at Vue.js
Vue 2.0 + Vuex Router & Vuex at Vue.js
Takuya Tejima
 
Chrome enchanted 2015
Chrome enchanted 2015
Chang W. Doh
 
Why Vue.js?
Why Vue.js?
Jonathan Goode
 
Vuejs for Angular developers
Vuejs for Angular developers
Mikhail Kuznetcov
 
Vue.js Getting Started
Vue.js Getting Started
Murat Doğan
 
Don't Over-React - just use Vue!
Don't Over-React - just use Vue!
Raymond Camden
 
An introduction to Vue.js
An introduction to Vue.js
Javier Lafora Rey
 
Usability in the GeoWeb
Usability in the GeoWeb
Dave Bouwman
 
Vue.js
Vue.js
Jadson Santos
 
JavaScript Performance (at SFJS)
JavaScript Performance (at SFJS)
Steve Souders
 
High Performance Mobile (SF/SV Web Perf)
High Performance Mobile (SF/SV Web Perf)
Steve Souders
 
High Performance HTML5 (SF HTML5 UG)
High Performance HTML5 (SF HTML5 UG)
Steve Souders
 
Vuejs getting-started - Extended Version
Vuejs getting-started - Extended Version
Murat Doğan
 
Design+Performance
Design+Performance
Steve Souders
 
10 practices that every developer needs to start right now
10 practices that every developer needs to start right now
Caleb Jenkins
 
Progressive Web Apps
Progressive Web Apps
FITC
 
Your Script Just Killed My Site
Your Script Just Killed My Site
Steve Souders
 
@media - Even Faster Web Sites
@media - Even Faster Web Sites
Steve Souders
 
Angularjs Tutorial for Beginners
Angularjs Tutorial for Beginners
rajkamaltibacademy
 
HTML5 Web Workers-unleashed
HTML5 Web Workers-unleashed
Peter Lubbers
 
Passo a Passo para criar uma aplicação Móvel Híbrida
Passo a Passo para criar uma aplicação Móvel Híbrida
Juliano Martins
 
Web 2.0 Expo: Even Faster Web Sites
Web 2.0 Expo: Even Faster Web Sites
Steve Souders
 
What's this jQuery? Where it came from, and how it will drive innovation
What's this jQuery? Where it came from, and how it will drive innovation
Marakana Inc.
 
Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...
Peter Gfader
 

More Related Content

What's hot (20)

Why Vue.js?
Why Vue.js?
Jonathan Goode
 
Vuejs for Angular developers
Vuejs for Angular developers
Mikhail Kuznetcov
 
Vue.js Getting Started
Vue.js Getting Started
Murat Doğan
 
Don't Over-React - just use Vue!
Don't Over-React - just use Vue!
Raymond Camden
 
An introduction to Vue.js
An introduction to Vue.js
Javier Lafora Rey
 
Usability in the GeoWeb
Usability in the GeoWeb
Dave Bouwman
 
Vue.js
Vue.js
Jadson Santos
 
JavaScript Performance (at SFJS)
JavaScript Performance (at SFJS)
Steve Souders
 
High Performance Mobile (SF/SV Web Perf)
High Performance Mobile (SF/SV Web Perf)
Steve Souders
 
High Performance HTML5 (SF HTML5 UG)
High Performance HTML5 (SF HTML5 UG)
Steve Souders
 
Vuejs getting-started - Extended Version
Vuejs getting-started - Extended Version
Murat Doğan
 
Design+Performance
Design+Performance
Steve Souders
 
10 practices that every developer needs to start right now
10 practices that every developer needs to start right now
Caleb Jenkins
 
Progressive Web Apps
Progressive Web Apps
FITC
 
Your Script Just Killed My Site
Your Script Just Killed My Site
Steve Souders
 
@media - Even Faster Web Sites
@media - Even Faster Web Sites
Steve Souders
 
Angularjs Tutorial for Beginners
Angularjs Tutorial for Beginners
rajkamaltibacademy
 
HTML5 Web Workers-unleashed
HTML5 Web Workers-unleashed
Peter Lubbers
 
Passo a Passo para criar uma aplicação Móvel Híbrida
Passo a Passo para criar uma aplicação Móvel Híbrida
Juliano Martins
 
Web 2.0 Expo: Even Faster Web Sites
Web 2.0 Expo: Even Faster Web Sites
Steve Souders
 
Vuejs for Angular developers
Vuejs for Angular developers
Mikhail Kuznetcov
 
Vue.js Getting Started
Vue.js Getting Started
Murat Doğan
 
Don't Over-React - just use Vue!
Don't Over-React - just use Vue!
Raymond Camden
 
Usability in the GeoWeb
Usability in the GeoWeb
Dave Bouwman
 
JavaScript Performance (at SFJS)
JavaScript Performance (at SFJS)
Steve Souders
 
High Performance Mobile (SF/SV Web Perf)
High Performance Mobile (SF/SV Web Perf)
Steve Souders
 
High Performance HTML5 (SF HTML5 UG)
High Performance HTML5 (SF HTML5 UG)
Steve Souders
 
Vuejs getting-started - Extended Version
Vuejs getting-started - Extended Version
Murat Doğan
 
10 practices that every developer needs to start right now
10 practices that every developer needs to start right now
Caleb Jenkins
 
Progressive Web Apps
Progressive Web Apps
FITC
 
Your Script Just Killed My Site
Your Script Just Killed My Site
Steve Souders
 
@media - Even Faster Web Sites
@media - Even Faster Web Sites
Steve Souders
 
Angularjs Tutorial for Beginners
Angularjs Tutorial for Beginners
rajkamaltibacademy
 
HTML5 Web Workers-unleashed
HTML5 Web Workers-unleashed
Peter Lubbers
 
Passo a Passo para criar uma aplicação Móvel Híbrida
Passo a Passo para criar uma aplicação Móvel Híbrida
Juliano Martins
 
Web 2.0 Expo: Even Faster Web Sites
Web 2.0 Expo: Even Faster Web Sites
Steve Souders
 

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

What's this jQuery? Where it came from, and how it will drive innovation
What's this jQuery? Where it came from, and how it will drive innovation
Marakana Inc.
 
Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...
Peter Gfader
 
Creating Tomorrow’s Web Applications Using Today’s Technologies
Creating Tomorrow’s Web Applications Using Today’s Technologies
Code Mastery
 
Microsoft UK TechDays - jQuery and ASP.NET
Microsoft UK TechDays - jQuery and ASP.NET
ukdpe
 
ASP.NET Presentation
ASP.NET Presentation
Rasel Khan
 
Ajax World 2008
Ajax World 2008
Axway Appcelerator
 
Ajaxworld March 2008 - Jeff Haynie Keynote - Appcelerator
Ajaxworld March 2008 - Jeff Haynie Keynote - Appcelerator
Jeff Haynie
 
Devdays Seattle jQuery Intro for Developers
Devdays Seattle jQuery Intro for Developers
cody lindley
 
Mvc3 part1
Mvc3 part1
Muhammad Younis
 
Silverlight Training
Silverlight Training
Subodh Pushpak
 
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Gabriel Villa
 
Pro jQuery 2 0 Second Edition Adam Freeman
Pro jQuery 2 0 Second Edition Adam Freeman
waibapandim
 
Techniques For A Modern Web UI (With Notes)
Techniques For A Modern Web UI (With Notes)
patrick.t.joyce
 
The Changing Face Of The Web
The Changing Face Of The Web
David Chou
 
Microsoft Silverlight
Microsoft Silverlight
thinkahead.net
 
Silverlight 2.0
Silverlight 2.0
Dave Allen
 
orcreatehappyusers
orcreatehappyusers
tutorialsruby
 
orcreatehappyusers
orcreatehappyusers
tutorialsruby
 
The jQuery Library
The jQuery Library
LearnNowOnline
 
Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features
Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features
ukdpe
 
What's this jQuery? Where it came from, and how it will drive innovation
What's this jQuery? Where it came from, and how it will drive innovation
Marakana Inc.
 
Silverlight vs HTML5 - Lessons learned from the real world...
Silverlight vs HTML5 - Lessons learned from the real world...
Peter Gfader
 
Creating Tomorrow’s Web Applications Using Today’s Technologies
Creating Tomorrow’s Web Applications Using Today’s Technologies
Code Mastery
 
Microsoft UK TechDays - jQuery and ASP.NET
Microsoft UK TechDays - jQuery and ASP.NET
ukdpe
 
ASP.NET Presentation
ASP.NET Presentation
Rasel Khan
 
Ajaxworld March 2008 - Jeff Haynie Keynote - Appcelerator
Ajaxworld March 2008 - Jeff Haynie Keynote - Appcelerator
Jeff Haynie
 
Devdays Seattle jQuery Intro for Developers
Devdays Seattle jQuery Intro for Developers
cody lindley
 
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Gabriel Villa
 
Pro jQuery 2 0 Second Edition Adam Freeman
Pro jQuery 2 0 Second Edition Adam Freeman
waibapandim
 
Techniques For A Modern Web UI (With Notes)
Techniques For A Modern Web UI (With Notes)
patrick.t.joyce
 
The Changing Face Of The Web
The Changing Face Of The Web
David Chou
 
Silverlight 2.0
Silverlight 2.0
Dave Allen
 
Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features
Microsoft UK TechDays - Top 10 ASP.NET 4.0 Features
ukdpe
 
Ad

More from Peter Gfader (20)

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

Recently uploaded (20)

Murdledescargadarkweb.pdfvolumen1 100 elementary
Murdledescargadarkweb.pdfvolumen1 100 elementary
JorgeSemperteguiMont
 
Crypto Super 500 - 14th Report - June2025.pdf
Crypto Super 500 - 14th Report - June2025.pdf
Stephen Perrenod
 
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
 
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
Edge AI and Vision Alliance
 
SAP Modernization Strategies for a Successful S/4HANA Journey.pdf
SAP Modernization Strategies for a Successful S/4HANA Journey.pdf
Precisely
 
Providing an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME Flow
Safe Software
 
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
 
FME for Good: Integrating Multiple Data Sources with APIs to Support Local Ch...
FME for Good: Integrating Multiple Data Sources with APIs to Support Local Ch...
Safe Software
 
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
Edge AI and Vision Alliance
 
Bridging the divide: A conversation on tariffs today in the book industry - T...
Bridging the divide: A conversation on tariffs today in the book industry - T...
BookNet Canada
 
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
Safe Software
 
High Availability On-Premises FME Flow.pdf
High Availability On-Premises FME Flow.pdf
Safe Software
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
 
June Patch Tuesday
June Patch Tuesday
Ivanti
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Murdledescargadarkweb.pdfvolumen1 100 elementary
Murdledescargadarkweb.pdfvolumen1 100 elementary
JorgeSemperteguiMont
 
Crypto Super 500 - 14th Report - June2025.pdf
Crypto Super 500 - 14th Report - June2025.pdf
Stephen Perrenod
 
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
 
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
Edge AI and Vision Alliance
 
SAP Modernization Strategies for a Successful S/4HANA Journey.pdf
SAP Modernization Strategies for a Successful S/4HANA Journey.pdf
Precisely
 
Providing an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME Flow
Safe Software
 
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
 
FME for Good: Integrating Multiple Data Sources with APIs to Support Local Ch...
FME for Good: Integrating Multiple Data Sources with APIs to Support Local Ch...
Safe Software
 
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
Edge AI and Vision Alliance
 
Bridging the divide: A conversation on tariffs today in the book industry - T...
Bridging the divide: A conversation on tariffs today in the book industry - T...
BookNet Canada
 
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
Safe Software
 
High Availability On-Premises FME Flow.pdf
High Availability On-Premises FME Flow.pdf
Safe Software
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
 
June Patch Tuesday
June Patch Tuesday
Ivanti
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 

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!