473,386 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Virtual / Dynamic Folder

How can I create a virtual, or dynamic folder? I want to serve up
images on request, where the image url contains all the information
needed to display it. These images must be generated on the fly.

Thanks,
Ben

Nov 19 '05 #1
3 1124
Hi Ben, do you mean serve items that don't exist from a directory structure
that doesn't phsically exist? If so, you need to add a wildcard map to your
application

IIS-->Application-->Properties-->Home Directory-->Configuration-->Insert
wild card application map.

The exe should be aspnet_isapi.dll and you should uncheck the 'verify that
the file exists' box.

ASP Net will now answer all requests (e.g for .htm, .gif etc.) therefore I
would advise that this becomes a child application of your main application
and only services request of this type otherwise you might find you are using
aspnet to service requests it doesn't need to.

Once you have got to this stage you then need to either server.transfer to
the actual physical object or write a custom IHttpHandler to service the
request. I have found it is quite helpful to catch requests to ".axd" so you
can still view the server traces.

HTH jd


"Ben Harper" wrote:
How can I create a virtual, or dynamic folder? I want to serve up
images on request, where the image url contains all the information
needed to display it. These images must be generated on the fly.

Thanks,
Ben

Nov 19 '05 #2
Not sure what you mean. You could just stream the created image (with
System.Drawing) to the browser ?? I don't think you need any kind of folder
to do that...

--
Patrice

"Ben Harper" <ro*****@gmail.com> a écrit dans le message de
news:11**********************@g14g2000cwa.googlegr oups.com...
How can I create a virtual, or dynamic folder? I want to serve up
images on request, where the image url contains all the information
needed to display it. These images must be generated on the fly.

Thanks,
Ben

Nov 19 '05 #3
Thanks very much. I perchance happened to stumble across those details
an hour or two ago. At least there is a correct answer now on this
thread.

Thanks

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Prabu | last post by:
Hi, I'm new to python, so excuse me if i'm asking something dumb. Does python provide a mechanism to implement virtual functions? Can you please give a code snippet also...:) Thanx in advance...
3
by: Sensorflo | last post by:
struct CBase { virtual inline void foo() { puts("base"); } }; void main() { CBase obj; (&obj)->foo(); // static call or } // dynamic (using virtual table) call ? Is it...
6
by: Dumitru Sipos | last post by:
Hello everybody! is there possible to have a function that is both static and virtual? Dumi.
2
by: flat_ross | last post by:
Hi, I am in a shop where developers are required to work off of a network share. This is so that code is backed up nightly. So I am testing running an ASP.NET Web application with a Class...
11
by: ASP.NET User | last post by:
Hi I am in a shop where developers are required to work off of a networ share. This is so that code and other documentation is backed up nightly. This is outside the realm of Visual SourceSafe...
17
by: Michael | last post by:
Hi, Could you pleaes let me know when I need to use virtual destctor function in the base class? Thanks in advance, Michael
15
by: Philipp | last post by:
Hello I don't exactly understand why there are no static virtual functions. I would have liked something like this: class Base{ static virtual std::string getName(){ return "Base"; } }
17
by: Jess | last post by:
Hello, If I have a class that has virtual but non-pure declarations, like class A{ virtual void f(); }; Then is A still an abstract class? Do I have to have "virtual void f() = 0;"...
6
by: ManagedCoder | last post by:
Hi, My requirement is as follows: I need to set the HttpExpires (enable content expiration - set to 7 days) on a folder within a virtual directory. I have been able to set the HttpExpires...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.