Base solution for your next web application
Open Closed

Multiple public websites? #3972


User avatar
0
tcon created

We are planning to develop multiple public websites / web applications but use only one web.mvc website for administration and only one database using the Single Deployment - Single Database multi-tenancy architecture. Due to this, is there a way to generate a new web.public project? Will having multiple web projects cause any issues? For example, do we need to create new Application or Web.Core class library for every new web project?

Any information on how to structure a solution to support multiple public websites will be great.


1 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    is there a way to generate a new web.public project?

    There is already an example: Web.Public. So you can refer to it when you create a new public web site.

    Will having multiple web projects cause any issues? For example, do we need to create new Application or Web.Core class library for every new web project?

    Application and Web.Core layers are shared by all mvc client applications. So you can create mvc client applications like web.public as much as you want.