CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2001
    Location
    Mississauga, CANADA
    Posts
    199

    Question Suggestion on architecture please

    I have an ActiveX .dll created in VB6 that we are converting to .NET. We are investigating moveing to web services. So...
    Should we re-create the .dll as a class library, then tie a web service to it and expose the class functions and properties, or should the complete dll be converted to a web service with functions and properties exposed. There is about 4000 lines of code with various properties and ODBC links to MS-SQL7 in the VB6 version.
    I tried to rationalize either fashion through MSDN how to's etc... but can't seem to find an answer. Your suggestions and/or experiences would be appreciated.
    Thanks
    Paul

  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868
    Depends... if it's strictly going to be called thru the web, then the webservice is just fine. If it could also be used in non-web environment, then I'd create a normal DLL and then another interface to provice the webservice functionality. (Actually, I'd probably do the later regardless)... just my opinion.

  3. #3
    Join Date
    Feb 2000
    Location
    OH - USA
    Posts
    1,892
    It's going to take roughly the same amount of time to do either conversion/re-write. Like DSJ said, the later would allow you to re-use this code in a non-web environment, which it sounds like you are doing now.
    Last edited by Craig Gemmill; November 11th, 2003 at 05:35 PM.
    Good Luck,
    Craig - CRG IT Solutions - Microsoft Gold Partner

    -My posts after 08/2015 = .NET 4.x and Visual Studio 2015
    -My posts after 11/2011 = .NET 4.x and Visual Studio 2012
    -My posts after 02/2010 = .NET 4.0 and Visual Studio 2010
    -My posts after 12/2007 = .NET 3.5 and Visual Studio 2008
    -My posts after 04/2007 = .NET 3.0 and Visual Studio 2005
    -My posts before 04/2007 = .NET 1.1/2.0

    *I do not follow all threads, so if you have a secondary question, message me.

  4. #4
    Join Date
    Apr 2001
    Location
    Mississauga, CANADA
    Posts
    199
    Actually, I'd probably do the later regardless
    Yep, thats the route we're going to try.
    Thanks for the postback guys!
    Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured