K
K
kolenchits862016-11-05 23:24:12
ASP.NET
kolenchits86, 2016-11-05 23:24:12

How to organize a solution of three projects on ASP Core?

I want to create a project on a new technology, but got into a stupor from the very beginning.
Created a solution
from three projects
Core - class library
Presentation - ASP core empty project
Admin - ASP core empty project
I wanted to display Startup and Program.cs in the Core project. does not exit, since it cannot be made executable - this is the first question.
The second is how to separate controllers and views into different projects, so that in the Admin project - he created a controller and he hooked views from this project, and also from the Presentation project
Thank you in advance for your answers

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman Zhidkov, 2016-11-06
@kolenchits86

Use areas (Areas)
metanit.com/sharp/mvc/6.5.php

R
Roman, 2016-11-06
@yarosroman

maybe this will help https://habrahabr.ru/post/301336/. It's not clear what exactly you want though. If you want to spread parts of the project into libraries (modules), then the link is what you need. here is https://github.com/thiennn/trymodular

D
Dmitry, 2016-11-06
@vip1987

Damn ... I have a similar problem. I just don't know how to make a menu link from the first application to the second one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question