ServiceSphere is a modular event management platform built with ASP.NET Core (.NET 8) and Entity Framework Core. It consists of a RESTful API and a Razor Pages web application for managing events, guests, services, suppliers, and organizers.
- ServiceSphere.API: ASP.NET Core Web API for backend data access and business logic.
- ServiceSphere.Web: ASP.NET Core Razor Pages web application for user interaction.
- ServiceSphere.Domain: Domain models and repository interfaces.
- ServiceSphere.Application: Application services.
- ServiceSphere.Infrastructure: EF Core context and repository implementations.
- CRUD operations for Events, Guests, Services, Suppliers, and Organizers.
- RESTful API endpoints with Swagger documentation.
- Razor Pages web interface.
- SQLite database (easy to switch to other providers).
- .NET 8 SDK
- Visual Studio 2022
- (Optional) SQLite Browser for inspecting the database.
-
Clone the repository
git clone https://github.com/lovecrimecode/ServiceSphere cd ServiceSphere -
Configure Connection Strings
- Edit
appsettings.jsonin bothServiceSphere.APIandServiceSphere.Webto set your SQLite connection string:"ConnectionStrings": { "DefaultConnection": "Data Source=servicesphere.db" }
- Apply Migrations
- Open a terminal in the solution directory and run:
dotnet ef database update --project ServiceSphere.Infrastructure
- Or use Visual Studio’s Package Manager Console:
PM> Update-Database -Project ServiceSphere.Infrastructure
- Run the API
- In Visual Studio, set
ServiceSphere.APIas the startup project and run. - The API will be available at
https://localhost:5001(or configured port). - Swagger UI:
https://localhost:5001/swagger
- Run the Web App
- Set
ServiceSphere.Webas the startup project and run. - The web interface will be available at
https://localhost:5002(or configured port).
- Use the web interface (
ServiceSphere.Web) to manage events, guests, services, suppliers, and organizers. - Use the API (
ServiceSphere.API) for programmatic access or integration. - API documentation is available via Swagger.
- ASP.NET Core (.NET 8, C# 12)
- Entity Framework Core (EF Core) with SQLite
- Razor Pages & MVC
- Swagger (OpenAPI)
- Dependency Injection