MS Tech Talk Whats new in ASP NET































- Slides: 31
MS Tech. Talk What‘s new in ASP. NET Kay Herzam IT Consulting Gmb. H kay@herzam. com @kherzam
. NET User Group Bern § www. dnug-bern. ch § Large active. NET User Group in Switzerland § Regular Meetings, broad range of topics § Next Event § Wed, 28. 5. 2015 Crossplatform Mobile Apps with Xamarin
Agenda § ASP. NET „History“ Overview § CSS Templates & Browser. Link § Scaffolding § ASP. NET Identity § Signal. R § Lot‘s of Demos
Links § http: //bit. ly/Tech. Talk. Asp. Net
ASP. NET “History” Overview
ASP. NET and Web Tools Feb 2013 ASP. NET and Web Tools 2012. 2 Oct 2013 VS 2013 Feb 2014 ASP. NET and Web Tools 2013. 2
ASP. NET and Web Tools Feb 2014 ASP. NET Web Tools 2013. 2 Mid 2014 Modern Web Fall 2014 “Magic”
Web Essentials Releases about every 2 months http: //www. vswebessentials. com
General § New ASP. NET Identity System § Templates based on Bootstrap One ASP. NET § One Project: Web Forms, MVC, Web API § Add any framework to any project § New Scaffolding § Configurable Authentication Azure SDK § Azure Server Explorer: SSO, Remote Debugging, Web Sites, Mobile Services, Mgmt APIs, Log DL Oct 2013 VS 2013
Web API § CORS, Attribute Routing MVC § Attribute Routing Entity Framework § Async, Stored Procs Visual Studio § New HTML Editor § Live Browser. Link + Extensibility § Angular. JS Class Intellisense Oct 2013 VS 2013
One ASP. NET § Scaffolding Improvements § ASP. NET Identity Two-Factor Auth § Account Lockout, Confirmation, Reset, and lots more Web Forms § Scaffolding § EF 6 Data Source, Dynamic Data Signal. R § No j. Query Dependency § Xamarin § Android § C++ Feb 2014 ASP. NET Web Tools 2013. 2
Web API § BSON formatter (Binary JSON) § Improved Attribute Routing MVC § Helper fixes for Dropdowns & Enum § Improved Attribute Routing Entity Framework § Reverse engineer DB to Code First Visual Studio § LESS support § JSON Editor § Phone Emulator and easy SSL Feb 2014 ASP. NET Web Tools 2013. 2
ASP. NET v. Next www. hanselman. com/blog § Cloud optimized runtime § CLR available as Nuget packages § Deploy your own runtime with your app § Runs on Mono §…
One ASP. NET
One ASP. NET VS 2013 VS 2012 VS 2013
DEMO One ASP. NET, CSS, Browser. Link
DEMO - Scaffolding
DEMO - Scaffolding
ASP. NET Identity
ASP. NET Identity “History” ASP. NET Membership § DB schema was designed for SQL server, support for non relational DBs is difficult § Based on Forms Authentication, cannot use OWIN Simple Membership § Developed for Web. Pages, same problems Universal Providers § Support for SQL Azure and SQL Compact § Built on Membership, conceptionally share the same pain points
ASP. NET Identity One ASP. NET § Supports all Frameworks (MVC, Webforms, Web. API, Signal. R, Web. Pages) Persistence Control § Default is Database, EF Code First § Easy to plugin different storage mechanism (No. SQL, Share. Point etc. ) Better Testability Social Login Providers
ASP. NET Identity OWIN Integration § No dependency on System. Web § Identity can be used in any OWIN hosted application Claims Based Nuget Package Two-Factor Authentication
DEMO - ASP. NET Identity
Signal. R
Signal. R § RPC from Server to Browser § Web Sockets § Windows 2012 Server and Win 8 § j. Query § Clients § § § § Browser (Java Script) Desktop (. NET 4+) Windows Store Apps Windows Phone 8 Xamarin (new) C++ (new) Android (new)
Signal. R – Channel Options Chrome Firefox (Windows or i. OS) Safari Android (OS X or i. OS) Web. Sockets 10+ current - 1 N/A Server-Sent Events N/A current - 1 N/A Forever Frame 8+ N/A N/A 4. 1 current - 1 4. 1 Transport IE Long Polling 8+
Signal. R Scaleout Available Backplanes § SQL Server § Azure Service Bus § Redis
DEMO - Signal. R
Thank you for your Attention
Links § http: //bit. ly/Tech. Talk. Asp. Net
Photo & Image Credits https: //www. flickr. com/photos/muzuto/10624912815/ http: //www. freeimages. com/photo/320325 http: //www. freeimages. com/photo/1421018 http: //www. freeimages. com/browse. phtml? f=download&id=1435497 http: //www. freeimages. com/photo/1131288 http: //scaffoldage. tumblr. com/ http: //factspage. blogspot. ch/2011/11/how-do-words-travel-over-telephone-wire. html