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.

Integrate MonoX with existing application and user store  (Mono Support )

44551 put(a) pogledan, 12 odgovor(a) 28.11.2016. 18:25:31Kreirao(la) sgoldgeier
sgoldgeier

sgoldgeier

2.12.2016. 18:16:48
Okay. I think I see. If I just reference Ninject assembly and add code like this to the top of the page, is this right? Then I should be able to call DependencyInjectionFactory object?

private DIFactory di;
 
protected DIFactory DependencyInjectionFactory
        {
            get
            {
                return this.di;
            }
            set
            {
                this.di = value;
            }
        }
Ovaj sadržaj još nije ocijenjen. 
45 Reputacija 7 Ukupno objava
zhuber

zhuber

5.12.2016. 9:09:31
Hi,

if you are using this in your page, you can inherit BasePage which has that property already implemented. If you are using it in some custom class (service) you can create inherit BaseMonoXBLL.

Regards,
Zeljko
Ovaj sadržaj još nije ocijenjen. 
145 Reputacija 18 Ukupno objava
1 2