asp.net core
TRANSCRIPT
![Page 1: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/1.jpg)
www.xedotnet.org
Andrea Dottor Microsoft MVP ASP.NET@dottor
ASP.NET Core vs Node.JS
![Page 2: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/2.jpg)
Codice e slide onlineCodice:• https://github.com/andreadottor/XE_AspNetCore
Slide:• https://www.slideshare.net/andreadottor/aspnet-core-72247751
![Page 3: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/3.jpg)
ASP.NET Core• A unified story for building web UI and web APIs• Integration of modern client-side frameworks and development
workflows• A cloud-ready environment-based configuration system• Built-in dependency injection• New light-weight and modular HTTP request pipeline• Ability to host on IIS or self-host in your own process• Built on .NET Core, which supports true side-by-side app versioning• Ships entirely as NuGet packages• New tooling that simplifies modern web development• Build and run cross-platform ASP.NET apps on Windows, Mac and
Linux• Open source and community focused
![Page 4: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/4.jpg)
A che punto siamo• Visual Studio 2017 verrà rilasciato il 7 Marzo• Il codice scritto da MAC con .NET Core SDK 1.0
RC4 può essere aperto ed eseguito da Visual Studio 2017 RC3 senza modificare nulla.• Ora il file di progetto ha estensione *.csproj
![Page 5: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/5.jpg)
modular HTTP request pipeline
Siamo noi a decidere come comporre la pipeline in un'applicazione ASP.NET Core
![Page 6: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/6.jpg)
Ships entirely as NuGet packagesOgni elemento di ASP.NET Core viene rilasciato come
packages NuGet. Per poter utilizzare/aggiungere nuove funzionalità è sufficiente indicarli nel file di
progetto e fare "dotnet restore"
![Page 7: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/7.jpg)
Alcune novitàin tema con la serata
![Page 8: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/8.jpg)
SpaTemplates, SpaServices, NodeServices
• Building Single Page Applications on ASP.NET Core with JavaScriptServices• https://blogs.msdn.microsoft.com/webdev/2017/02/14/
building-single-page-applications-on-asp-net-core-with-javascriptservices/
• New Single-Page Application project:• angular, aurelia, knockout, react, and reactredux
• Server-side prerendering• Webpack dev middleware• Hot Module Replacement
![Page 9: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/9.jpg)
Using NodeServices
![Page 10: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/10.jpg)
Using NodeServices
![Page 11: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/11.jpg)
ASP.NET Core Sockets• https://vimeo.com/204078084
![Page 12: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/12.jpg)
dotnet new
dotnet new mvc --auth None --framework netcoreapp1.0
![Page 13: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/13.jpg)
DEMO
![Page 15: ASP.NET Core](https://reader035.vdocument.in/reader035/viewer/2022062310/58d0b22e1a28ab1d3a8b50b1/html5/thumbnails/15.jpg)
Feedbackhttps://goo.gl/forms/KIluwHIJ8v9JSCXn1