virtual directory with data store in db

  • Thread starter Thread starter Michael Mayer [C# MVP]
  • Start date Start date
M

Michael Mayer [C# MVP]

I want to create a "virtual" directory (not and IIS virtual directory, which
really seems to just be a link to a real directory) where the contents of
that directory can be read from a database.

That is, right now I have a webform that can read an article out of a
database, with a url something like:
http://some-domain/article.aspx?id=1

I'd prefer to have a url like: http://some-domain/articles/CoolArticle.html

where some application (dll, webform, http handler?) takes any url in the
path /articles/ and uses the "CoolArticle.html" title to find the file in
the database. I know the db side, just not the web side.

Thanks in advance!
 
Thanks. I should have thought of the term URL Rewriting. That's what I
needed!
-mike
 
Back
Top