My client have an application built on Flex and .NET technologies. Flex calls the .NET code through the Flex Florine service. I need to to convert this application into HTML5. For this task, how do I call .NET code in HTML5?
-
You have DLL install with your application?Dor Cohen– Dor Cohen2012-04-01 15:07:03 +00:00Commented Apr 1, 2012 at 15:07
-
Yes..I've a data layer DLL built in c#.Amit– Amit2012-04-01 19:16:48 +00:00Commented Apr 1, 2012 at 19:16
-
HTML5 is not a programming language and cannot "call" anything. Since .NET stuff is Windows only, there is no interface for it. Obviously, there needs to be some other plug-in to do such a thing.Rob– Rob2012-04-01 20:17:46 +00:00Commented Apr 1, 2012 at 20:17
Add a comment
|
2 Answers
My first advice to you is to learn about the "Holy Trinity" - HTML5, CSS & JavaScript,
If you want to load your own dll you have some options:
- Create your DLL as COM - read about it at http://p2p.wrox.com/javascript/17313-how-call-dll-method-javascritp-urgent.html
- Use WPF browser or Silverlight to build xbap or xap file that you can implement in your web site.
- Use WCF or web service to expose your dll, so your web site could make http requests.
Comments
I’m not familiar with Flex Florine, but in HTML5, you use JavaScript — specifically, XMLHTTPRequest — to communicate with the server.