A .NET learning project that demonstrates web development concepts using ASP.NET Core Razor Pages, designed for medical practice management.
This project serves as an introduction to .NET web development, specifically mimicking Web Forms functionality using modern ASP.NET Core Razor Pages. It's designed for learning purposes with a medical application theme.
- ✅ Patient Registration Form
- ✅ Responsive Bootstrap UI
- ✅ Form Validation
- ✅ Medical-themed Dashboard
- 📋 Appointment Scheduling
- 📋 Patient Records Management
- 📋 Doctor Management
- 📋 Medical History Tracking
- 📋 Database Integration
- Framework: ASP.NET Core 9.0
- Language: C#
- UI: Razor Pages + Bootstrap 5
- Platform: Cross-platform (.NET Core)
├── Models/ # Data models (Patient, Appointment)
├── Pages/ # Razor Pages (Views + Code-behind)
│ ├── Shared/ # Shared layouts and partials
│ ├── Index.cshtml # Dashboard/Home page
│ └── PatientRegistration.cshtml # Patient registration form
├── wwwroot/ # Static files (CSS, JS, images)
└── Program.cs # Application startup
- .NET 9.0 SDK or later
- Any code editor (VS Code, Visual Studio, etc.)
-
Build the project:
dotnet build
-
Run the application:
dotnet run
-
Open in browser:
- Navigate to
https://localhost:7xxx(port will be shown in terminal) - Or use
http://localhost:5xxxfor non-HTTPS
- Navigate to
# Build the project
dotnet build
# Run the application
dotnet run
# Run with hot reload (watches for changes)
dotnet watch run
# Create a new Razor page
dotnet new page -n NewPageName -o Pages
# Add a NuGet package
dotnet add package PackageNameThis project helps you learn:
-
ASP.NET Core Basics
- Razor Pages architecture
- Model binding
- Form handling
-
Web Development Concepts
- Form validation
- Responsive design
- MVC pattern
-
C# Programming
- Object-oriented programming
- Data annotations
- LINQ (when database is added)
| Web Forms | Razor Pages |
|---|---|
| .aspx + .aspx.cs | .cshtml + .cshtml.cs |
| ViewState | Stateless |
| Server controls | HTML helpers / Tag helpers |
| Page lifecycle events | OnGet/OnPost methods |
| Windows only | Cross-platform |
- Database Integration: Add Entity Framework Core
- Authentication: Implement user login/registration
- API Development: Create REST APIs
- Advanced UI: Add JavaScript interactions
- Deployment: Deploy to Azure or other cloud platforms
This project is for educational purposes only.