Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!

Presentation from itKonekt


Related Books

Free with a 30 day trial from Scribd

See all
  • Be the first to comment

.NET Core Previews - New Features in .NET Core and ASP.NET Core 2.1, Blazor and more!

  1. 1. .NET Core Today
  2. 2. Free. Cross-platform. Open source. A developer platform for building all your apps.
  3. 3. DESKTOP WEB CLOUD MOBILE GAMING IoT AI .NET Your platform for building anything Any platform…
  4. 4. Visual Studio Code Open source, cross-platform editor with .NET support. Visual Studio A fully-featured, integrated development environment (IDE) for developing .NET apps on a Windows PC development machine. Visual Studio for Mac A fully-featured IDE for developing .NET apps on a Mac OS development machine.
  5. 5. We didn’t build this alone.
  6. 6. “Samsung is embracing .NET because it is a completely open source project.” — Samsung ".NET is open source; that allows us to contribute back to it if we have any performance issues which Microsoft review and together we make a better product.“ — Illyriad Games 16,000+ Community Contributions from 3000+ Companies outside Microsoft
  7. 7.
  8. 8. “Using the same-size server, we were able to go from 1,000 requests per second per node with Node.js to 20,000 requests per second with .NET Core.“ — Raygun Data sourced from official tests available at TechEmpower Round 15. Java Servlet .NET Core Node.js 2.22M requests / sec0.73M requests / sec 0.53M requests / sec
  9. 9. #2 demanded primary technology (LinkedIn) .NET is a sought after job skill
  10. 10. .NET Core 2.1
  11. 11. •June 2016.NET Core 1.0 •March 2017.NET Core 1.1 •August 2017.NET Core 2.0 •In preview now.NET Core 2.1
  12. 12. Build Performance Global Tools Span<T>, Memory<T> and friends
  13. 13. var arr = new byte[10]; Span<byte> bytes = arr; // Implicit cast from T[] to Span<T> Span<byte> slicedBytes = bytes.Slice(start: 5, length: 2); slicedBytes[0] = 42; slicedBytes[1] = 43; Assert.Equal(42, slicedBytes[0]); Assert.Equal(43, slicedBytes[1]); Assert.Equal(arr[5], slicedBytes[0]); Assert.Equal(arr[6], slicedBytes[1]); slicedBytes[2] = 44; // Throws IndexOutOfRangeException bytes[2] = 45; // OK Assert.Equal(arr[2], bytes[2]); Assert.Equal(45, arr[2]);
  14. 14. [coreclr example
  15. 15. HttpClientFactory Razor UI in class libraries Identity UI as a library GDPR SignalR
  16. 16. Blazor
  17. 17. • Native performance any language all major browsers PCWorld Medium
  18. 18.
  19. 19. Web page title Memory Management Garbage Collection Graphics Subsystems HTML,CSS, Canvas,Web GL, Audio,Video Storage Cookies, IndexedDb, File API Threading Web Workers Events DOM Events, Callbacks Network WebSockets, XHR, Offline, Realtime Security Sandbox, SSL, CORS APIs GeoLocation, Sensors
  20. 20. .cs .cshtml .NET Core build system + custom Razor compiler App.dll WebAssembly / asm.js IL interpreter (Mono) threads, GC, etc. JS bridge corlib.dll Blazor.Runtime.dll etc. Visible DOM BROWSERHowBlazorworks
  21. 21. Component model Routing Layouts Forms and validation Dependency injection Live reload JavaScript interop Server-side rendering Debugging (browser & IDE) Rich IntelliSense and tooling Fallback to asm.js Publishing App size trimming
  22. 22. • Feb • March • April • May
  23. 23. • Easy to get started • Stable and consistent • Modern innovative languages • Industry leading tools • Fast and scalable
  24. 24. Get Started Today!
  25. 25. It’s all free! Runs side-by-side Low impact install / uninstall
  26. 26.
  27. 27.
  28. 28.
  29. 29. Thanks! Jon Galloway @jongalloway