Hi,
I’ll cover 4 use cases where I found some things quite interesting.
1. Custom exceptions:
Server is Delphi based with one custom exception class called TWebException. It’s thrown when web application needs to parse some specific data due globalization and localization.
Client is ASP NET MVC 5 application on .NET 4.5 framework. Nothing fancy, just imported interfaces inside 2 assemblies so that I’m not dependent on RemObjects inside MVC application.
Issues comes when two assemblies are included in main project, and custom exception is invoked. For the first assembly call, proper handling is executed and custom exception is invoked. When the second assembly is called, error happens, but custom exception is invoked from the wrong assembly (it’s called from the first one), and returned error is of type Exception, but when you review in debug mode, there are properties from custom exception.
2. Custom exceptions marked as Internal (locked inside assembly)
Same thing as first one, but this time from the generated interface, I’ve changed public partial class to internal partial class (don’t want to expose it publicly), and custom exception is not invoked.
3. RODL generated interfaces
This is pretty simple, click on Visual Studio (2015) icon for RemObjects services (solution explorer) to import interface, enter url, click done. By this point I would expect to just compile and run assembly, but that’s not happening. Generated interface is missing some assemblies and proper namespace to work.
(See README in sample)
4. IIS Express character encoding
Now let’s move on and try combine DA tables with services, common case in our environment, btw our language is Croatian, Bosnian, Serbian with latin and cyrillic letters. I would expect that RemObjects and DA handles encoding properly on IIS Express and IIS server the same, with proper encoding, but some specific letters as Č and Ć are missing in IIS Express.
I have sample ready for review.
Sample is not for public, can you provide me with private repo where I can attach files?