I am developing an application that can be simplified as follows:
The application is basically a mailing list.
Users browse to http://mysite/subscribe
.
It's on the intranet, and the site is using Windows Auth, so I can retrieve their email adress from Active Directory. This email adress is stored in an SQLLite DB, on the webserver.
Every hour, on the same server, a scheduled task runs a .exe
console app. It reads the email adresses from the DB, and sends a report by mail.
My question is:
Where should I save the DB file, in a way that is easily configured in both apps?
In the wwwroot/mysite
folder?
In the console App folder? In some other folder dedicated for this I don't know about?