Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><code>runat="server"</code> is not going to make your control run inside a browser. I think you have a fundamental misunderstanding of how ASP.NET works. Web controls don't run inside the browser. They run on the server and produce HTML code that is sent to the browser, and may include various HTML controls and Javascript snippets.</p> <p>Any mechanism for client-side code other than HTML5 (Javascript) is going to require client-side support, i.e. the plugin you were trying to avoid. Of the possible plugins, the one that's closest to WinForms and most portable is going to be Silverlight. That uses WPF, not WinForms, for user interface components. There is a WPF host for WinForms controls, but I don't know if you can use that from inside Silverlight.</p> <p>Also, you need a bunch of special compile options in order to use C++/CLI with Silverlight. By default C++/CLI generates machine-specific native code which runs outside the browser sandbox. That's going to be blocked by any user with a sane security configuration. You're going to need to emit pure MSIL code and enable "Partial Trust". Then you're going to run into trouble with the native component you're wrapping.</p> <p>There's pretty much no advantage to doing this in a web browser. Just have the user download a WinForms application. You can use ClickOnce or another packaging technology to keep the application updated to the latest version on your site, but neither ASP.NET nor any of the browser technologies is going to play nicely with your control. Your other option is a rewrite, not of the wrapper, but of the whole OpenGL rendering layer, to use WebGL instead.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload