Search code examples
.netwpfwinformsvb6-migrationbrowser-based

Browser based application with possible future as web application


I am working to migrate an old VB6 Forms application to a browser based application, and need some input on a few options. The application needs to be able to be distributed via email, run on the client's computer (completely local) without access to the Internet, and have the ability to someday be converted to a full functioning web application (hosted instead of local) that would no longer require email distribution.

  • Normal .Net web application (C#).
    • would this require IIS to be set up?
  • Embed .Net WinForm in browser using WPF
  • WPF Browser Application
    • This seems like it could be deployed and executed locally, but can it be migrated to a web app later on?

Thanks for any input.


Solution

  • This answer all depends on your definition of "without access to the internet". If it means you have intranet access then have you considered ClickOnce for the deployment mechanism? It seems to meet your requirements.

    You could use either WinForms or fully fledged WPF for a rich client. However, using WPF carefully with regard to libraries used and the system permissions required will give you the ability to later port it to a Silverlight browser hosted rich application.

    Regarding your other questions:

    • A normal .net web application (ASP.NET) will require an IIS server out there somewhere and users to have access to that server.

    • In your example showing embedded WinForms using WPF, you might as well just use WPF/Silverlight...

    • WPF browser applications are deployed to web servers but executed on the client machine. Therefore it wouldn't readily "migrate to a web app later on".