Mono Support how to get data from another aplicattion 

Viewed 11332 time(s), 3 post(s), 12/28/2011 4:30:00 PM - by Maxim
12/28/2011 4:30:00 PM
319 Reputation 30 Total posts

Hi!
How can I get data from another application(by ApplicationID)? At example SnFile....

1
12/29/2011 10:56:28 AM
7207 Reputation 956 Total posts

Hi Maxim,
Could you please give us more details about your scenario? What are you trying to achieve? Do you have more portals running from the single database?

2
12/29/2011 11:32:58 AM
15993 Reputation 2214 Total posts

Hi,

MonoX has support for multiple applications based on the ASP.NET membership model and you can use the same database to host more than one application, you can read more about this here.

Few web.config sections defines the application that will be used, try to find the applicationName attribute that contains the application in use. To get the SnFile for current application you will need to use the proper repository which is using the current application id to fetch the proper file, so basically every MonoX web site is one application and repository layer has built in application filtering so you don't need to do anything to get the proper file. 

Let us know if you need more information regarding multi application support.

Regards

3
This is a demo site for MonoX. Please visit Mono Software for more info.