1 / 40

Developing amazing web apps with ASP.NET Core

Developing amazing web apps with ASP.NET Core. Daniel Roth Program Manager Microsoft. BRK3195. ASP.NET Core – built for the web. Open source & cross-platform Web UI, web APIs, real-time, microservices Fast, reliable, secure. ASP.NET Core 2.1 Now available!. ASP.NET Core with SignalR.

jcorey
Download Presentation

Developing amazing web apps with ASP.NET Core

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Developing amazing web apps with ASP.NET Core Daniel Roth Program Manager Microsoft BRK3195

  2. ASP.NET Core – built for the web Open source & cross-platform Web UI, web APIs, real-time, microservices Fast, reliable, secure

  3. ASP.NET Core 2.1 Now available!

  4. ASP.NET Core with SignalR ASP.NET Core 2.1 MVC Web API SignalR Razor Pages .NET Standard .NET Framework .NET Core

  5. Azure SignalR Service • Add real-time web functionalities easily with Azure and .NET Core 2.1 • Enable via “services.AddSignalR().AddAzureSignalR()” Fully managed service No more worries about capacity provisioning, scaling, or persistent connections Native SignalR development </> Use ASP.NET Core SignalR to build real-time experiences such as chat, stock tickers, live dashboards, and instant broadcasting

  6. New in ASP.NET Core 2.1 SignalR Razor class libraries Identity UI library & scaffolding HTTPS GDPR MVC functional testing [ApiController], ActionResult<T> IHttpClientFactory Kestrel on Sockets Generic host builder Updated SPA templates Performance

  7. ASP.NET Core 2.1 performance +12% +11% +123% REQUESTS / SECOND Data sourced from tests in our labs on same hardware as TechEmpower

  8. Get started with ASP.NET Core 2.1 Install the .NET Core 2.1 SDK https://dot.net Available with Visual Studio 2017 15.8 https://visualstudio.com/

  9. ASP.NET Core 2.1 Daniel Roth

  10. .NET C# Python JS? F# Go Java Ruby Rust

  11. Blazor

  12. “Blazor” experimental project Full-stack web development with .NET via WebAssembly Requires no plugin or code transpilation Works in all modern browsers including mobile browsers Browser + Razor = Blazor!

  13. How Blazor works BROWSER .cs App.dll Compile to .NET assemblies .NET (mscorlib.dll, System.Core.dll,…) .cshtml WebAssembly (mono.wasm)

  14. Try it out!https://blazor.net

  15. ASP.NET Core SignalR + Blazor Daniel Roth

  16. ASP.NET Core 2.2 Preview 2

  17. ASP.NET Core 2.2 features Web API improvements Template updates: Bootstrap 4, Angular 6 HTTP/2 IIS in-process hosting Health checks Endpoint routing SignalR Java client

  18. Get started with ASP.NET Core 2.2 Preview 2 Install the .NET Core 2.2 Preview 2 SDK https://www.microsoft.com/net/download/dotnet-core/2.2 Install Visual Studio 2017 15.9 Preview 2 https://visualstudio.com/preview/

  19. Get started with ASP.NET Core 2.2 Preview 2 Daniel Roth

  20. APIs are everywhere! APIs APIs APIs APIs

  21. Web API improvements in ASP.NET Core 2.2 Easier to create Easier to test & debug Easier to document Easier to consume Easier to secure Easier to monitor Improved performance

  22. Web API improvements Daniel Roth

  23. Web API improvements in ASP.NET Core 2.2 Easier to create Easier to test & debug Easier to document Easier to consume Easier to secure Easier to monitor Improved performance → API Scaffolding → HTTP REPL, Problem Details → API conventions & analyzer → Code generation → Web API security → Health checks integration → HTTP/2, endpoint routing, IIS in-proc hosting

  24. HTTP/2 Now available cross-platform in Kestrel Application-Layer Protocol Negotiation (ALPN) Header compression Multiplexed streams over same connection Some limitations Server push, stream prioritization not currently supported Not supported for edge use at this time

  25. HTTP/2 Daniel Roth

  26. IIS in-process hosting Out of process (current) In process (NEW!)

  27. IIS in-process hosting Improved performance, reliability, and diagnostics

  28. IIS in-process hosting – Performance! 4x faster!

  29. Health checks Add dedicated health endpoints to your application Integrate with container orchestrators and load balancers Support liveness and readiness probes

  30. Health checks Daniel Roth

  31. ASP.NET Core 2.2 features Template updates: Bootstrap 4, Angular 6 Web API improvements HTTP/2 IIS in-process hosting Health checks Endpoint routing SignalR Java client

  32. ASP.NET Core 2.2 schedule Preview 2 - Sept Preview 3 – Oct RTW – Year-end 2018

  33. Build amazing web apps with ASP.NET Core today! ASP.NET Core 2.1 https://dot.net ASP.NET Core 2.2. Preview 2 https://www.microsoft.com/net/download/dotnet-core/2.2 Blazor https://blazor.net

  34. Please evaluate this sessionYour feedback is important to us! Please evaluate this session through MyEvaluations on the mobile appor website. Download the app:https://aka.ms/ignite.mobileApp Go to the website: https://myignite.techcommunity.microsoft.com/evaluations

  35. Endpoint routing New routing implementation On by default for 2.2 with compatibility switches Better throughput (~10%) and scalability Link to endpoints from outside of MVC Various minor improvements Parameter transformers, new catch all syntax {**path}

  36. SignalR Java client Connect to ASP.NET Core SignalR hubs in Java Available via Gradle and Maven Now supports Azure SignalR Service Complete Android sample https://github.com/aspnet/SignalR-samples/tree/master/AndroidJavaClient

  37. SignalR Android client Daniel Roth

More Related