Introduction to .NET Core & ASP.NET Core MVC

16
Introduction to .NET Core & ASP.NET Core MVC

Transcript of Introduction to .NET Core & ASP.NET Core MVC

Page 1: Introduction to .NET Core & ASP.NET Core MVC

Introduction to.NET Core & ASP.NET Core MVC

Page 2: Introduction to .NET Core & ASP.NET Core MVC

Csharpcorner: saineshwar-bageri

Twitter: @saihacksoft

Facebook: fb.com/saineshwar.bageri

Who am I?

Saineshwar BageriSoftware EngineerCsharpcorner 3 Times MVPAuthor & SpeakerCommunity contributor on Csharpcorner Code project & Stack overflow, Tutlane ,Github

Page 3: Introduction to .NET Core & ASP.NET Core MVC

Agenda• What is .NET Core?• Tool required for developing .NET Core application.• Understanding Command for using (CLI)• How to create you first Console application and Web

Application using Command Line Interface (CLI)• Running ASP.NET Core MVC application using Command

Line Interface (CLI)• How to create you first Console application and Web

Application using Visual studio 2015• Understanding Project structure of ASP.NET Core MVC• Q&A

Page 4: Introduction to .NET Core & ASP.NET Core MVC

What is .NET Core?• .NET Core is a general-purpose, modular, cross-

platform and open-source implementation of the .NET Platform. It contains many of the same APIs as the .NET Framework (but .NET Core is a smaller set) and includes runtime, framework, compiler and tools components that support a variety of operating systems and chip targets.

Page 5: Introduction to .NET Core & ASP.NET Core MVC

.NET Core Architecture

Page 6: Introduction to .NET Core & ASP.NET Core MVC

NuGet as a first class delivery vehicle

Page 7: Introduction to .NET Core & ASP.NET Core MVC

Version 1.0 OS Support

Page 8: Introduction to .NET Core & ASP.NET Core MVC

Tool required for developing .NET Core application

• Install for Windows - Visual Studio 2015

• Install for Windows - Command Line

• https://www.microsoft.com/net/core#windowsvs2015

Page 9: Introduction to .NET Core & ASP.NET Core MVC

CLI Commands• dotnetThe Main command for running command line arguments. This

command will return .NET Core Version and Build information.• dotnet –helpThis command will show all the information of common

commands and arguments we can use.• dotnet new –t webThis command will create MVC web application template.• dotnet restoreThis command will restore all dependencies.• dotnet buildThis command will compile the code.

Page 10: Introduction to .NET Core & ASP.NET Core MVC

• dotnet run• This command will run the web application.• dotnet publish• This command is used for publishing a project.

Page 11: Introduction to .NET Core & ASP.NET Core MVC

Benchmarks for ASP.NET Corewww.techempower.com

Page 12: Introduction to .NET Core & ASP.NET Core MVC

How to create you first Console application and Web Application using Visual studio 2015

Page 13: Introduction to .NET Core & ASP.NET Core MVC

Understanding Project structure of ASP.NET Core MVC

Page 14: Introduction to .NET Core & ASP.NET Core MVC
Page 15: Introduction to .NET Core & ASP.NET Core MVC

Thank You

Page 16: Introduction to .NET Core & ASP.NET Core MVC

Q&A• Connect with me• Csharpcorner: /saineshwar bageri• Facebook: fb.com/saineshwar.bageri• Twitter: @saihacksoft