A client of mine has an ASP.net/Sql Server application. They want to release a desktop version of this application. Our first thought was to use WinForms and share as much code as possible in the business logic code libraries. Someone then raised the possibility of repackaging the existing ASP.net code into a desktop application, and including with the install some type of Client Web Server that could run the ASP.net code on the user's website. This would save hundreds, if not thousands of hours of coding time, as the modifications to the existing ASP.net site would be negligible compared with coding a WinForms desktop app from scratch.
It seems that in theory, Cassini could server as the web-server component for such a distributed application.
Has anyone done this before? Some of our main concerns are:
- Can this be done? Can the webserver be included as part of the installation of the asp.net files, with everything configured so that it will really work?
- Our target user-base includes many people who are not tech-savvy, and many companies (like banks) where the IT departments are very security conscious. Is this type of application something that will raise some alarms among some of these IT departments (who would allow regular desktop applications, but might be more hesitant about allowing people to install personal web servers).
- Assuming the answers to the previous questions are that it is feasible and it isnt something that would be blocked by your above-average IT department, I would appreciate any advice in terms of implementation, especially from people who have done this in the past.