Appendix
In this appendix, there is supplementary information that you may need regarding setting up ASP.NET Application.
We'll cover the following
Local Installation
To install dotnet
locally, you need to download and install .NET SDK
from Microsoft’s official website. After following the installation steps on the installation wizard, you will be able to successfully run dotnet
commands on your terminal.
To verify that .NET
is correctly installed, type dotnet
in the terminal and press Enter
. Following should be the result:
Now you are ready to brew your own MVC application!
But before that, let’s make a couple of folders src
and in the folder ‘src’, make another folder AspMVC
. Change directory to AspMVC
. The above can be achieved using the following commands:
mkdir srccd srcmkdir AspMVCcd AspMVC
Once you are in AspMVC directory, run the following command to automatically create your own MVC application with all necessary files and folders:
dotnet new MVC
Your ASP.NET MVC application is created! You can also view the file structure by opening the ‘src’ folder in any code editor. This should look something like this:
This is the application that we provided via Github repository previously.