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 )

11149 put(a) pogledan, 3 odgovor(a) 28.12.2011. 16:30:00Kreirao(la) Maxim
Maxim

Maxim

28.12.2011. 16:30:00
Hi!
How can I get data from another application(by ApplicationID)? At example SnFile....
Ovaj sadržaj još nije ocijenjen. 
319 Reputacija 30 Ukupno objava
denis

denis

29.12.2011. 10:56:28
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?
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
khorvat

khorvat

29.12.2011. 11:32:58
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava