routedata Questions

4

I have upgraded dotnet core 2.2 to 3.preview 7. So after that, I can't get custom attributes. context.Resource in version 2.2 was type of AuthorizationFilterContext, but in version 3 is type of Mic...
Duero asked 30/7, 2019 at 10:45

1

In regular class, I need to read following from the HttpContext: Controller and action name Action's attribute (I could get that through HttpActionContext.ActionDescriptor.GetCustomAttributes<...

2

Solved

I am surprised to see that there is no article which answers this question with any details. I have few questions related to RouteData.Values[""]. I saw this code: public ActionResult Index() { ...

1

Solved

If I want to directly access the RouteData (the current action or parameter values for example) from the View, rather than having to pass it in from the controller as part of the ViewData, what cla...
Goodale asked 16/7, 2009 at 0:13
1

© 2022 - 2024 — McMap. All rights reserved.