-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
Getting StartedDocs designed to give developer quick overviews on how to implement specific featuresDocs designed to give developer quick overviews on how to implement specific featuresdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
I tried out the following code provided in the doc
app.MapGet("/hello", () => "Hello World!");
app.MapGet("/todos", () => new { TodoItem = "Learn about routing", Complete = false });
app.MapPost("/todos", () => Result.Ok());
And I received the following error message-
(6,29): error CS0103: The name 'Result' does not exist in the current context
Just want to make note of that!
Metadata
Metadata
Assignees
Labels
Getting StartedDocs designed to give developer quick overviews on how to implement specific featuresDocs designed to give developer quick overviews on how to implement specific featuresdocumentationImprovements or additions to documentationImprovements or additions to documentation