FAQ > What to do after download the file?
Unzip the file. Follow steps in Localhost section below if you want to do customization in your local environment. Otherwise, follow the steps in Hosting section below if you want to publish the project to hosting server so that everyone can access to the site.
Video version of detailed configuration steps: https://youtu.be/V8uZvonAL70
Text version of detailed configuration steps are as below.
Database Connection String Configuration
Open ExamEase.sln with Visual studio
Click View > Click SQL Server Object Explorer
Expand the SQL Server, right click on Databases, click “Add New Database”. Give it a name, click OK.
Expand the database that you created just now. Right click on the database > Click Properties.
Find the connection string and copy the value
Open appsettings.json, paste the connection string value for “DefaultConnection”
Time Zone Configuration
Go to this site: https://dotnetfiddle.net/iwXfjO
Find your time zone ID and copy the time zone. Open appsettings.json, replace the “timeZone” value
<aside> 💡 This system time zone value is only for the developer to check and understand the date and time value easily from the database. When the system displays the date and time to the user, it will use the UTC date and time that is saved in the database and convert it to the user's local time. (To understand more, you can read the example given below.)
</aside>
<aside> 💡 Example of how timeZone in step 2 above works: (1) Assume timeZone in appsettings.json = "Singapore Standard Time," and we want to save a record's creation date and time. (2) Save SingaporeDateTime in the database. (3) Save UtcDateTime in the database. (4) Get UTCDateTime from the database when displaying it to the user (we have a general JavaScript function that converts UTCDateTime to the user's local date and time). (5) The developers want to know the record’s creation date and time from the database, but they are too lazy to convert the UtcDateTime to their local date and time, so they can directly check the SingaporeDateTime column (which is relevant to their local date and time).
</aside>
SMTP Email Configuration
"smtpUserName": "**[email protected]**",
"smtpPassword": "**yourpassword**",
"smtpHost": "**smtp-relay.sendinblue.com**",
"smtpPort": 587,
Done! Press CTRL + F5 to build and run the project.
For detailed configuration steps, please watch this video: https://youtu.be/GQWjeV62Clk
Thank you.