I would like to know how can I integrate multiple ASP.NET Core MVC applications into one.
Let me explain my problem.
I have the project MainProject that would be used in multiple applications. This project contains:
- Typescript,
- CSS
- image
- Controllers/Models/Views
I have another project ProjectA that would be used just in some applications. This project would contain as well as the MainProject those type of files.
In my FinalProject, I want to integrate these files of these two projects.
I need to be able to access to all controllers, Typescript, CSS, images, etc. from my FinalProject.
How can I do that?
Is there any way to add some kind of reference to these type of files or export theme in any way ?
I have created these projects:
- ASP.NET Core MVC
MainProject - ASP.NET Core MVC
ProjectA - ASP.NET Core MVC
FinalProject
In my FinalProject I have added a project reference to MainProject and ProjectA.
This way, I can access all controllers from these two projects, but I can't access any Typescript, CSS or image files.