Prerequisites
Before installing ESP Santa Fe de Antioquia, ensure your development environment meets the following requirements:.NET Core 3.1 SDK
Download and install the .NET Core 3.1 SDK for your operating system.Verify the installation:Expected output:
3.1.xSQL Server
Install SQL Server 2017 or later. You can use:
- SQL Server Express (free)
- SQL Server Developer Edition (free)
- SQL Server Standard/Enterprise
Development Tools
Install one of the following IDEs:
- Visual Studio 2019 or later
- Visual Studio Code with C# extension
- JetBrains Rider
Clone the Repository
Clone the project from GitHub:Install Dependencies
The project uses several NuGet packages that need to be restored:Key Dependencies
The project includes the following major packages:| Package | Version | Purpose |
|---|---|---|
Microsoft.EntityFrameworkCore.SqlServer | 3.1.9 | SQL Server database provider |
Microsoft.AspNetCore.Identity.UI | 3.1.9 | ASP.NET Core Identity authentication |
AutoMapper.Extensions.Microsoft.DependencyInjection | 8.1.0 | Object mapping |
SendGrid | 9.21.0 | Email service integration |
X.PagedList.Mvc.Core | 8.0.7 | Pagination support |
All dependencies are defined in
src/prjESPSantaFeAnt/prjESPSantaFeAnt.csproj and will be automatically restored.Database Setup
Update Connection String
Edit Replace
appsettings.json to configure your database connection:YOUR_SERVER with your SQL Server instance name (e.g., localhost, .\SQLEXPRESS, or (localdb)\mssqllocaldb).Build the Application
Build the solution to verify everything is set up correctly:Run the Application
Start the development server:- HTTPS:
https://localhost:5001 - HTTP:
http://localhost:5000
The first run may take longer as the application compiles and initializes the database.
Verify Installation
Once the application is running:- Navigate to
https://localhost:5001in your browser - You should see the ESP Santa Fe de Antioquia homepage
- Try accessing
/Identity/Account/Registerto verify Identity is working - Check the console for any startup errors
Next Steps
Configuration
Configure authentication, email, and file uploads
Architecture Overview
Learn about the application architecture
Troubleshooting
Database Connection Issues
If you see errors connecting to SQL Server:- Verify SQL Server is running
- Check your connection string format
- For Windows Authentication, use
Trusted_Connection=True - For SQL Authentication, use
User Id=sa;Password=YourPassword
Port Already in Use
If ports 5000/5001 are in use, configure custom ports inProgram.cs:prjESPSantaFeAnt:24: