RE: Integration of Liferay 7.2 with Dot Net/C# based applications

Chandrashekar NM, modified 5 Years ago. New Member Posts: 24 Join Date: 4/30/15 Recent Posts
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:
  1. Providing a link in Liferay page and opening the Dot Net/C# based applications in a different tab on click of the link
  2. Using IFrame portlet and configuring the Dot Net/C# based applications link in Iframe. 
  3. 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#.
Request to let me know if these possibilities work and also if any better approaches are available.Thanks & Regards,Chandra
thumbnail
Fernando Fernandez, modified 5 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts
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
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
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.
Chandrashekar NM, modified 5 Years ago. New Member Posts: 24 Join Date: 4/30/15 Recent Posts
Thanks Fernando & Christoph  for your feedback.
Are there any other ways of achieving the integration apart from the ones I mentioned?
Thanks & Regards,
Chandra
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
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.