Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2006

Tip: Looking for answers? Try searching our database.

Wrapping existing application as a web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
A. Chiou - 12 Oct 2006 06:14 GMT
Hi all:
Is there a way in VS .Net 2003 to wrap an existing application, say a DOS
app., as a web service and publish it?  I'd appreciate any response.
Bryan Phillips - 17 Oct 2006 19:38 GMT
While it is possible to do so, it will be difficult at best to keep such
an application running in the long term.  There are better ways of
reusing the DOS applications business logic especially if it supports
standard calls (like Win32 libraries do).  What specifically are you
trying to achieve?

Bryan Phillips
MCSD, MCDBA, MCSE
Blog:  http://bphillips76.spaces.live.com

> Hi all:
> Is there a way in VS .Net 2003 to wrap an existing application, say a DOS
> app., as a web service and publish it?  I'd appreciate any response.
A. Chiou - 19 Oct 2006 05:57 GMT
Thanks for your reply, Bryan.  What I'm trying to do is to make some
legacy apps I developed years ago available on the web.  I did some
research and found that in VS 2003 only support wrapping COM
compliant apps.  Is there any way to wrap those legacy apps and
make them look like COM?

Thanks again.

> While it is possible to do so, it will be difficult at best to keep such
> an application running in the long term.  There are better ways of
[quoted text clipped - 9 lines]
> > Is there a way in VS .Net 2003 to wrap an existing application, say a DOS
> > app., as a web service and publish it?  I'd appreciate any response.
Bryan Phillips - 19 Oct 2006 07:22 GMT
If you don't mind writing some managed C++, you could wrap anything that
runs in the Win32 subsystem without much problem.  I write a lot of
managed C++ wrappers for complicated Win32 functions especially if they
use structures.  It is also easier to use the header file than to write
a function signature, p/invoke style, to match the exported function.  
In the end, it produces a .Net class library that I can reference from
C# or VB.Net.  You don't need to make the legacy code look like COM.

Bryan Phillips
MCSD, MCDBA, MCSE
Blog:  http://bphillips76.spaces.live.com

> Thanks for your reply, Bryan.  What I'm trying to do is to make some
> legacy apps I developed years ago available on the web.  I did some
[quoted text clipped - 17 lines]
> > > Is there a way in VS .Net 2003 to wrap an existing application, say a DOS
> > > app., as a web service and publish it?  I'd appreciate any response.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.