- Blazor Server For the Web UI
- Dapper For Sql Server Access
- .Net 6
This project will create the database and tables automatically, when the project runs for the first time. It will also seed the database with some dummy data
- For you need to be sure that you have .Net 6 installed on your marchine. You can download .Net 6 from this link https://dotnet.microsoft.com/en-us/download/dotnet/6.0
- Once dotnet is installed the next step is to clone this repository.
- Update the appsettings.json change con Default Connection string to you preference.
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=EmployeesDbRromero;Trusted_Connection=True;MultipleActiveResultSets=true"
}
If you are working in windows and have visual studio installed, this step might no be neccesary since you already have localdb installed. You can leave the connection string as it is.
- Open your favorite terminal and navigate to the location where you cloned the repo. Then run the following command
dotnet run --project .\EmployeeChallenges.Web\
- Make sure you have the latest version of visual studio installed
- Clone the project
- It might be required that you change the connection string. Depending if you have installed localdb
- Run the Project
In order to quickly view the result this application is hosted in azure. Here is the link https://demo-blazor-employee.azurewebsites.net/