Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 653 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 653 Bytes

dotnet new webapi --use-controllers -o

cd

dotnet add package Microsoft.EntityFrameworkCore.InMemory

code -r ../

dotnet dev-certs https --trust --> Use Https.

dotnet run --launch-profile https --> Launch application.

Add a folder and inside file that represent

namespace TodoApi.Models;

public class TodoItem

{

public long Id { get; set; }

public string? Name { get; set; }

public bool IsComplete { get; set; }

}