how to setup sharing folders for 2 websites

Posted on 2014-08-14
Medium Priority
Last Modified: 2014-08-14
Using .net c# to build 2 separate websites and they both need access to a folder on the windows server which contains image files. So file reference would have to go to root and then out to folder ..root/sharedfolder/image/filenames.jpg

In addition whilst the websites are being developed, I would like to be able to access the folder but the local development doesn't use IIS, if that is used a s solution to first part.

Is there a better way than to set up the folder as a separate websites and reference access to the image files by reference to http://www.sharedfolder.co.uk/image/imagerequired334.jpg 

Help very much appreciated
Question by:stephenwilde
  • 2
LVL 34

Accepted Solution

Big Monty earned 2000 total points
ID: 40261304
I would look into using virtual folders


They're used to access folders that aren't always in your Web root, making them ideal for sharing content across sites

Author Comment

ID: 40261350
Thank you that link seems to cover the situation and the development machine uses Windows 7 pro so I will update to add IIS to work locally.

Author Closing Comment

ID: 40261354
Thank you

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Suggested Courses

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question