Can C # (and C ++) be used in a Javascript Metro app?
Can C # and C ++ be used in a JavaScript Metro app?
The app is a Javascript / HTML app, but I want to use some of the libraries available in C #.
+3
Chin
source
to share
1 answer
Yes. You can create a Windows Runtime Component in C # (and C ++), and as long as the public types and members your component exposes are Windows Runtime types, WinRT JavaScript predictions will allow your HTML / JavaScript application to call methods inside that component.
Here are some links for more information:
Creating Windows Runtime Components in C # and Visual Basic
Creating Windows Runtime Components in C ++
Windows Runtime Components in .NET World
+7
Jim O'Neil
source
to share