Mono Support Integrate MonoX with existing application and user store 

Viewed 42769 time(s), 12 post(s), 11/28/2016 6:25:31 PM - by sgoldgeier
12/2/2016 6:16:48 PM
45 Reputation 7 Total posts

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;
            }
        }

11
12/5/2016 9:09:31 AM
145 Reputation 18 Total posts

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

12
1 2
This is a demo site for MonoX. Please visit Mono Software for more info.