Introduction to .NET Core & ASP.NET Core MVC

Post on 05-Apr-2017

133 views 3 download

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

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

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

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.

.NET Core Architecture

NuGet as a first class delivery vehicle

Version 1.0 OS Support

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

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.

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

Benchmarks for ASP.NET Corewww.techempower.com

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

Understanding Project structure of ASP.NET Core MVC

Thank You

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