Setting up Easyfieds is very simple. After extracting files from zip archive file, you can open project solution file in Visual Studio. We recommend to use Visual Studio 2019 or any up to date versions. Watch the following video for more explanation.
You receive the following files after extracting project compressed file.
Easyfieds uses Entity Framework Code first approach to create database. You don't need any SQL scripts to create database or its tables and columns. You just need change the value of connection string in
Web.config file according to to your database server instance. The project will automatically create database tables and seed initially required data with the help of entity framework. Follow below steps to get connection string information and setup your database on different enviroments.
When you are trying to setup Easyfieds in your local/development environemnt.
cmdin run window. Command Prompt will be opened. Get the name of SQL server instances by typing
sqllocaldb iin your command prompt.
MSSQLLocalDBwith your preferred server instance name.
Ctrl+F5. It'll take a moment when loading for the first time because Entity Framework is creating database and its entities and seeding the initial data in the background.
When you are trying to publish Easyfieds with remote database.
AppConnectionString. This is used to identify connection string in the
Easyfieds also seed following default role and user data with the help of Entity Framework when database is first created. It is defined in
AppDBInitializer class which exists in App.Data project.
Easyfieds also has a default Adminstrator user with the following credentials.