A web-based library portal built using Blazor for managing books, categories, authors.
- CRUD operations on books, categories, authors
- Search, filtering, pagination
- Responsive UI using Blazor components
- API integration layer (to backend services)
- Configuration via settings (e.g. API endpoints)
- Frontend / UI: Blazor Server App
- Backend / API Layer: ASP.NET Core Web API
- Data / Storage: MS SQL Server
- Languages & Tools:
- C# (Blazor, .NET 9.0)
- HTML / CSS
- JSON for configuration
Before running, ensure you have:
- [.NET SDK 9.0 ]
- An IDE or code editor (e.g. Visual Studio, VS Code)
- Backend API service running (or mock API endpoints for testing)
- You can use this REST API
-
Clone this repository:
git clone https://github.com/rashedulalam46/library-portal-blazor-server-app.git cd library-portal-blazor-server-app -
Open the solution in your IDE (e.g. LibraryPortalBlazorServerApp.sln).
- Configure settings: In appsettings.json / appsettings.Development.json, update the API endpoint or connection string.
- If you have an ApiSettings.cs, adjust base URLs etc.
- Build & run:
dotnet build
dotnet run
Or run from your IDE with debugging.
- Navigate to https://localhost:5001 (or the configured port) in your browser.
/
│
├── Components/ # Reusable Blazor components
├── Models/ # Data models / DTOs
├── Pages/ # Blazor pages / routing
├── Services/ # Services (API clients, business logic)
├── wwwroot/ # Static assets (css, js, images)
├── ApiSettings.cs # Configuration helper
├── Program.cs # App startup
├── Routes.razor # Routing definitions
├── LibraryPortalBlazorServerApp.csproj
├── LibraryPortalBlazorServerApp.sln
├── appsettings.json
└── appsettings.Development.json
| File | Purpose |
|---|---|
appsettings.json |
Production settings (e.g. API URL, keys) |
appsettings.Development.json |
Local / development overrides |
ApiSettings.cs |
Strongly-typed class for API configuration |