Click here to Skip to main content
15,877,618 members
Articles / Web Development / ASP.NET

Hosting .NET Web Service in Unmanaged C/C++ Process in Windows and Linux

Rate me:
Please Sign up or sign in to vote.
4.91/5 (15 votes)
18 Oct 2022CPOL7 min read 8.3K   242   18  
Compact infrastructure for custom hosting of .NET Web components in unmanaged C/C++ code with reciprocal methods calls between the parts running in Windows and Linux
This article presents custom hosting of ASP.NET middleware by the unmanaged process. It allows developers to use managed C# code to handle HTTP(S) requests almost as in the case of normal managed Web API, call unmanaged functions from the managed controller and return the result of the unmanaged code execution back to managed code. It runs in Windows and Linux alike.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Israel Israel


  • Nov 2010: Code Project Contests - Windows Azure Apps - Winner
  • Feb 2011: Code Project Contests - Windows Azure Apps - Grand Prize Winner



Comments and Discussions