Check out example codes for "dotnet new with template with namespace". It will help you in understanding the concepts better.

Code Example 1

$ dotnet new --install /Users/sayedhashimi/Documents/mycode/dotnet-new-samples/01-basic-template/SayedHa.StarterWeb

    Templates                                 Short Name      Language      Tags
    Console Application                       console         [C#], F#      Common/Console
    Class library                             classlib        [C#], F#      Common/Library
    Unit Test Project                         mstest          [C#], F#      Test/MSTest
    xUnit Test Project                        xunit           [C#], F#      Test/xUnit
    Sayed Starter Web                         sayedweb        [C#]          Web
    Empty ASP.NET Core Web Application        web             [C#]          Web/Empty
    MVC ASP.NET Core Web Application          mvc             [C#], F#      Web/MVC
    Web API ASP.NET Core Web Application      webapi          [C#]          Web/WebAPI
    Solution File                             sln                           Solution

    
    Examples:
    dotnet new mvc --auth None --framework netcoreapp1.0
    dotnet new sln
    dotnet new --help

Learn ReactJs, React Native from akashmittal.com