Base solution for your next web application
Open Closed

Package a module with all its files and code #3188


User avatar
0
bilalhaidar created

Hi, I am developing a "Survey System" that includes some Angular js, CSS and HTML code in addition to Application Services and Domain Services and MVC controllers (basically for file uploads).

Can I include all these in a Module? For the static files I can make them embedded resources. Would that work? Or additional things are needed?

Thanks


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

    Hi,

    Yes, that is possible. You can follow this document <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Embedded-Resource-Files">https://aspnetboilerplate.com/Pages/Doc ... urce-Files</a>.

    Thanks.

  • User Avatar
    0
    bilalhaidar created

    For MVC or Web API Controllers included, do I need to place them in certain folders Like Controllers or so? OR just extend the proper base classes like AbpController?

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Yes, they have to be placed in appropriate folders, otherwise MVC cannot find your resources.

    Thanks.

  • User Avatar
    0
    bilalhaidar created

    OK thanks. In case I need more help on this topic I will post again here.