In this blog, we will see how to get started with Angular 5 in Visual Studio 2017 with .NET Core 2.1. This blog includes the introduction of Angular and .NET Core opensource also.
Flow of the blog
Overview of ASP.NET Core + Angular in VS2017
Installation
Architecture
Demo Project
Angular Core Concepts
Building SPAs with components
What a component is
Your app is a tree of components
Overview of ASP.NET Core + Angular in VS2017
ASP.NET Core is an open source and cloud-optimized web framework for developing modern web applications that can be developed and run on Windows, Linux, and Mac. It includes the MVC framework which now combines the features of MVC and Web API into a single web programming framework.
Angular is a platform and framework for building client applications in HTML and TypeScript. Angular is itself written in TypeScript. It implements core and optional functionality as a set of TypeScript libraries that you import into your apps.
Installation
NET Core 2.1 Preview (Win, MacOS, and Linux)
.NET Core 2.1 Preview 1 SDK from here
.NET Core 2.1 Preview 1 Runtime here
Archistructure
Demo Project
Now, run your application and automatically, restore your npm packages.
See your project structure given below.
Angular Core Concepts
Building SPAs with Components
What is a Component?
Your app is a tree of components
Now, see the output of your first project.
You can check my code from here