Forum in subfolder - single sign-on?

Mar 29, 2011 at 3:01 AM

Is it possible to integrate forum with existing website (asp.net written in vb.net) where forum is in a subfolder? If yes, could somebody list the basic steps if they are different from what's written in documentation?

Thanks.

Coordinator
Mar 29, 2011 at 9:18 AM

Hi drabina,

Is possible to integrate in a folder of the same root application if the technology used is the same (or at least compatible) with the existing website, in the nearforums case is .NET 4.0 and ASP.NET MVC 3. Does it match? (If this is the case I could give you further details)

On other hand, the easiest way to integrate the forum in your site would be to have it in a subdomain like forums.yoursite.com and login using single sign on with the main site (If you are interested in this way I could provide you more details).

Kind Regards,

Jorge

Mar 29, 2011 at 3:02 PM

Jorge,

Thanks for replying. I guess I will have a problem with the forum integration. My project is written in .NET 3.5 Framework. I can port it to 4.0 but it is a regular asp.net web application (not MVC). Another problem is that forum needs to be in a subfolder as I am already using subdomain for something else.

Alex

Coordinator
Mar 29, 2011 at 3:24 PM

Hi Alex,

It is possible to run (once migrated to .NET 4) a asp.net webforms with a asp.net mvc side by side in the same application, but you would have to do significant adaptations to your website... 

Here is how http://weblogs.asp.net/rajbk/archive/2010/05/11/running-asp-net-webforms-and-asp-net-mvc-side-by-side.aspx

Regards,

Jorge

Mar 29, 2011 at 6:18 PM

Jorge,

Thanks again for the link and information. I will go thru it and see if I can make it work.

Alex

Aug 3, 2011 at 2:06 PM

Hi Jorge,

First of all I would like to thank you for developing such a useful application - It really is very effective and easy to setup forum I found on the internet.

I was reading through the reply you sent to drabina - and presented couple of options to integrate this forum with an existing website. I have a slightly similar senario..

I have a website http://www.personalsite.com/ and I would like to host this forum in a sub directory http://www.personalsite.com/nearforums/ the root application is just ASP.NET web application on 3.5 framework.

So the first step is to setup the forum in that sub folder which I think I can do by following the instructions in the artical you mentioned.

Now I have 2 more

sites http://www.siteA.com/  on MVC 2 with Framework 3.5 and another
site http://www.siteB.com/ on ASP.NET 3.5 framwork.

I would like to give user an option that if they logon to any of these two sites they should be access NearForum without having to login again (Single SignOn).

Is it possible with NearForum? If yes could you please guide me how I can achieve this.

I would really appreciate your response.

Thanks

Regards

Mohammad Siddiqui

Coordinator
Aug 3, 2011 at 10:31 PM
Hi Mohammad,
Glad that you liked the project, it is not just me its a team (which you can join if you like)!
I think you should implement a custom single sign on using OpenId by setting up an OpenId provider on your main site... Then you should setup the relying parties on siteA and siteB. Nearforums already implements an OpenId relying party, only have to specify it in the configuration.
This solution requires development on all sites (except for the nearforums site) bit its fancy and could behave as you wanted.
Other solution is to use asp.net membership (also implemented on nearforums) but just as as centralized users service/db.
Hope it helps!!
Regards,
Jorge
Nov 12, 2011 at 1:10 AM

{On other hand, the easiest way to integrate the forum in your site would be to have it in a subdomain like forums.yoursite.com and login using single sign on with the main site (If you are interested in this way I could provide you more details) }

Hi Jorge

            I would appreciate of if you provide details steps on how to integrate the forum in my website. 

thanks

Regards

Harsimran

Coordinator
Nov 14, 2011 at 8:57 AM

Hi Harsimran,

Could you provide more info on your site, in order to help you:

  • Main site technology (asp.net 2 / 3.5 / 4; asp.net mvc 1/2/3; ...)
  • Do you have users repository?
  • Do you use ASP.NET Membership?
  • Can you create new functionalities on your main site? (If you own the code and you have the knowledge to do it)

 

Kind Regards,

Jorge