用C#编的一个小Windows Application(有个Form1的那种)程序,我想把他内嵌到ASP.net的网页里面,可以吗?如果可以的话,应该如何操作?

解决方案 »

  1.   

    http://www.cnblogs.com/jillzhang/archive/2006/09/06/496110.html
      

  2.   

    http://chs.gotdotnet.com/quickstart/winforms/doc/WinFormsIeSourcing.aspx
      

  3.   

    但是我还有个问题,就是这样的activeX控件能不能在Mac的操作系统上运行?我知道asp.net可以。因为我要在Apple上面运行这个含有控件的网页,但是好像C#写的东西不能在MAC上面用吧?如果真这样,有没有别的方式解决这种问题呢?
      

  4.   

    Microsoft has a version of .NET available for FreeBSD, Windows and Mac OS X called the Shared Source CLI (Rotor). Microsoft's shared source license is neither free software nor open-source and may be insufficient for the needs of the community (it explicitly forbids commercial use). The Mono project has many of the same goals as the Portable.NET project.Mono is a project led by Novell (formerly by Ximian) to create an ECMA standard compliant .NET compatible set of tools, including among others a C# compiler and a Common Language Runtime. Mono can be run on Linux, FreeBSD, UNIX, Mac OS X, Solaris and Windows based computers