Hi Steven,
No, you missed the point entirely.
As I said, we're going to rewrite our business logic C code in VB.NET, but
don't know the best play to deploy it.
Is it best to just compile it into an assembly and call it directly from the
powerbuilder client
Or Is it best to deploy it to a web service and call it via SOAP (args are
simple datatypes)
Or should we embed it as SQLCLR code inside a SQS2005 database (our concern
here is how much extra load this places on the DB server)
Or some other middle tier deployment platform
?
-Adrian
| Hello Adrian,
|
| From your description, you have an application originally developed
through
| powerbuilder(front UI) and C (components) and now you want to convert the
| project to .NET framework based solution, correct?
|
| Based on my experience, for your application's migration you can consider
| the following strategy:
|
| 1. for front UI part, use VB.NET 2005 winform programming interface to
| rewrite it
|
| #Windows Forms in the .NET Framework
|
http://msdn2.microsoft.com/en-us/library/96bef039.aspx
|
| 2. for data accessing, I would suggest you consider rewrite them through
| the ADO.NET interfaces:
|
| #ADO.NET 2.0
|
http://msdn.microsoft.com/data/ref/adonet/default.aspx
|
| 3. for those calculation components, are you encapsulated them through
| native C dll? If so, you can either rewrite them through .net class
| library(assembly) or still use the original native C dll directly through
| net interop (platform invoke):
|
| #Consuming Unmanaged DLL Functions
|
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconconsumingunmanaged
| dllfunctions.asp?frame=true
|
| Hope this helps some.
|
| Sincerely,
|
| Steven Cheng
|
| Microsoft MSDN Online Support Lead
|
|
|
| ==================================================
|
| Get notification to my posts through email? Please refer to
|
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
| ications.
|
|
|
| Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
| where an initial response from the community or a Microsoft Support
| Engineer within 1 business day is acceptable. Please note that each follow
| up response may take approximately 2 business days as the support
| professional working with you may need further investigation to reach the
| most efficient resolution. The offering is not appropriate for situations
| that require urgent, real-time or phone-based interactions or complex
| project analysis and dump analysis issues. Issues of this nature are best
| handled working with a dedicated Microsoft Support Engineer by contacting
| Microsoft Customer Support Services (CSS) at
|
http://msdn.microsoft.com/subscriptions/support/default.aspx.
|
| ==================================================
|
|
|
| This posting is provided "AS IS" with no warranties, and confers no
rights.
|
|
|