Trying this library and I found out that routes defined with the [Route] attribute in controllers are ignored completely.
[Route("")]
public class HomeController : BaseController
{
public IActionResult Index()
{
...
results in example.com/index in the sitemap, which is wrong.
Also:
[Route("something")]
public class SomeController : BaseController
{
[HttpGet("something_else")]
public IActionResult Method()
{
...
results in example.com/method.
Trying this library and I found out that routes defined with the
[Route]attribute in controllers are ignored completely.results in
example.com/indexin the sitemap, which is wrong.Also:
results in
example.com/method.