A barebones Coalesce project which can be built upon.
For more information on Coalesce, visit http://coalesce.intellitect.com/
To quickly get up and running with a new Coalesce project:
- Clone this repository.
- Run
RenameProject.ps1
to rename the solution files and code namespaces to your desired project name.
At this point, you can open up Visual Studio and run the application. However, you will probably want to do the following before running:
- Create an initial data model by adding EF entity classes to the data project and the corresponding
DbSet<>
properties toAppDbContext
. You will notice that this project includes a single model,ApplicationUser
, to start with. - Run the
coalesce
task in the Task Runner Explorer to trigger Coalesce's code generation (or rundotnet coalesce
in the web project's path). - Run
dotnet ef migrations add Init
(Init
can be any name) in the data project to create the initial database migration.
After you've started to grow content with your project, consider the following:
- Remove the dummy authentication from
Startup.cs
and implement a proper authentication scheme.
Visit Bootswatch to see the different choices available for themes. To change themes, simply change the name of the imports in site.scss in the two marked locations.