Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Last June 27 was launched the final release of .NET Core and ASP.NET Core 1.0.
Now, it is possible to generate a basic web application using only the dotnet command line interface (CLI).
The first thing that you need to do is to download the .NET Core SDK for your platform (Windows, Linux or Mac).
After that, you need to execute the following steps:
1. Create a folder for your project.
For now, we have four options (console, web, Lib and xunittest). That options can be listed by running the following command:
dotnet new -t --h
2. Run the command to generate the project files for web application template:
dotnet new -t web
3. Restore the packages:
dotnet restore
4. Compile the code:
dotnet build
5. Run the web application:
dotnet run
After that, you just need to navigate to the site https://localhost:5000. You are suppose to see the following page:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in