This repository contains a collection of .NET 8.0 web applications and learning projects for the CSC260 Computer Science course. Each project demonstrates different aspects of web development, APIs, and modern .NET technologies.
- .NET 8.0 SDK
- Visual Studio 2022, Visual Studio Code, or any compatible IDE
API-focused learning project demonstrating RESTful web services and HTTP operations.
- Location:
Projects/APis/ - Type: ASP.NET Core Web API
Introduction to Blazor web framework for building interactive web UIs with C#.
- Location:
Projects/HelloBlazor/ - Type: Blazor Server Application
Project focused on learning web layouts, CSS styling, and responsive design principles.
- Location:
Projects/LearningLayouts/ - Type: ASP.NET Core Web Application
Comprehensive MVC (Model-View-Controller) learning project with API integration.
- Location:
Projects/MVCCore/ - Type: ASP.NET Core MVC + Web API
- Components:
MVCCore- Main MVC web applicationMVCCore.Api- Separate API projectMVCCore.Shared- Shared components and models
Focuses on handling various types of user inputs, forms, and data validation.
- Location:
Projects/MadForInputs/ - Type: ASP.NET Core Web Application
Additional Blazor project for advanced Blazor concepts and interactive components.
- Location:
Projects/MyBlazorApp/ - Type: Blazor Application
Learning project focused on parameter handling, routing, and URL parameters.
- Location:
Projects/PlayingWithParams/ - Type: ASP.NET Core Web Application
Project demonstrating data persistence, database operations, and state management.
- Location:
Projects/WidgetPersistence/ - Type: ASP.NET Core Web Application
-
Navigate to a project directory:
cd Projects/[ProjectName]/[ProjectName] -
Restore dependencies:
dotnet restore
-
Run the project:
dotnet run
-
Access the application in your browser at the URL shown in the terminal (typically
https://localhost:5001orhttp://localhost:5000)
- Open the solution file (
.sln) in the respective project folder - Set the desired project as the startup project
- Press F5 or click "Start Debugging"
CSC260-LIBRARY/
├── Projects/
│ ├── APis/
│ ├── HelloBlazor/
│ ├── LearningLayouts/
│ ├── MVCCore/
│ ├── MadForInputs/
│ ├── MyBlazorApp/
│ ├── PlayingWithParams/
│ └── WidgetPersistence/
├── .gitattributes
├── .gitignore
└── README.md
This collection covers:
- Web APIs: RESTful services, HTTP methods, JSON handling
- Blazor: Component-based UI development with C#
- MVC Pattern: Model-View-Controller architecture
- User Input Handling: Forms, validation, data binding
- Routing: URL parameters, route configuration
- Data Persistence: Database operations, state management
- Layout Design: CSS, responsive design principles
- .NET 8.0: Latest version of the .NET framework
- ASP.NET Core: Cross-platform web framework
- Blazor: Web framework for building interactive web UIs
- C#: Primary programming language
- HTML/CSS: Frontend markup and styling
If you encounter issues:
- Ensure you have .NET 8.0 SDK installed
- Check that all dependencies are restored with
dotnet restore - Verify the project builds successfully with
dotnet build - Check the console output for any error messages