Visitar URL original
GitHub - JBC-AI/OdeToFood: A repo for the ASP.NET Core Pluralsight Project · GitHub
Skip to content

About

A repo for the ASP.NET Core Pluralsight Project

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OdeToFood

A repo for the ASP.NET Core Pluralsight Project.

The following are additional notes and FAQs about the course.

Module 1

Clip 2 - Creating the Project

To create, build, and run a project like we do in Visual Studio, you can use the command line:

dotnet new razor
dotnet build
dotnet run

Some environments, like Visual Studio Code, can also detect .NET Core projects and automatically add support to build and run from the VS Code menus.

Clip 3 - Saving changes and refreshing

VS uses some magic to automatically restart the web server when you make changes to source code files. If you are using command line tools, you can do the same using:

dotnet watch run

... instead of ...

dotnet run

Clip 7 - Adding the OdeToFood.Core project

You can use dotnet to create the class library. Place this at the same folder level as the OdeToFood project.

dotnet new classlib

Module 2

Clip 3

Changes for Bootstrap 4 - TBD

Module 3

Note that Bootstrap version 4 no longer provides icons out of the box. See the docs for more info.

Clip 5

You'll need to install the NuGet package dotnet-aspnet-codegenerator. From the comamnd line:

dotnet tool install --global dotnet-aspnet-codegenerator 

After installing, the following command should display a help screen and a list of avaialble generators. Make sure you execute the command inside a directory where a project exists.

dotnet aspnet-codegenerator -h

Now you should be able to follow along with the scaffolding in the video.

dotnet aspnet-codegenerator razorpage List Empty -udl -outDir Pages\Restaurants\

For Visual Studio users, you might also want a reference to CodeGeneration tools you can use from the UI. Run the following command in the project directory:

dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design
dotnet restore

This will allow you to right-click the project and run scaffolding. s

Module 4

Clip 2

Alternatives to MSSQL

About

A repo for the ASP.NET Core Pluralsight Project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages