c# - Is there anyway to replace something in the HttpPostedFileWrapper filename in all of my project in mvc? -


i have many actions used httppostedfilewrapper, want change space " " dash "-" in of filenames before call httppostedfilewrapper.filename,
can 1 one in of actions many,
there way change on somewhere else? in onactionexecuting in filters example,

note override not solution because have change name of input type in actions again.

in fact, in wrong way because httppostedfilewrapper.filename readonly , can not change it!


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -