Base solution for your next web application
Open Closed

Instiatiate and call modules in a console app #2158


User avatar
0
afarazit created

Hi,

I have to create a console app that is going to use Code and EntityFramework projects. I have created a ConsoleModule which is derived from AbpModule but I don't understand how to instantiate the module before running the console app.

Any help appreciated, thanks in advanced


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Have you seen this sample ? <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/AbpEfConsoleApp">https://github.com/aspnetboilerplate/as ... ConsoleApp</a>

  • User Avatar
    0
    afarazit created

    <cite>ismcagdas: </cite> Hi,

    Have you seen this sample ? <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/AbpEfConsoleApp">https://github.com/aspnetboilerplate/as ... ConsoleApp</a>

    I hadn't, thank you.