Hi,
Thanks you all for the responses.
The reason we want to stick with .html files is that the client for
which we need to implement this is a website with massive indexing of
its pages on various search engines.
Also, we feel that .html files do have some benefit on indexing on
search engines over any other dynamic pages (.aspx for example).
Further as pointed out by "Scott M" processing .aspx file as "exec
cgi" will render complete html eg. from <HTML> to </HTML>. That would
produce erronous page output and an invalid html page.
So, from the discussion held so far i think i will have to stay back
with .asp file for this particular task.
But i strongly feel that we should have some provision in asp.net (may
be some new extension for scripting files) to achive this task
(atleast for existing web applications).
thanks & regards
Rajiv
"Scott M." <s-***@nospam.nospam> wrote in message news:<ui**************@TK2MSFTNGP10.phx.gbl>...
Actually, that is the best way to do it. But, the OP (for some reason)
wants to stay with .htm files.
"David Jessee" <dj*****@houston.rr.com> wrote in message
news:e0**************@TK2MSFTNGP15.phx.gbl... Use a User Control and place it at the top of the page.
Yes, folks, I know that's not the best way to do it...however, sometimes
when you're migrating, you can't do the entire thing at once.
"Rajiv Gupta" <ra**********@gmail.com> wrote in message
news:e4**************************@posting.google.c om... Hi,
We are moving from asp to asp.net.
In our existing model we execute the asp by including them in .html
files.
For example:
In abc.html file we include following directive:
<!--exec cgi="right_list.asp"-->
And the dynamic output comes on the .html page.
Please let us know what is the best possible solution in ASP.NET to
achive the same result.
Note:
We are aware of the asp.net user controls but that works only in .aspx
pages. I need to include/ execute the asp.net file in a .html file.
thanks & regards
Rajiv