For ASP.Net Core (.Net Standard 1.6, .Net 4.6) [Note: use .Net Core 1.1 for now, Core 2.0 vsn coming soon]
Lynicon CMS for ASP.Net Core (.Net Standard 1.6, .Net 4.6). Now we believe the most powerful CMS on .Net Core.
It can be this easy to add content management to your site
routes.MapRoute("articles", "article/index", new { controller = "Pages", action = "Index" }); public IActionResult Index() { var data = new ModelType(); return View(data); }
routes.MapDataRoute<ModelType>("articles", "article/{_0}", new { controller = "Pages", action = "Index" }); public IActionResult Index(ModelType data) { return View(data); }
In tune with the .Net Core philosophy, Lynicon is a composable and unopinionated CMS which is lightweight and low impact yet full featured.
This CMS project provides the essential CMS functionality for the Lynicon in ASP.Net Core, perfectly adequate for a smaller site or application. There is an MVC 5 version here. The project site is here, and this project builds a NuGet package whose page on Nuget is here. Documentation on Confluence is here. We welcome feedback to info@lynicon.com, and you can sign up for news and the Slack support channel on this page.
We have now released a module package supplying the major features needed for a larger-scale CMS including caching, search, publishing, url management etc. This is available here (closed source/paid for)
Once you have cloned the repository, you will need to get the test site working on your machine.
Set the connection string in appsettings.json
You can now set up the database by running the test site from the command line (a handy feature of
an ASP.Net Core site!). Open a command window as Administrator and go to the \src\LyniconANC.Release
directory. Now run dotnet run -- --lynicon initialize-database
.
Then you can set up the CMS admin user. Run dotnet run -- --lynicon initialize-admin password
.
You can now run the site and login with the password you set up (the email is admin@lynicon-user.com)
If you would like to populate your database with sample content, there is a script at \src\LyniconANC.Release\Areas\Lynicon\Admin\SQL\TilesSiteContentSetup.sql
which will create example content for the test site.
Content items are listed and can be added at /lynicon/items. Content items can be edited by visiting a url with which the content item is associated while logged in with the appropriate rights. The content editor panel is shown. This is described in detail in the online manual
The tests should appear in the Test Explorer as normal in Visual Studio. If they are not there this is likely an issue with the XUnit test framework. Sometimes such issues can be resolved by cleaning and rebuilding the solution, and closing and reopening Visual Studio.
Tests can also be run as normal in .net core on the command line
by going to the top-level installation directory
in a command window and running dotnet test
.