Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing #48

Open
Tracked by #17
LadyNaggaga opened this issue Aug 30, 2021 · 3 comments
Open
Tracked by #17

Routing #48

LadyNaggaga opened this issue Aug 30, 2021 · 3 comments
Labels
Getting Started Docs designed to give developer quick overviews on how to implement specific features

Comments

@LadyNaggaga
Copy link
Contributor

No description provided.

@LadyNaggaga LadyNaggaga added the Getting Started Docs designed to give developer quick overviews on how to implement specific features label Aug 30, 2021
@LadyNaggaga LadyNaggaga added this to Todo in Quick start content RC1 via automation Aug 30, 2021
@DaneeTheDeveloper
Copy link

DaneeTheDeveloper commented Oct 1, 2021

Could we add something like the following to the Basic Routing section on the quick start page?

Keep in mind, once you start assigning specific URL routes such as "/hello", you will need to make sure you are referencing that particular route when running the code.

For example, when clicking the host link http://localhost:5000, you will be met with a "No Webpage Found" if nothing is assigned to the homepage. In order to reference the hello page, you will need to update the link to http://localhost:5000/hello.

@DaneeTheDeveloper
Copy link

Also in subsections 'Route Variables' and 'Constraints', am I supposed to know how to assign variables at that point in the doc?

For example,

app.MapGet("/hello/{name}", (string name) => $"Hello {name}");

Am I supposed to know how to add or change the name value. Like how can I change the name value to David?

@davidfowl
Copy link
Collaborator

We should have an example URL, agree (e.g http://localhost:5000/hello/David)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Getting Started Docs designed to give developer quick overviews on how to implement specific features
Development

No branches or pull requests

3 participants