building modern web apps using asp.net 5
Post on 14-Apr-2017
276 Views
Preview:
TRANSCRIPT
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 marketing@winwire.com for any clarifications or information.
Session Speakers
Amit Dubay
Director – Cloud & MobilityWinWire TechnologiesMicrosoft Azure Certified Developer
Agenda
ASP.Net 5 – Project Structure
DNX Overview
ASP.Net 5 Improvements
Introduction to ASP.Net 5
Questions
12345
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
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
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
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
Application Startup
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
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
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
marketing@winwire.com
www.winwire.com
top related