Reputation: 19
I've made an .Net Dynamic Link Library, written in c#, to be used in Silverlight applications.
Now, I want to have the same kind of functionallity to be used when developing Adobe Flash applications. I'm not that familiar with Flash or ActionScript. I don't even even know if there are some kind of DLL equivalent in Flash/ActionScript.
Any suggestions? Do I have to go the long way, i.e. learn flash and develop this functionallity or, is there a smoother way? A .Net to ActionScript converter?
Upvotes: 0
Views: 476
Reputation: 64923
No.
But you could consider exposing such assembly (DLL) functionalities through a Web Service API, and let both Silverlight and Flash apps access them remotely so both can share the same implementation of your backend.
That will work if the whole assembly it's not doing real-time processing or something like that and the whole Silverlight and Flash apps are browser-based ones. In that case, you can develop an ASP.NET Web API (REST) and do the work in the service.
Later you'll be asynchronously querying the Web API from Flash and Silverlight.
Upvotes: 1