I have this function in .net code:
public class StringGenerator { public static string GenerateString(string hash) { return hash.GetHashCode(); } }
I want this to be able to be called on a PHP page. Any idea how?
Edit: in the php documentation, http://www.php.net/manual/en/class.dotnet.php , I see that this is possible. but I can not encode the code to find this dll, even with the strongly named dll. The dll file is in the same folder as the php page.
If you are running Windows, this article may help:
PHP and .NET
On another platform, you can use something like Phalanger to access the .NET runtime through PHP.
.NET DLL PHP ( ), , , , , IIS -.
-, IIS. .NET PHP-, , . - Visual Studio - - -, DLL, VS WSDL, PHP SOAP.
, - - , , .
Source: https://habr.com/ru/post/1747117/More articles:How well does Visual Web Developer 2010 Express PHP support? - phpscipy.io typeerror: слишком маленький буфер для запрашиваемого массива - pythonEscape '' 'with regular double quotes using Ruby regex - ruby | fooobar.comtapestry5 страница для рендеринга текста - tapestryCapturing a webcam in a web application - html5Any templates for MS Word for formatting source code (when writing pseudocode)? - code-formattingJAAS Tutorial - How to get an application to work with politics - jaassend bluetooth file - c #Drop Item to specific index in ListView in WPF C # - c #What UIKit elements can I use to duplicate a grid in the App Store / iTunes Store? - cocoa-touchAll Articles