Calling dot.net code/assembly from a webpage ?
- From: "Skybuck Flying" <spam@xxxxxxxxxxx>
- Date: Fri, 20 Oct 2006 09:10:49 +0200
Hello,
Suppose I have an html website.
Is it possible to call some dot.net code... for example asp.net assemblies
from a html page ?
I have seen some tricks:
1. Use a script. Like javascript or vbscript or something like that.
2. Link to an image which is really an image generator, like a hit counter.
Some further questions:
Is it possible to use javascript to call a dot.net assembly or asp.net
application ?
Is it necessary to make an asp.net form application or can it be formless ?
Finally the most difficult question:
Is it possible to first call an asp.net application to check if the webusers
should be allowed access to the html page ?
(This would probably need a html replacement file with a script calling the
asp.net thingy which when access is allowed would redirect the user to the
real html page... but the real html page location would need protected
access (?) so maybe the asp.net thingy would need to load the html page and
display it or something ? <- that could be a solution. )
So then all links would have to be modified ?
For example:
www.mywebsite.com/CheckForAccessAsp.Net.Thingy?Load=MyWebPage.html
www.mywebsite.com/CheckForAccessAsp.Net.Thingy?Load=MyOtherPage.html
Other ideas/solutions are welcome, I am looking for an add on solution to my
current html-only website. Re-making my html website in an asp.net
application seems a bit overkill. I just want to extend the html website
with some asp.net functionality, etc.
Can you give some examples ?
Especially some examples of javascript or vbscript calling the asp.net
thingy would be great, since I am mostly new to that.
Bye,
Skybuck.
.
- Follow-Ups:
- Re: Calling dot.net code/assembly from a webpage ?
- From: Marc Rohloff
- Re: Calling dot.net code/assembly from a webpage ?
- Prev by Date: Re: Where is stringbuilder?
- Next by Date: Re: Where is stringbuilder?
- Previous by thread: Re: Web Applications located on a FileDiskImage not accessable with Internet Information Server ? (Delphi 2006 used to create web application)
- Next by thread: Re: Calling dot.net code/assembly from a webpage ?
- Index(es):
Relevant Pages
|