You can put it in app.config file.
But here is what you should know.
Web.config is for ASP.NET and ASP.NET MVC; app.config is for desktop applications and DLLs.
If you need to store any kind of parameter for your application that you can change without having to recompile, Web.config is the place to go.
Cheer!