Can a Window C# app be ported to the Web?

D

David

One advantage of ActiveX is that something that is developed for (and tested
with) a desktop app can be used on the web. Can .NET do this? Is there a
way to develop a user interface first for a Windows app and then use that UI
on the Web? It seems to me that the classes used to develop a Forms-based
Windows app are very different from those used to develop ASP.
 
G

Guest

You can create a windows forms UserControl and host this in internet explorer
with an appropriately constructed Object tag (See MSDN for details), however
it will run in the IE restricted "sandbox" by default, and CAS policy
settings must be adjusted for it to be able to do things link access the
filesystem or databases.

Peter
 
C

carion1

Why not decouple the UI from the business and data layers and use them with
any UI you want (be it web or win32). You are trying to re-use the wrong
part... I think an n-tier design would get you where you want just in a
slightly diff way. Take a look at Model-View-Controller (not .NET
specific).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top