473,399 Members | 3,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

External API call in ASP.NET

1
I want to call external API in ASP.NET for example API is in JAVA ,Visual C in any langage but i want to embedded this API in my ASP.NET and use the functions of API. Please tell me if you all have any solution.
May 1 '10 #1
1 2585
Frinavale
9,735 Expert Mod 8TB
All you have to do is add a reference to the class library that you want to use in your application using Visual Studio and a wrapper class (Interop class) will be created for you so that you can use the unmanaged code (any code that is not .NET) in your managed ASP.NET server-side code (your C# or VB.NET server side code).

You cannot "embed" the class library into your application because the class libraries that you were mentioning are not managed code (I'm not sure you can embed a .NET class either...).

Anyways, when you publish your application the Interop classes will be included in your bin folder for the ASP.NET application. So long as you have registered/installed the unmanaged class library on the server that is going to be hosting your application you'll be fine.

-Frinny
May 3 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Kouts | last post by:
Hello all! I would like to ask something regarding dlls and Java: I would like to transform my Java code to a dll, in order to allow to third party applications (e.g. VB or Power Builder...
0
by: ChrA | last post by:
Hi. I am having some problems calling a Sybase EAServer 5 from my ASP.NET app: The .NET application invokes methods on EAServer. EAServer then executes some stored procedures, and connects to...
8
by: Hagar | last post by:
I am currently learning C++ and am into a project for the end of the semester finals. Everything is rosy except for one feature that I want to include and can't find in my very large and...
8
by: Scott Allen | last post by:
Hello, I'm new to C++ development and I'm trying out figure out the cause of an 'unresolved external symbol' error that I'm receiving when compiling. Here is some history on what I'm doing: I...
47
by: Richard Hayden | last post by:
Hi, I have the following code: /******************************** file1.c #include <iostream> extern void dummy(); inline int testfunc() {
2
by: Sandeep | last post by:
Hi I have a VC++ ui which has an HTML Container. I have several Javascript functions that need to call functions in VC++ UI. For this , the existing code is using a call "windows.external". What...
0
by: Dave Sisk | last post by:
I've created a system or external trigger on an AS/400 file a.k.a DB2 table. (Note this is an external trigger defined with the ADDPFTRG CL command, not a SQL trigger defined with the CREATE...
3
by: Paul Drabik | last post by:
First time post here ... I have been researching and not found info on this. One user here described the succinct way to call MS-Access and kick off a command: ===== Dim app As...
0
by: Kevin Stedman | last post by:
I am porting some software from Solaris to Windows. I am using the Windows Visual Studio .NET 2003 Visual C++ compiler. For the fortran files I am using Compaq Visual Fortran 6. I have my...
0
by: wingman | last post by:
Hello All I'm completely new to ASP.Net. I need to write a page to fetch an external call which actually call a Java program to download a file, the content of this downloaded is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.