How to Setup a C# ASP.NET MVC Core App on Any OS

This quick tutorial will guide you through getting started with an ASP.NET MVC app that you can run on Windows, Mac or Linux.

Install ASP.NET and the related runtimes using these instructions. This will allow you to use the ASP.NET frameworks and compile C# code.

Install the Yeoman ASP.NET web app generator that scaffolds our different types of ASP.NET projects for us including Web Applications, Web API Applications, and Console Applications. You will need to have Node.js installed.

Use the aspnet generator to create a new project.

Select Web Application for the full MVC framework to install the files. Then enter the new directory and install the dependencies. Start the web server to make sure everything is working.

Leave a Reply

Your email address will not be published. Required fields are marked *