Reputation: 2919
I have one win application with presentation layer done as windows forms. Now I have request to transfer it whole to the web. Of course, this is a lot of work, so I'm wondering is it maybe somehow possible to achieve this without rewriting whole presentation layer to the web forms? I've heard that SAP has some technology to expose same forms in both win and web, so I'm wondering now how did they do it, and is it possible to somehow do this with C#?
I'm in a delicate situation where I have to transfer win client application to web as quickly as possible, disregarding performance or other issues, with as little effort as possible.
I'm using .NET framework (C#), and I should transfer this to ASP.NET.
EDIT: If I transform my win forms to win controls, can I then host them in IE? Maybe this could be fastest way to achieve my goals?
Upvotes: 0
Views: 2334
Reputation: 1258
I agree with Cody. Nothing will compare to a full rewrite of you application.
But: If you wish to keep your winforms application as it is, you can deploy it in a Windows Server environment, and provide access to it using Remote Desktop (aka Terminal Services) through a HTML 5 Client.
Advantages of a HTML 5 Rdp Client:
There is one you can try for free (one concurrent access a time):
PS: Again, it may not be the perfect solution, but it delivers. In our company, we've been pointing this solution to our customers recently, and it is proven to be a great shot so far.
Upvotes: 1
Reputation: 245001
In addition to the obvious technical problems and limitations, there are a whole host of other reasons that applications designed for the desktop need to be completely re-written as web applications. Rich client applications simply should not and cannot work the same way as web applications.
Or, to put things another way: You can put wheels on your mama, but that doesn't make her a bus.
You're not doing anyone any favors by trying to "port" the app over as quickly as possible. It's going to be somewhere between "difficult" and "downright infuriating" to use, not the position anyone wants their software to fall into. Yes, it's a lot of work. But no, it's not optional.
Upvotes: 4
Reputation: 25505
You can do some of this with WPF/silverlight but there is no want to host a windows form on the web.
Upvotes: 0