I am working on a Web application,
I have its two Modules,both modules are separate solutions(ie projects):
1: Application
2: SiteSetup
Sitesetup module is a separate project, I am saving images for logo and banner in this project,the database of both modules is same and i am storing image name in database and file is physically saving on disk,
I want to display the stored Logo and banner in my Application,How can i achieve this?
Regards
store image path relative to web application root and use “~/images/logo.png” syntax, then correctly resolve it in web application. use Path.Combine(webAppPath,”images”) to get directory for the ~/images.