Avatar of curiouswebster
curiouswebster
Flag for United States of America asked on

Where in Web.Config do I define a file save path using MVC2?

I need to use the Web.Config to save the path I will use to save files uploaded by the user. Where is the right place to define this?  I mean what tags do I use?

Then how do I reference it in the code?

Thanks,
newbieweb
ASP.NET.NET ProgrammingC#

Avatar of undefined
Last Comment
curiouswebster

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
AliSyed

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
curiouswebster

ASKER
Great.  How do I then use it in my program?
curiouswebster

ASKER
And does it matter where i place it?  Should it go inside here?

<configuration>
</configuration>
curiouswebster

ASKER
Thanks.  I got it working as you described. Cheers.
Your help has saved me hundreds of hours of internet surfing.
fblack61