building modern web apps using asp.net 5
TRANSCRIPT
![Page 1: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/1.jpg)
Building Modern Web Apps Using
ASP. Net 5Notes: If you experience audio issues during the webinar, you can dial in through telephone details provided
to you in your registration confirmation email. Please feel free to post questions in the questions dialog and we will try to answer as many as we can
at the end. Recording of this session will be shared in next 24-48 hours. You can also write to us at [email protected] for any clarifications or information.
![Page 2: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/2.jpg)
Session Speakers
Amit Dubay
Director – Cloud & MobilityWinWire TechnologiesMicrosoft Azure Certified Developer
![Page 3: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/3.jpg)
Agenda
ASP.Net 5 – Project Structure
DNX Overview
ASP.Net 5 Improvements
Introduction to ASP.Net 5
Questions
12345
![Page 4: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/4.jpg)
Introduction to ASP.Net 5
ASP.NET 5 is a new open-source and cross-platform framework for building modern cloud-based Web applications using .NET
![Page 5: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/5.jpg)
ASP.Net 5 Improvements
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
Integrated support for creating and using NuGet packages
Single aligned web stack for Web UI and Web APIs
Cloud-ready environment-based configuration
Built-in support for dependency injection
Build and run cross-platform ASP.NET apps on Windows, Mac and Linux
Open source and community focused
![Page 6: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/6.jpg)
DNX Overview
The .NET Execution Environment (DNX) is a software development kit (SDK) and runtime environment that has everything you need to build and run .NET applications for Windows, Mac and Linux
Cross-platform .NET development
• DNX provides a consistent development and execution environment across multiple platforms (Windows, Mac and Linux) and across different .NET flavors (.NET Framework, .NET Core and Mono)
Build for .NET Core
• DNX dramatically simplifies the work needed to develop cross-platform applications using .NET Core
Package ecosystem
• Package managers have completely changed the face of modern software development and DNX makes it easy to create and consume packages
Open Source Friendly
• DNX makes it easy to work with open source projects
![Page 7: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/7.jpg)
ASP.Net 5 – Project Structure
● Global.json file● The “src” folder● Special “wwwroot” folder● Dependencies section● Several new files such as bower.json,
appsettings.json, gulpfile.js, package.json, project.json, and Startup.cs
● Files global.asax, packages.config, and web.config are gone
![Page 8: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/8.jpg)
Application Startup
![Page 9: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/9.jpg)
Configuration ServicesThe ConfigureServices method is used to specify which services are available to the app. The default template uses helper methods to add a variety of services used for EF, Identity, and MVC
![Page 10: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/10.jpg)
Configuration Method● The Configure method will be
called by the runtime after ConfigureServices
● In the sample project, Configure is used to wire up a console logger, add several useful features for the development environment, add support for static files, Identity, and MVC routing
![Page 11: Building Modern Web Apps Using ASP.NET 5](https://reader034.vdocument.in/reader034/viewer/2022051520/5886553b1a28ab26598b4df5/html5/thumbnails/11.jpg)
Q & ANext WebinarTopic : Getting Started with Visual Studio 2015 and C# 6.0 When: Jan 20th at 9am PT
http://www.winwire.com/blog-winsights/
www.twitter.com/winwire
www.winwire.com