Kilian Hekhuis wrote:
Hi Kilian,
Actually i also wanted to see the generated code. But i didn't have a folder named Platform Server in OutSystems. What should i do?
Regards
Devu
Hi Ricardo,
The source code available on the share folder, can I use it for doing a comparison, meaning can i compare 2 instances of the source code and get the differences [just to show if someone ask me what has been changed from last release vs new release].
Also can I copy the share folder source code directly into another environment IIS [i.e. development source code to QC server], will it work?
Thanks
Shashank
Shashannk,
The source code is just normal .cs files, so you can use any text file comparison tool you want to check for differences. However, I'm not sure how useful it would be to see differences in the generated code, as though it's fairly legible, it doesn't really tell you what has been changed functionally in an application. There's no comments etc. in the generated code!
As for your last question, we're talking about source code. So of course copying source code doesn't work, source code doesn't automagically compile itself. Also, the Platform always uses the eSpaces as base for compiling, so any publish or change to eSpaces will overwrite the copied source code. I have succesfully made changes to source code and compiled it when I was tracking Platform bugs, but those changes are always very temporary.
Thanks for the reply Kilian,
I thought the same. The problem is when someone ask a comparison of what has been changed from last release and people are used to know the file names.
By source code copy I meant that from one IIS server to another, but i realized that OuySystems also keep metadata in the database, so it can't be done.
Hi Devu,
The generated code lives _on the server_, not on your local development machine. You can only look at the generated code if you have access to the file system of the server (which e.g. is not the case for a cloud-based solution like the Personal Environments).
Are you saying that i can't view the generated code? I really need to see the generated code for evaluation purpose. What should i do?
Regards,
That's true, you cannot see the code. Depending on what type of evaluation you want to do, you should contact your OutSystems sales rep.
Hi,
Can I get somewhere a sample C# code with any Outsystems UI component, generated by Outsystems Platform? I have a client who needs to see this generated C# code by the Outsystems platform in the backend before buying the OutSystems license and get started with it.
Note - I don't have access to any Outsystems IIS Servers as I am using Outsystems Cloud Environment.
Thanks & Regards
Nitish Kumar
Hi Nitish,
This is an old topic (original post almost 7 years ago, last post over 3 years ago), so it's in general best to start a new topic in that case.
That said, if buying an OS licence depends on the source code generated, it's better to contact the account manager that's responsible for the client. Also, since all new clients will be offered Reactive Web only, not traditional web, all OutSystems UI components will be Reactive components, and hence not C# but JavaScript.
So when detach, then all Outsystems related C# code that export can run independently without the Outsystems. Does it mean the core system code in C# will also be included (even not comment or hard to see what it is) will be provided so that we can safely say we can use those detached codes to be compiled and run freely from Outsystems ? It is a very valuable investment protection.
If we can only have detached code that generated solely for my development and any reference to Oustsystems are not included after detached, then I dont think I can get the code enough to run independently.
Which is correct ?
Hi Ken,
You do not get the source code of the core system, instead you will get the Runtime Platform DLLs etc. This will also guarantee that you can compile and run your code. However, any questions about this should be directed at your OutSystems sales person or local sales office, the forum is not the right place for these questions. See here for more information about the detach process.
I'll close this topic now, it's very old and I don't think there's anything new to add.