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.

MonoX data access libraries for building support applications - System Services, Web Services etc. (Zatvorena) (Mono Support )

12424 put(a) pogledan, 8 odgovor(a) 11.1.2012. 23:33:23Kreirao(la) helmer
helmer

helmer

11.1.2012. 23:33:23
Hello,

In addition to using the MonoX web application, we have a need to develop a seperate web service (WCF) or system service application using just the MonoX data access components. These new applications require no user interface or user authentication.

1) Are MonoX libraries designed to be easily reused in this fashion?
2) My hope is, I could build a new WCF application including only a subset of the MonoX libraries required to access the database?
3) What is the subset of libraries needed to access the database - MonoSoftware.LLBLGen.dll, MonoSoftware.MonoX.DAL.dll, MonoSoftware.Core.dll ??? Others?
4) At which MonoX API level would you recommend we interface with, to accomplish this?
5) Please comment on the feasability of this kind of reuse. We can purchase the source code if this makes the task easier.

Thank you,
Helmer
Ovaj sadržaj još nije ocijenjen. 
60 Reputacija 5 Ukupno objava
denis

denis

12.1.2012. 13:43:22
Hi,
I don't see a problem with this approach. In addition to the libraries you mentioned, you would have to include the SD.LLBLGen.* DLLs. Regarding 4), we would have to have more details, as it depends on the type of functionality you want to implement. In general, the greatest control can be obtained by calling the DAL repository methods directly, although you can also use a limited set of higher level MonoX or OpenSocial API calls.
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
helmer

helmer

12.1.2012. 23:09:41
Thanks Denis, I will proceed by using the repository interfaces initially.
Ovaj sadržaj još nije ocijenjen. 
60 Reputacija 5 Ukupno objava
helmer

helmer

13.1.2012. 16:23:26
Denis,

I was experimenting with the MonoSoftware.MonoX.Repositories.UserRepository within my application as described in my previous post. It seems there is a dependency on MonoSoftware.Web.dll.

1) Is this the only MonoX.Repository object that relies on the MonoSoftware.Web namespace?
2) Is the MonoSoftware.Web namespace considered part of the UI layer or the Data layer?

Thanks.
Ovaj sadržaj još nije ocijenjen. 
60 Reputacija 5 Ukupno objava
denis

denis

13.1.2012. 17:06:34
Hi Helmer,
No, this is not the only repository using it. Thus namespace does not really belong to UI or data layers: it holds a set of utility classes with functionality that is generally useful in all Web apps: anti-spam, security, URL formatting, caching and similar. MonoSoftware.Web and MonoSoftware.Core are used quite frequently in all layers.
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
domenichelli

domenichelli

6.12.2013. 3:10:18
Please, where can I find the library MonoSoftware.Core.dll
Ovaj sadržaj još nije ocijenjen. 
5 Reputacija 1 Ukupno objava
iruzak

iruzak

6.12.2013. 8:20:43
It is located in "bin" folder.
Ovaj sadržaj još nije ocijenjen. 
443 Reputacija 50 Ukupno objava
khorvat

khorvat

6.12.2013. 8:25:51
Hi,

it's included in every MonoX package, so you can reference it directly from bin folder.

Regards
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava