MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

how to get data from another aplicattion  (Mono Support )

Viewed 5024 time(s), 3 post(s) 12/28/2011 4:30:00 PMby Maxim
Maxim

Maxim

12/28/2011 4:30:00 PM
Hi!
How can I get data from another application(by ApplicationID)? At example SnFile....
This content has not been rated yet. 
319 Reputation 30 Total posts
denis

denis

12/29/2011 10:56:28 AM
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?
This content has not been rated yet. 
7207 Reputation 956 Total posts
khorvat

khorvat

12/29/2011 11:32:58 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts