Skip to content

Conversation

deeprobin
Copy link

@deeprobin deeprobin commented Dec 20, 2021

Fixes #8998

Current state of implementation

  • Implementation
  • Tests

@ghost ghost added area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates community-contribution Indicates that the PR has been added by a community member labels Dec 20, 2021
@mkArtakMSFT mkArtakMSFT added old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels and removed area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels Dec 22, 2021
@rafikiassumani-msft rafikiassumani-msft removed their assignment Jan 11, 2022
@rafikiassumani-msft rafikiassumani-msft added pr: pending author input For automation. Specifically separate from Needs: Author Feedback and removed pr: pending author input For automation. Specifically separate from Needs: Author Feedback labels Jan 11, 2022
private static string TrimAsyncSuffix(string actionName)
{
const string suffix = "Async";
if (actionName.EndsWith(suffix, false, CultureInfo.InvariantCulture))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing this unconditionally wouldn't be right (if say the option to trim the Async suffix is disabled). Could you describe a possible solution in the issue before we start writing code? Thanks!

@pranavkm
Copy link
Contributor

Closing this until we can discuss the right way to go about this.

@pranavkm pranavkm closed this Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates that the PR has been added by a community member old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Discussion] Async suffix for controller action names will be trimmed by default
4 participants