A GUI based Hospital calendar and general planning System, developed during the Introduction to Software engineering University course.
- Windows Presentation Foundation
- .NET Core 3.1
- Entity Framework Core 3.1
- MVVMLight
- PropertyChanged.Fody
- Material Design for XAML
- A Microsoft SQL Server runnining remotely, locally or in docker
- Visual studio 2019
- The .NET Desktop Development Workload for Visual studio
- Open
HospitalCalendar.slnin Visual Studio Restore NuGet Packagesfor the solution (Right click the solution -> Restore NuGet packages)
- Set
HospitalCalendar.EntityFrameworkas the startup project (Right Click -> Set As Startup Project) - Provide your connection string to a server database in the file
HospitalCalendarDbContextFactory.csunder theDbContextOptionsBuilder
- Open the
Package Manager Console(View -> Other Windows -> Package Manager Console) - In the console, set the default project to
HospitalCalendar.EntityFramework - Enter the command
$ Add-Migration initial(This will generate an Entity Framework migration containing the SQL database schema which references the projectHospitalCalendar.Domain) - Enter the command
$ Update-Database(This will apply the migration schema to the database)
- Set the
ServicesTestConsoleAppas the startup project - Enter your administrator account data in the line
userService.Register(typeof(Administrator), "FirstName", "LastName", "username", "password").GetAwaiter().GetResult(); - Run the console application (The registration should be successful if no exceptions are thrown)
- Set
HospitalCalendar.WPFas the startup project - Finally, Run the aplication