how Extracting web and backend application source code?

hello,

how Extracting web and backend application source code?

Hi Pratiksha,

Are you talking about extracting the actual .NET source code?

In that case, that question has been asked a few times before here on the Community Forum. Allow me to share some posts you might find useful.

Also review this success article from OutSystems.

In short, source code can only be extracted from On-Premises installations.

Hope this helps!

Regards,

Nordin


Nordin Ahdi wrote:

Hi Pratiksha,

Are you talking about extracting the actual .NET source code?

In that case, that question has been asked a few times before here on the Community Forum. Allow me to share some posts you might find useful.

Also review this success article from OutSystems.

In short, source code can only be extracted from On-Premises installations.

Hope this helps!

Regards,

Nordin


Hello Nordin,

I continuously doing rnd on this topic. and i  find below document.

https://success.outsystems.com/Support/Enterprise_Customers/Maintenance_and_Operations/Web_SAST


But in that document i didn't understand this path

When any code is published using OutSystems, it is first translated before being compiled and deployed to IIS. As such, there is a folder on the platform server where the source code is stored. Customers can take advantage of this and run SAST tools against this. The source code can be found at <PlatformInstallationFolder\Platform Server\share\<ModuleName>\full and includes a Visual Studio .NET project, C#, .aspx, CSS, and JavaScript resources.



Note- I working on an enterprise server.

Hi Pratiksha,

The document you refer to states:

Source code can only be extracted with a self-managed installation of OutSystems (on-premises, private cloud), or a hybrid deployment that includes self-managed environments in addition to the cloud.

So unless your enterprise server is on-premise, you cannot get access to the generated code, as you will not have access to the IIS for PaaS environments.

Regards,

Daniel

Hi Pratiksha,

That is the same success article as I shared with you in my first post. 

Indeed, you need to have access to the web application server and IIS, which is only possible if you have a self-managed installation. If you have an On-Premises installation, on the server where you have installed OutSystems Platform Server, you can go to the mentioned path <PlatformInstallationFolder\Platform Server\share\<ModuleName>\full in order to find the generated C#, ASPX, CSS and JS files.

Like Daniel said, this is not possible if you are on an enterprise OutSystems cloud environment.

Hope this helps!

Regards,

Nordin