How to easily test if ASPX is working?

  • Thread starter Thread starter Roy Chastain
  • Start date Start date
R

Roy Chastain

I have developed a ASPX solution for resale. I know that most of my customers will not have IIS and ASPX configured correctly. I
was trying to determine if it would be easy to just give them a small amount of code to past in to a .aspx file in the root of
their main web that, if it ran, would tell them that the basic ASPX/IIS functionality was working?

So far, I have not discovered anything simple, which leads me to giving them a DLL and .aspx file to copy etc. Things keep going
downhill from there.

Has anyone a good/simple method that a non-guru could perform to confirm that at least basic functionality was working?

Thanks
 
Roy said:
I have developed a ASPX solution for resale. I know that most of my
customers will not have IIS and ASPX configured correctly. I was
trying to determine if it would be easy to just give them a small
amount of code to past in to a .aspx file in the root of their main
web that, if it ran, would tell them that the basic ASPX/IIS
functionality was working?

Try this:

<html>
<body>
1 + 2 = <%= (1+2).ToString() %>
</body>
</html>


as an aspx file in the root of the webserver, and call it through localhost.
(http://localhost/test.aspx). It *should* display: 1 + 2 = 3, if everything
is correct.

Short enough?

Hans Kesting
 
I knew that I was making too difficult.

THANKS

Try this:

<html>
<body>
1 + 2 = <%= (1+2).ToString() %>
</body>
</html>


as an aspx file in the root of the webserver, and call it through localhost.
(http://localhost/test.aspx). It *should* display: 1 + 2 = 3, if everything
is correct.

Short enough?

Hans Kesting
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top