CoTask Handson Learning Flashcards

(5 cards)

1
Q

dotnet cli command to create the .sln file

A

Inside top-level folder, write

dotnet new sln

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Create the src/Api project

A

dotnet new webapi -n Api -o src/Api

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Create the src/Application project

A

dotnet new classlib -n Application -o src/Application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is difference between classlib and webapi ?

A

classlib contains the core business rules and logic that the Api project will use. Having separate classlib project helps to keep your business logic separate and independent from the web-specific concerns (in webapi project)

https://g.co/gemini/share/0bf3dd00e105

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to use the classlib project’s logic inside webapi project,

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly