> For the complete documentation index, see [llms.txt](https://eleven-fifty-academy.gitbook.io/dotnet-201-elevennote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eleven-fifty-academy.gitbook.io/dotnet-201-elevennote/elevennote-parts-1-11/part-8-notedetail/8.2-urlandroutes.md).

# 8.2: URL and Routes Discussion

In this section, we'll learn about `RouteConfig.cs` and how our URLs are made up.

## `RouteConfig.cs`

1. Go to **ElevenNote.Web -> App\_Start -> RouteConfig.cs**.
2. Have a look at `routes.MapRoute()`

   ```csharp
   routes.MapRoute(
    name: "Default",
    url: "{controller}/{action}/{id}",
    defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
   );
   ```
3. `url:` is what builds out the Url we see on the webpage.
   * `{controller}` is the particular controller we are using. For this project, chances are it will be **Note**.
   * `{action}` is the **ActionResult** we are calling on (Create, Details, Edit, or Delete).
   * `{id}` is an optional parameter that will only be used when we are working with a specific note. We'll add the `NoteId` to the end of the Url in these cases.
4. The default parameter is currently set to open the application on the **Home** page.

[Next,](/dotnet-201-elevennote/elevennote-parts-1-11/part-9-noteedit/9.0-noteedit.md) we'll work on `NoteEdit`
