Codific mvc567

mvc567 is a high performance, open-source ASP.NET Core-based web application platform. It provides CMS functionality to its users.

View the Project on GitHub codific/mvc567

Public Controllers

Public controllers are used for all public requests outside of the administration. An ordinary Public controller might be:

[Route("example-entities/")]
[ApiExplorerSettings(IgnoreApi = true)]
public class ExampleEntitiesController : AbstractController
{
    public ExampleEntitiesController(
        IConfiguration configuration,
        IEmailService emailService,
        ILanguageService languageService)
        : base(configuration, emailService, languageService)
    {
    }

    [HttpGet]
    public async Task<IActionResult> Index()
    {
        return View();
    }
}

The attributes which decorated these controllers has the same functionality as Admin Controllers.

By inheriting the AbstractController the Public controller receive the all functionality for auto languages management. More about Language feature could be found on Application Features Guide - Languages.