Re: Dynamically generate HTML in C#

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Rathtap (amcniw_at_yahoo.com)
Date: 05/27/04


Date: 27 May 2004 05:47:52 -0700

Thanks for the responses. I am afraid I am missing the main idea here.
More I think about it the more I am convinced that all I need is a
regular ASP.net app with a page that takes in a query string that
contains the account number. It does its work and dislays the info. An
analogy would be the many websites that link up with Mapquest to
display a map based on the query string that is passed to it.
Here I have numerous apps calling 'PatientQuest' with a claim ID in
the query string that then generates the HTML which is sent back in
the browser.
I'm sorry but I still do not see where the following fits in. Thanks
for the patience.
>"Basically, the class you generate would be a helper class which
would
> take the parameters in a more friendly format, and then send the request to
> your site for the HTML."

"Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> wrote in message news:<OShJKK1QEHA.2216@TK2MSFTNGP12.phx.gbl>...
> Rathtap,
>
> Basically, the class you generate would be a helper class which would
> take the parameters in a more friendly format, and then send the request to
> your site for the HTML. It would also take the response stream and store it
> for use in an easier format (in a string, instead of a stream, perhaps). I
> mentioned the HttpWebRequest and HttpWebResponse classes because those are
> the classes in the framework that you would use in order to get the HTML
> from the ASP.NET site in an easy manner.
>
>
>
> "Rathtap" <amcniw@yahoo.com> wrote in message
> news:b21a5958.0405260422.5d742dec@posting.google.com...
> > Nicholas,
> > If my 3rd-party app can call up a URL and pass it a query string then
> > it seems that I do not need anything other than a simple .Net app with
> > an aspx page that displays all the info. I also then do not need to
> > create HTML files on the fly.
> >
> > What I did not understand was your second paragraph about components
> > and using the HttpWebRequest and HttpWebResponse classes. What will
> > this help me achieve? Could you please explain in a little more
> > detail. I am sorry but this is a 'I do not know enough about the
> > technology question'.
> >



Relevant Pages

  • Re: dynamically embedding objects in html
    ... Thanks Jojo! ... I plan to open the html page from my application. ... I am looking forward to your script. ... sample code which decodes my query string and embeds the swf file I ...
    (alt.html)
  • Re: Best way to do server side tasks with new ISP
    ... PES> idea why the following line would ever need to be parsed in C, ... Consider a list of CGI form parameters in a GET query string. ... So, AIUI, the CGI script only needs to parse the query string and then ... create a new HTML according to the parameters which were generated by the ...
    (comp.lang.perl.misc)
  • Re: HyperLink with IsPostBack= true
    ... Create some html instead of the HyperLink controls and in the generated html you can specify the querystring yourself. ... page but with different query string, I pass the year and the month in the query string. ... Is it possible to put the IsPostBack value to true when I click on the HyperLink and reload the page with different query string? ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: HyperLink with IsPostBack= true
    ... Create some html instead of the HyperLink controls and in the generated html you can specify the querystring yourself. ... aspx page but with different query string, I pass the year and the month in the query string. ... Is it possible to put the IsPostBack value to true when I click on the HyperLink and reload the page with different query string? ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: dynamically embedding objects in html
    ... flash movie I need to play is test.swf. ... sample code which decodes my query string and embeds the swf file I ... I need to navigate to a html page in my application. ...
    (alt.html)