Communication with External Application Objects from an ASP.Net Pa

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How would I go about writing an ASP.NET Page that could communicate with
another applications objects,

Example being I am writing a Website where I need to communicate with
AutoCAD objects.

Could there be possible security issues communicating from managed Code to
Unmanaged code...
 
There are many ways to skin this cat.

The easiest (or one of the easiest), is to create a .NET application that
understands a URL (like MSDN or HTML Help understands MHTML://), and a click
or javascript on your page could then basically then communicate with this
application. The msi installer for this application would be responsible for
registering this URL like thing on the end uer machine. This can be done
easily by implementing a class that inherits from
System.Configuration.Install.Installer.

The bigger issue is installing that application on the user's machine. In
that you need to get the user trust, or work under low trust, there is no
other option (and thankfully there isn't another option). Though once you do
get User trust, you have a multitude of options to keep your deployment
seamless and painless (see clickonce deployment).

HTH

- Sahil Malik
You can reach me thru my blog at
http://www.dotnetjunkies.com/weblog/sahilmalik
 
I'm not sure this exactly what I want to do,

I am trying to actually read and write from an Applications objects from an
ASP.NET page.

For example, I want to reference the AutoCAD Object and then be able to use
this object from within the pages code.
 
Back
Top