- Database: Download the project database from this link.
- Database BAK File: Download the project database bak file from this link for importing the data in the database.
- Project Files: Download the ExploreLocal project files from GitHub using this link.
- Visual Studio: Ensure you have Visual Studio 2019 or a later version installed on your system.
- There is The Project Live Link Checkitout For More in Depth Knowledge of Project: Website Live Demo
- Download the database file from the provided link.
- Open SQL Server Management Studio (SSMS).
- Connect to your SQL Server instance.
- In SSMS, right-click on Databases in Sthe Object Explorer, and select Restore Database.
- Choose Device and browse for the downloaded database file.
- Click OK to restore the database.
Once the restore is complete, you will see the restored database with all the data.
-
Open Visual Studio.
-
Open the ExploreLocal project that you downloaded from GitHub.
-
Make sure to configure your connection string in the Web.config file to match your database setup.
-
Open the Models folder and create your model. Ensure you've configured your entities and database connections according to your needs.
-
In the model class Tbl_Destination, add the following line at the top:
using System.Web.Mvc;
-
Add the [AllowHtml] attribute just above the GoogleStreetViewURL, Destination_Highlights, or Description property, like this:
[AllowHtml] public string GoogleStreetViewURL { get; set; }
-
Also, add the following line within the Tbl_Destination class to establish a relationship with the Tbl_Expert entity:
public Tbl_Expert Expert { get; set; }
-
Open the Tbl_Bookings class and add the following line within the class to include a TourState property:
public string TourState { get; set; }
- After Applying All The Steps Mention in Project Setup Then Follow This Steps.
- Press CTRL + F5 for Running the Project Without Dibugging.
- Then Go Back on Visual Studio And Click on Build & Click on Clean Solution.
- After Cleaning Successfully, Click Again on Build And Click on Build Solution.
- Finally, Now The Project is Ready to Go And Press CTRL + F5 And Run The Project Successfully.
That's it! You've successfully installed and set up the project. If you have any questions or encounter any issues, please don't hesitate to reach out for assistance.