Skip to content

Conversation

DamianEdwards
Copy link
Member

Update api template to use new Random APIs

Updates the new api project template to use new methods on Random introduced in .NET 8. This required a slight refactoring which reduced the lines of code too.

Fixes #46087

@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Jan 27, 2023
@DamianEdwards DamianEdwards requested review from a team and eerhardt January 27, 2023 20:05
Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

LGTM

@DamianEdwards DamianEdwards enabled auto-merge (squash) January 27, 2023 21:31
@DamianEdwards DamianEdwards merged commit ea68368 into main Jan 27, 2023
@DamianEdwards DamianEdwards deleted the damianedwards/api_template_updates branch January 27, 2023 21:55
@ghost ghost added this to the 8.0-preview1 milestone Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update "api" project template to use new methods on Random

2 participants