Lean .NET stack for building modern web apps

Slides:



Advertisements
Similar presentations
Software University Curriculum, Courses, Exams, Jobs SoftUni Team Technical Trainers Software University
Advertisements

Fundamentals SoftUni Welcome to Software University SoftUni Team Technical Trainers Software University
Microsoft Azure SoftUni Team Technical Trainers Software University
AMD and RequireJS Splitting JavaScript Code into Dependent Modules Software University Technical Trainers SoftUni Team.
Asynchronous Web Services Writing Asynchronous Web Services SoftUni Team Technical Trainers Software University
What’s New in ASP.NET 5 (vNext)? SoftUni Team Technical Trainers Software University Lean.NET stack for building modern web apps.
JavaScript Tools Tools for Writing / Editing / Debugging JavaScript Code Svetlin Nakov Technical Trainer Software University
Doctrine The PHP ORM SoftUni Team Technical Trainers Software University
C# OOP Advanced Course Introduction SoftUni Team Technical Trainers Software University
XML Processing SoftUni Team Database Applications Technical Trainers
Software Technologies
Programming Fundamentals (Extended)
Version Control Systems
Auto Mapping Objects SoftUni Team Database Applications
Introduction to Entity framework
Databases basics Course Introduction SoftUni Team Databases basics
Services & Dependency Injection
Data Structures Course Overview SoftUni Team Data Structures
C# MVC Frameworks – ASP.NET
Web API - Introduction AJAX, Spring Data REST SoftUni Team Web API
Introduction to MVC SoftUni Team Introduction to MVC
Deploying Web Application
PHP MVC Frameworks Course Introduction SoftUni Team Technical Trainers
C# Database Fundamentals with Microsoft SQL Server
Introduction to ASP.NET Core
Introduction to Entity Framework
ASP.NET Integration Testing
ASP.NET Unit Testing Unit Testing Web API SoftUni Team ASP.NET
Mocking tools for easier unit testing
Parsing JSON JSON.NET, LINQ-to-JSON
State Management Cookies, Sessions SoftUni Team State Management
EF Code First (Advanced)
PHP MVC Frameworks MVC Fundamentals SoftUni Team Technical Trainers
C# Databases Advanced with Microsoft SQL Server
Software Technologies
Entity Framework: Code First
Parsing XML XDocument and LINQ
Databases advanced Course Introduction SoftUni Team Databases advanced
C#/Java Web Development Basics
Install and configure theme
Entity Framework: Relations
ASP.NET Razor Engine SoftUni Team ASP.NET MVC Introduction
Transactions in Entity Framework
ASP.NET MVC Introduction
C# Advanced Course Introduction SoftUni Team C# Technical Trainers
Databases Advanced Course Introduction SoftUni Team Databases Advanced
Best Practices and Architecture
C# Web Development Basics
Best practices and architecture
WordPress Plugins Popular WP Plugins: Sliders, Forms, Contacts, SEO, Forum, Photo Gallery, e-Commerce WordPress Plugins SoftUni Team Technical Trainers.
Multidimensional Arrays, Sets, Dictionaries
Extending functionality using Collections
ASP.NET REST Services SoftUni Team ASP.NET REST Services
Making big SPA applications
Manual Mapping and AutoMapper Library
C# Advanced Course Introduction SoftUni Team C# Technical Trainers
Course Overview, Trainers, Evaluation
Introduction to TypeScript & Angular
CSS Transitions and Animations
Train the Trainers Course
Software Quality Assurance
Version Control Systems
JavaScript Frameworks & AngularJS
JavaScript: ExpressJS Overview
CSS Transitions and Animations
MVC in ASP.NET Core: The new kid on the block
Explore web development with Microsoft ASP.NET Core 1.0
Building Modern Web Apps with ASP.NET MVC 6
Explore web development with Microsoft ASP.NET Core 1.0
#01# ASP.NET Core Overview Design by: TEDU Trainer: Bach Ngoc Toan
Presentation transcript:

Lean .NET stack for building modern web apps ASP.NET Core Lean .NET stack for building modern web apps Ivaylo Kenov Technical Trainer Software University https://softuni.bg © Software University Foundation – http://softuni.org This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.

The Trainer Ivaylo Kenov Various job titles at the same time: Contacts Mathematical competitions champion Full Stack Technical Trainer Senior Software Developer Solutions Architect & Technical Lead Owner of a Software Company One-man army @ https://MyTestedASP.NET {Insert Jot Title Here} Contacts https://github.com/ivaylokenov https://facebook.com/ivaylo.kenov https://linkedin.com/in/kenov

What Are We Going To Learn .NET Core Platform Cross-platform, Lightweight, Flexible ASP.NET Core Server Technology IIS, Kestrel, Middleware, Built-in IoC container ASP.NET Core MVC Framework Routing, Models, Controllers, Views, Web API Entity Framework Core Database Access Code First Only, Migrations, Database Access

Who Is This Lecture For This lecture is suitable for: All server-side developers C# developers ASP.NET MVC developers Everyone willing to learn! 

Required Software Windows 10 (Linux, Mac) Go to http://dot.net and download .NET Core Visual Studio Community: https://www.visualstudio.com/vs/community/ Code: https://code.visualstudio.com/ GitHub (for support): https://github.com/aspnet https://github.com/aspnet/Mvc

.NET Core Platform

.NET Core Platform Different from the .NET Framework Open Source @ https://github.com/dotnet Modular components with minimal overhead Changes based on customer requests & requirements Different project structure – the project.json file Supports Console Apps, Class Libraries, Web Apps Automatic change watcher Command-Line Interface

.NET Core CLI Create new project with dotnet new Edit packages in project.json Restore them with dotnet restore Write some C# Start the application with dotnet run Be happy! 

ASP.NET Core Server

ASP.NET Core Server Modular HTTP pipeline Supports middleware (like Node.js) Super lightweight and fast Cloud-ready environment configurations Self-hosted or IIS-hosted Supports both .NET Core and .NET Framework Built-in dependency resolver (with lifetime support)

ASP.NET Core MVC

ASP.NET Core MVC Framework Controllers – light and easy Routing – conventional and by attributes Models – enhanced model binding Built-in dependency resolver (with lifetime support) Views – good old Razor (on steroids – injectables, tag helpers, and view components) Web API – merged with MVC Areas – separate your separation Identity – built-in authentication & authorization support

Entity Framework Core

Entity Framework Core Database Access Code First only Supports non-relational databases No lazy-loading Explicit migrations only LINQ is same, but has some limitations

Thank You!

Introduction To ASP.NET Core https://softuni.bg/trainings/1434/node-js-development-september-2016 © Software University Foundation – http://softuni.org This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.

License This course (slides, examples, demos, videos, homework, etc.) is licensed under the "Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International" license Attribution: this work may contain portions from "End-to-end JavaScript Applications" course by Telerik Academy under CC-BY-NC-SA license © Software University Foundation – http://softuni.org This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.

Free Trainings @ Software University Software University Foundation – softuni.org Software University – High-Quality Education, Profession and Job for Software Developers softuni.bg Software University @ Facebook facebook.com/SoftwareUniversity Software University @ YouTube youtube.com/SoftwareUniversity Software University Forums – forum.softuni.bg © Software University Foundation – http://softuni.org This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.