using c# inside an apache python script -
I have a C # application that defines a subscription provider used in an asp.Net MVC application. And I have an apache httpd server that authenticates with mod_wsgi.
Its purpose is to share the subscription provider between two, so that the authentication information is the same.
How do I get this behavior?
trivial
-
Apache works on static content.
-
Some URIs will be sent to
mod_wsgi
on Python. -
Python will then be executed by the C # program (
subprocess
) via the C # program, and the standard output response from the C # program will be read . -
Whatever is necessary to serve Python Web pages.
It assumes that your C # application is running on the command line, the command line reads the parameter and the result is written on standard output, it is easy to create The thing is, the way it works today can not be, but it is trivial to integrate any program running from the command line.
Your C # application can be rewritten in BTW, Python. It's not magic, it's just code, read code, understand code, and translate code. You will be happy with something simple instead of C #.
Comments
Post a Comment