Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Integration of Liferay 7.2 with Dot Net/C# based applications
Hello,We have some Dot Net/C# based applications running in Production. We have use case where all the applications are required to be available in Liferay portal. Liferay portal will be a single entry point for all the applications. The Dot Net/C# based applications needs to integrated with Liferay . Could you please let me know the integration possibilities? I can think of the below possibilities:
- Providing a link in Liferay page and opening the Dot Net/C# based applications in a different tab on click of the link
- Using IFrame portlet and configuring the Dot Net/C# based applications link in Iframe.
- Calling the Dot Net/C# based applications API's from Liferay. The Presentation/View Layer will be implemented in Liferay and the Model/Data layer will still be from Dot Net/C#.
Hi Chandrashekar,
Any of these options will work, but the last one is the neatest. :-)
Some years ago you could also use WSRP to connect those systems, but I'm not sure it will still work on newer Liferay versions.
HTH
Fernando
Any of these options will work, but the last one is the neatest. :-)
Some years ago you could also use WSRP to connect those systems, but I'm not sure it will still work on newer Liferay versions.
HTH
Fernando
The main problem with 1) and 2) is single sign on. It could even be a problem in 3).
There are several solutions possible, from NTLM or Kerberos to SAML2/ADFS or something "homebrewn". It depends on your infrastructure and your usecases.
There are several solutions possible, from NTLM or Kerberos to SAML2/ADFS or something "homebrewn". It depends on your infrastructure and your usecases.
Thanks Fernando & Christoph for your feedback.
Are there any other ways of achieving the integration apart from the ones I mentioned?
Thanks & Regards,
Chandra
Are there any other ways of achieving the integration apart from the ones I mentioned?
Thanks & Regards,
Chandra
There are two ways to solve it with option 3.
a) Call the C# API from the backend
b) Call the C# API from the browser
In the first option, Liferay acts as a kind of proxy, maybe with some security checks. You have the Liferay user and can do some checks to make sure all requests are sane.
In the second option, Liferay just provides the view layer, some html, javascript, css. All the data are fetched directly from the C#application. This approach has some advantages compared to an Iframe (mostly for responsiveness), especially if you have no (useable) view layer for your application. But you have to find a way to provide SSO.
a) Call the C# API from the backend
b) Call the C# API from the browser
In the first option, Liferay acts as a kind of proxy, maybe with some security checks. You have the Liferay user and can do some checks to make sure all requests are sane.
In the second option, Liferay just provides the view layer, some html, javascript, css. All the data are fetched directly from the C#application. This approach has some advantages compared to an Iframe (mostly for responsiveness), especially if you have no (useable) view layer for your application. But you have to find a way to provide SSO.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™