Hi Vrinda,
There are several tutorials out there on how to use a native C++ code dll and invoke is APIs from a C# WebRole. Take a look at this one here.
To actually use native code in a WebRole you will have to implement a native module. We have experimented with this a bit, but don't have a full solution that we are ready to support and share. Here is some information on how to implement an IIS native module.
Using a native executable in a WorkerRole is easier. You basically just need to deploy and use the ProgramEntryPoint schema I mentioned earlier in this discussion. In general we don't have a step by step tutorial for this that I can give you. It isn't something that I can just put together quickly.
Thanks,
Steve
There are several tutorials out there on how to use a native C++ code dll and invoke is APIs from a C# WebRole. Take a look at this one here.
To actually use native code in a WebRole you will have to implement a native module. We have experimented with this a bit, but don't have a full solution that we are ready to support and share. Here is some information on how to implement an IIS native module.
Using a native executable in a WorkerRole is easier. You basically just need to deploy and use the ProgramEntryPoint schema I mentioned earlier in this discussion. In general we don't have a step by step tutorial for this that I can give you. It isn't something that I can just put together quickly.
Thanks,
Steve