An ASP.NET Core MVC application for hosting Weavy backend services.
The following is required to build and run the application.
- .NET SDK (we also recommend installing Visual Studio 2022 with the ASP.NET and web devopment workloads)
- SQL Server 2019
- SQL Server Management Studio
- Install the tools above.
- Open SQL Server Management Studio and create a new database (we suggest you call it
weavy
). - Create a file named
appsettings.json
in thesrc
folder. Add settings for database connection string and license as described below:
{
"ConnectionStrings": {
"Weavy": "server=localhost;database=weavy;trusted_connection=true;"
},
"Weavy": {
"License": "YOUR-LICENSE-KEY"
}
}
Open a terminal window in the src
folder and run the following command:
dotnet run
If the application does not start, or if you get an error on startup, the console should contain an error message describing the problem.
Alternatively, if you have Visual Studio installed, you can also open the weavy-server.sln
file and select "Debug > Start Without Debugging" from the menu (or press Ctrl+F5
) to build and run the application.