Jean-Claude Trachsel Senior Consultant Trivadis AG.

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Microsoft Dynamics GP 2013 R2 Dashboards © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Payroll and HR Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
 Stephen Walther ASP.NET MVC Ninja Microsoft Corporation PV31.
Interactivity Navigating a data model Working with large quantities of data Entry Editing and adding data User feedback and validation Presentation.
Co- location Mass Market Managed Hosting ISV Hosting.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Multitenant Model Request/Response General Model.
What’s new in ASP.NET MVC 3 Building a NerdDinner/AppStore Application.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Simon Amrein Consultant Trivadis AG What is ASP.NET 4.0 Ajax Ajax Control Toolkit Microsoft Ajax Content Delivery Network jQuery jQuery Client Templates.
Announcing Demo Announcing.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
 Bertrand Le Roy Senior Program Manager Lead Microsoft Corporation PC32.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
WinHEC /22/2017 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
Windows Azure Connect Name Title Microsoft Corporation.
NEXT: Overview – Sharing skills & code.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Jean-Claude Trachsel Senior Consultant Trivadis AG Building a Website with ASP.NET MVC.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Employee Self Service Timecard Entry © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
04 | Business Analyzer Brian Meier| Senior Lead Program Manager.

Возможности Excel 2010, о которых следует знать
Title of Presentation 12/2/2018 3:48 PM
Silverlight Debugging
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
WINDOWS AZURE A LAP AROUND PLATFORM THE Steve Marx
Jason Zander Unplugged
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Presentation transcript:

Jean-Claude Trachsel Senior Consultant Trivadis AG

Agenda Overview New Features Summary

ASP.NET MVC 3

It can be installed side-by-side with MVC 2 It requires the.NET Framework 4 Actual release is Beta

Global Filters Dynamic ViewModel Property New ActionResult Types Model Validation Support Ajax and jQuery Support Dependency Injection Support Razor View Engine

New possibility to apply a filter to all controllers Conditional filters thru IFilterProvider

Uses.NET 4 dynamic datatype Cleaner solution to work with the ViewModel No strings as key anymore

ViewData vs. ViewModel ViewData["Message"]="Welcome to ASP.NET MVC!"; ViewModel.Message="Welcome to ASP.NET MVC MVC 3 MVC 2

HttpNotFoundResult HttpRedirectResult HttpStatusCodeResult

HttpNotFoundResult public ActionResult About() { return HttpNotFound(); }

Model Validation Supports new.Net 4 DataAnnotations Features DisplayAttribute New IsValid overloads in the ValidationAttribute IValidatableObject

Ajax and jQuery Many new Ajax and jQuery features Visit the afternoon session ASP.NET MVC 3 specific JsonValueProviderFactory

Form & Fields Step 1 Edit fields on the form in the browser

Post Form & Fields Controller Action Controller Action Step 2 Post the form to the server. The routing engine calls the controller

Post Form & Fields Controller Action Controller Action Object & Property Model Binder Step 3 Instanciate the entity object and set properties to the form values

Form & Fields Step 1 Edit fields on the form in the browser

jQuery Form & Fields Step 2 Generate Json object on the client with jQuery Json

Ajax Post Ajax Post Form & Fields Controller Action Controller Action Step 3 Post the Json object asynchron to the server

Post Form & Fields Controller Action Controller Action Object & Property Jason Value Provider Jason Value Provider Step 4 Instanciate the entity object and set properties to the json values

Dependency Injection ASP.NET MVC 3 supports Common Service Locator library Any DI container supporting it’s IServiceLocator interface Common Service Locator library is supported by Unity Spring.NET Castle Windsor StructureMap

MVC 3 DI support MVC 3 beta Controllers (registering & injecting controller factories, injecting controllers) Views (registering & injecting view engines, injecting dependencies into view pages) Action Filters (locating & injecting filters) MVC 3 RC Model Binders (registering & injecting) Value Providers (registering & injecting) Validation Providers (registering & injecting) Model metadata Providers (registering & injecting)

View Engines ASP.NET (aspx) * Razor * Spark NHaml NDjango * Included in Visual Studio 2010

Compact, Expressive and Fluid Easy to learn Is not a new language Works with any Text Editor Has great Intellisense and syntax highlighting

Razor advantages 1 character instead of 5 for code blocks (no closing tag needed) Parser has semantic knowledge of C# / VB Aspx: Coding is fast, fluid and fun

«Hello World» " %> Razor Demo Razor Demo Hello World, we got Number 1: and Number = "Razor Demo";} Razor Demo Hello World, we got Number and Number Razor aspx

Razor syntax Multiline statements if(){}, foreach(){} Layout/MasterPage concept _viewstart.cshtml concept

Summary Many helpful new features Great IoC and DI support Perfect Data Annotations support Razor, a clean, fast and fun approach

Termin: Ort: Zürich - in der Trivadis Niederlassung Agenda: 16:00 h: Registrierung und Begrüssungskaffee 16:30 h: Silverlight, Azure and WP7 17:30 h: Pause mit Verpflegung 18:00 h: Keynote PDC10 mit Steve Ballmer 20:00 h: Pause mit Verpflegung 20:30 h: Podiumsdiskussion: "Was bedeuten die Ankündigung für die Praxis" 21:30 h: Verlosung der Preise

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.