What’s New in ASP.NET 4.5 Ori Calvo, 2012 John Bryce Hi-Tech College

Slides:



Advertisements
Similar presentations
ASP.NET Ajax Supplementary Tutorial. Why Use ASP.NET AJAX? - I ASP.NET AJAX enables you to build rich Web applications that have many advantages over.
Advertisements

Developing HTML5 Application using MVVM pattern Pekka Ylenius.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
AJAX & By – Anupama Sharma. Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together.
Aptech Borivali(West) Hefin Dsouza. Agenda  What is.NET and What is Visual Studio? .NET Framework 3.5 Overview.  Visual Studio 2008 Enhancements. 
User Group 2015 Version 5 Features & Infrastructure Enhancements.
Punit Shah Technical Lead | Microsoft
ASP.NET 4.0 Web Developers User Group Israel June 2009.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Ori Calvo, 2010 Hi-Tech College
Ori Calvo, 2010 “If people want to have maximum reach across *all* devices then HTML will provide the broadest reach” Scott Guthrie,
1. 2 What’s New in NetBeans IDE What is NetBeans IDE?  Ready to use out of the box  Support for latest Java specifications & standards  Other.
Introduction to.Net and ASP.Net Course Introduction Build Your Own ASP.Net Website: Chapter 1 Microsoft ASP.Net Walkthrough: Creating a Basic Web Forms.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
Building a UI with Zen Pat McGibbon –Sales Engineer.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
What’s New In Visual Studio 2010 Denys Kholod Technology Expert Hmarasoft.com.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
Introducing Reporting Services for SQL Server 2005.
AJAX and Atlas in ASP.NET 2.0 William J. Steele MSDN Developer Evangelist Microsoft Corporation
JavaScript: Functions © by Pearson Education, Inc. All Rights Reserved.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Expression Web 3... now with TFS!. What is Expression Web 3? Professional web design and development tool Create standards-based Web sites faster & easier.
WEBMATRIX Microsoft Pranav Rastogi.
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Lap Around Visual Studio 2008 &.NET 3.5 Enhancements.
Upgrading Projects to Visual Studio 2010 Upgrading Projects to SharePoint 2010 Integrating with SharePoint 2010.
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
What’s New for Web Developers in ASP.NET and Visual Studio 2008 Kate Gregory Microsoft Regional Director
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Name Microsoft Student Partner Overview of the Visual Studio 2005 Express Products.
The Web Developer’s Toolbox Steve Fabian e:
Building a Web API for browser/JSON clients.
RIA and Web2.0 Development with no Coding Juan Camilo Ruiz Senior Product Manager Development Tools.
Canopy walk through Single-Page Apps (SPAs) Benjamin Howarth Freelancer, Code Gecko Umbraco UK Festival, Fri 30 th Oct 2015 CODE GECKO.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Windows Forms in Visual Studio 2005: An in-depth look at key features Name: Joe Stegman Title: Lead Program Manager Session code.
IT533 Lectures ASP.NET AJAX.
PROGRAMMING IN VISUAL BASIC.NET CREATING YOUR FIRST WEB APPLICATION Bilal Munir Mughal 1 Chapter-3.
Web Development in Microsoft Visual Studio 2013 / 2015.
Bundles, Minification Andres Käver, IT Kolledž
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
05 | Integrating JavaScript and MVC 4 Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Virtual techdays INDIA │ 9-11 February 2011 SESSION TITLE Kamala Rajan S │ Technical Manager, Marlabs.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
Nivo 300 ASP.NET MVC 4 Danijel Malik Artifis Danijel Malik s.p.
The New Face of ASP.NET ASP.NET MVC, Razor, and jQuery Ido Flatow | Senior Architect | Sela | This session is.
ASP.NET and Visual Studio 2012 Robert Boedigheimer.
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
Hartelijk welkom VB Event 26 september 2012 ‘Visual Studio 2012 voor de VB.NETWEB developer’ Alex Thissen – Achmea.
ASP.NET 2.0 Mohammed Abdelhadi Developer.NET Evangelist Microsoft Corporation.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Creating mobile applications that integrate with SharePoint 2013 on-
DotNetSpider Editor Hefin Dsouza
Developing GIS WebParts in SharePoint
TechEd /1/2018 7:56 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
KnockoutJS -Pradeep Shet 31st August 2014.
Web Development in Microsoft Visual Studio 2013
What’s new in Visual Studio 11
JQuery with ASP.NET.
What's New in Visual Studio 2005
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
Windows Forms in Visual Studio 2005: An in-depth look at key features
Introduction to ASP.NET Parts 1 & 2
#01# ASP.NET Core Overview Design by: TEDU Trainer: Bach Ngoc Toan
Visual Studio 2005 IDE Features
Presentation transcript:

What’s New in ASP.NET 4.5 Ori Calvo, 2012 John Bryce Hi-Tech College

Objectives Part 1 - ASP.NET Web Forms 4.5 Part 2 - IDE Enhancements Part 3 - ASP.NET MVC 4

Prerequisites ASP.NET Developer Good understanding of HTML and HTTP Good understanding of C# Language

Getting Started Install Visual Studio 11 Beta ◦ us us Some new features require Windows 8 Consumer Preview ◦ us/windows-8/download us/windows-8/download ◦ And then install Visual Studio 11

ASP.NET Web Forms 4.5 Strongly Typed Data Control Model Binding Unobtrusive validation HTML5 Updates Core Runtime and Framework ◦ Bundling and Minification ◦ Support for Web Sockets API

Strongly Typed Data Controls Still uses the syntax Uses a new “ItemType” attribute New syntax is supported under a web control template ◦ Item ◦ BindItem IntelliSense works !!! Invoking a method is supported

Model Binding New data binding mechanism A data bound control can specify ◦ Select/Update/Insert/Delete methods Method’s parameters are automatically bound to control state ◦ Can bind parameters to other value providers Validation is supported through DataAnnotation

Is it MVVM? New model binding makes ASP.NET feels like an MVVM framework ◦ Each control is bound to an ItemType (A.K.A ViewModel) Use AutoMapper to switch between Model and ViewModel Can it be testable too? ◦ See my blog: 012/02/22/asp-net-web-forms-and-mvvm.aspx 012/02/22/asp-net-web-forms-and-mvvm.aspx

KnockoutJS Open Source project developed by Steve Sanderson An MVVM library Can bind HTML elements to a JavaScript ViewModel Install through NuGet

ASP.NET Web API “Stop looking at HTTP through the eyes of WCF” More control over HTTP Simplifying configuration More testability Multiple formats on a single service OData support

Bundling and Minification Must be enabled at Application_Start Can bundle a whole directory ◦ Alphabetical order  ◦ Known libraries are moved to top ◦ Can be customized ◦ Minification can be skipped Consider a NuGet package named “Cassette” ◦

Web Sockets Bi-directional, full-duplex communication channel Over a single TCP socket Requires implementation by both web server and web browsers ◦ IIS 8 ◦ IE 10 See sample

Small Improvements HTML Encoded Data-Binding ◦ Use <%#: ◦ More secured ◦ Not the default Unobtrusive Validation ◦ Cleaner page ◦ Small page HTML5 Updates ◦ TextBox.TextMode new values ◦ FileUpload supports multiple files

IDE Enhancements HTML Editor JavaScript Editor CSS Editor Page Inspector Publishing IIS Express

HTML Editor Smart Tasks inside source view New HTML5 snippets Extract to user control IntelliSense inside attributes Automatic renaming of matching tag Event Handler generation Smart indentation Auto reduce statement completion Refactoring effects markup too

JavaScript Editor Code outlining Brace Matching Go to definition Implicit references DOM IntelliSense

CSS Editor Hierarchical indentation Intellisense for CSS Hacks Ctrl+K,C Color picker Vendor specific prefixes Snippets for browser specific settings

Page Inspector Determine which server-side code has produced the HTML markup Install through Web Platform Installer Right click a file and select “View in Page Inspector” Renders web pages directly into visual studio Allows you to examine source code and HTML

More IDE Enhancements Browser chooser ◦ Multiple Image Thumbnails

ASP.NET MVC – Brief Overview ViewControllerRouting System Extensibility Partial ViewActionRouteModel Metadata HTML HelperFilterRoute HandlerValue Provider Inline Template Model StateConstraintModel Binder RazorMethod Selector Temp Data Provider View BagTemp DataDependency Resolver View EngineAction Result

ASP.NET MVC 4 New Project Templates Better Mobile Support Display Modes and View Switcher Recipes Task Support for Asynchronous Controllers

Project Templates Default Project Template ◦ Modern looking ◦ Richer UI through jQuery UI dialog ◦ Adaptive Rendering Mobile ◦ Incorporate jQuery Mobile scripts Single Page Application ◦ Integrates upshot & Knockout ◦ Come to next session Web API

Better Mobile Support Adaptive Rendering Display Modes View Switcher Mobile Template Project

Display Modes Useful when adding mobile support for existing web site ◦ Install-Package jQuery.Mobile.MVC Allows view/layout selection depending on the browser Can override current browser “User Agent String” ◦ Can be used to implement a “View Switcher” Can register custom display modes

JQM – Server vs. Client centric JQM can be used for both type of application The challenge is to create a real Mobile/Web application ◦ Need to preload all application views ◦ Views should be filled by client code  KnockoutJS ◦ What if server is down?  HTML5 Offline Web Applications

Summary ASP.NET Web Forms ◦ New data binding mechanism ASP.NET MVC 4 ◦ Better mobile support Visual Studio ◦ Better JavaScript development support ◦ Lots of nice/small improvements

Read more Course 1373 at John Bryce

Thank You !!!