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 )

Viewed 8724 time(s), 12 post(s) 11/28/2016 6:25:31 PMby sgoldgeier
sgoldgeier

sgoldgeier

12/2/2016 6:16:48 PM
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;
            }
        }
This content has not been rated yet. 
45 Reputation 7 Total posts
zhuber

zhuber

12/5/2016 9:09:31 AM
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
This content has not been rated yet. 
145 Reputation 18 Total posts
1 2