Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Issue: It's hard to customize controller naming [801]

$
0
0
If I want controller named differently, it's really hard today.
public class Home : ApiController
{
public string Get() { return "Hello"; }
}

Three different classes contain knowledge of the "Controller" suffix. If I instead want to use a prefix, different suffix, or no 'fix at all, it's really hard.

There should be one place that knows how to decide what's a valid controller and what is its name (not split across three).

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>