c# assembly access from Java script

  • Thread starter Thread starter cspek
  • Start date Start date
C

cspek

Hi all,
I have a piece of code written in C#. I have made it as an assembly
(dot net dll library code). I need to access some method of it from the
script side.
Which are the possible ways of achieving the same ?
The scenario is like this. I have an existing web application to which I
have access only to the script code., not the server code. Now, in order
to access some information from the back end, the application has
exposed few web services. Now, I need to access those web services from
the script to get some information.
Kindly let me know, if there are any other alternatives.
Thanks,
cspek
 
cspek wrote:

I have a piece of code written in C#. I have made it as an assembly
(dot net dll library code). I need to access some method of it from the
script side.
Which are the possible ways of achieving the same ?
The scenario is like this. I have an existing web application to which I
have access only to the script code., not the server code. Now, in order
to access some information from the back end, the application has
exposed few web services. Now, I need to access those web services from
the script to get some information.

If you are thinking about JScript in IE/Windows then search
http://msdn.microsoft.com/ for the webservice behavior, that way you can
make calls to a webservice, within the usual limits of the browser (same
origin policy).
 
Back
Top