is it possible to get the Deployed Code(System Generated C# codes)

is it possible to get the Deployed Code(System Generated C# codes)

  

Hi,

I have chosen the C# & ASP.Net Environment complier. Outsystems compiler will convert to C#/ASP.Net code.

 If so ..

1. are we able to get the C# raw code from outsystems?

2. If we get the code, outsystems will allow to modify from the Visual Studio.

Regards,

Raja.


You can detach the code in administration > Licensing > eSpaces Source Code

but you can have a bit more info here https://www.outsystems.com/home/document-download/1890/104/0/0 and in this post https://www.outsystems.com/forums/discussion/34743/detaching-source-code/

Hi Raja,

You can detach the code as suggested by Filipe

1. Yes you can get the raw code from outsystems

2. If you get code then nothing to do with outsystems you would have source files and with visual studio you can modify 

But it could not be best practice as code generated by outsystems is machine generated code and its hard to understand and modify

Regards

Devendra








Hi,

Actually the code is readable you will see the names of your screens entities and attributes I and it is maintainable by a skilled .net web developer.

But that is not the hard part, the hard part is all the tooling that you will miss. 1 click publish, service center, life time etc.

Also you only can get the detached code if you terminate your contract with OutSystems.

So you have no vendor locking, but you can not change generated code while you still use OutSystems.

You of course are able to extend OutSystems with extension studio and custom build widgets.


Regards,

Daniel




Hi Daniel,


I agree with all your points but still the way a developer writes a code is different from machine generated code.

though its readable,maintainable but a developer expects a code that is written in more efficient manner


Regards

Devendra

Hi Devendra,

Did you see the generated code? or is it an assumption?

There are Outsystems customers that ask https://www.sig.eu/ to check their OutSystems generated application code and actually get really good results.

But he, I wouldn't like to be the .Net programmer to maintain it... loving OutSystems way of visual developing way to much.

Regards,

Daniel


Hi Daniel,

Yes we detached code from one of our application that was build on 9.0 .

Don't know what parameters sig.eu is using to validate but its good it generate good results 

For me also its good to use outsystems visual tool to develop rather then maintaining it's code as a .net programmer

Regards

Devendra





Hi Raja,

You will get the C# dll and aspx pages in Application server i.e. IIS . Try to decompile the dll by reflector 

https://www.jetbrains.com/decompiler/

https://www.red-gate.com/products/dotnet-development/reflector/index

You can see the source code from above decompilers and if you found that the code is maintanable then gohead with that

Regards

Devendra