I want to connect Django project and .NET core project because I want it take advantage of good library available in python so I will make one strong .NET core project.so through some lite on it.
I want to connect Django project and .NET core project because I want it take advantage of good library available in python so I will make one strong .NET core project.so through some lite on it.
I am afraid there is no way to run both Django/Python and .Net/C# in a same process. But there are at least one other option.
The options is using MicroService architecture. That means you create two separate projects, one for .Net and another for Django/Python. Then make these two projects talk to each other.
They can communicate with each other in several ways. Most common way is to communicate via REST. It means each project provide the other side a bunch of APIs. The other side can consume (call) the API to receive or send the required data.
Another way to communicate is to use a shared database. Another one is use messaging solutions like RabbitMQ.
In MicroService architecture, you can host each one on a convenient web server or, if you enjoy fancy technologies, you can use docker.
Update
A practical example would be like this:
calchttp://localhost:5000/api/calc?lata=53.123&longa=34.134&latb=53.999&longb=34.999 (consider a and b in query parameters)calc api via utilities like HttpClient