Humanizr / Humanizer

Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Other
8.66k stars 965 forks source link

Create better MVC (ASPNet 4.6) Sample #486

Closed clairernovotny closed 5 years ago

clairernovotny commented 8 years ago

The current sample has a lot of extra code beyond what's needed to show Humanizer as a DataAnnotationsModelMetadataProvider.

It would be great to have a new slimmed-down sample that contains a minimal set of code/views to show demonstrate this.

MehdiK commented 8 years ago

Agreed. I've been thinking since the day I added the mvc sample to the repo that whether that sample belonged to the repo! One idea I had was to create a Humanizer.Mvc solution & package that would include some helpers for using humanizer with mvc. Could include this provider plus things like turning enums into select boxes etc.

Thoughts? On 26 Nov 2015 12:11 am, "Oren Novotny" notifications@github.com wrote:

The current sample has a lot of extra code beyond what's needed to show Humanizer as a DataAnnotationsModelMetadataProvider.

It would be great to have a new slimmed-down sample that contains a minimal set of code/views to show demonstrate this.

— Reply to this email directly or view it on GitHub https://github.com/Humanizr/Humanizer/issues/486.

gregfra commented 6 years ago

Is this still a live issue? I'd like to claim it and provide a slimmed-down sample that works in the updated VS2017 and MVC framework. Humanizer helpers would be a separate issue and need some better specification, but I can handle the first issue,