MA Unit3 Ch1
MA Unit3 Ch1
Unit 3
Chapter 1: Building Microservices with ASP.NET Core:
ASP.NET Core:
A collection of small, modular components that can be plugged into your application to let
you build web applications and microservices.
Within ASP.NET Core you will find APIs for routing, JSON serialization and MVC controllers
and views.
Q2) How to install .NET Core?
Distinction between the tooling and the SDK: you can have more than one SDK installed
and managed by a single version of the command line tools.
$ dotnet –version
To check installed version of .NET.
Projects will be managed with project files in the form of <project name>.csproj.
Requirements are a runtime version of 1.1 or greater and an SDK/tools version of 1.0.2 or
better.
$ ls -F /usr/local/share/dotnet/shared/Microsoft.NETCore.App/
Check for 1.1.1 in the directory.
On windows:
Program Files\dotnet\shared\Microsoft.NETCore.App.
All of the dependencies your applications need are going to be downloaded via the dotnet
restore command by examining your project file.
This is essential for cloud native application development because having vendored (locally
bundled) dependencies is mandatory for deploying immutable artifacts to the cloud, where
you should assume virtually nothing about the virtual machine hosting your application.