https://github.com/zapsys/helloworldmvc
A simple ASP.NET Core (C#) MVC application
https://github.com/zapsys/helloworldmvc
csharp css dotnet-core html javascript
Last synced: 5 months ago
JSON representation
A simple ASP.NET Core (C#) MVC application
- Host: GitHub
- URL: https://github.com/zapsys/helloworldmvc
- Owner: zapsys
- License: mit
- Created: 2025-05-22T18:28:56.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-05-22T18:37:01.000Z (7 months ago)
- Last Synced: 2025-05-22T19:47:03.136Z (7 months ago)
- Topics: csharp, css, dotnet-core, html, javascript
- Language: HTML
- Homepage:
- Size: 1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# HelloWorldMVC
A simple ASP.NET Core (C#) MVC application.
## Features
- Home and Privacy example pages
- Uses Bootstrap for styling (installed by default)
- Follows the Model-View-Controller (MVC) pattern
## Project Structure
- `Controllers/` - MVC controllers (e.g., HomeController)
- `Views/` - Razor views for each controller/action
- `Models/` - Data models (if needed)
- `wwwroot/` - Static files (CSS, JS, libraries)
- `HelloWorldMVC.csproj` - Project file
## Getting Started
### Prerequisites
- [.NET 9 SDK](https://dotnet.microsoft.com/download/dotnet/9.0)
On Arch Linux, install these packages:
```
sudo pacman -S dotnet-sdk dotnet-runtime aspnet-runtime
```
For other distributions, check your package manager or the official .NET documentation.
### Project Initialization
Create a new MVC app with the name *HelloWorldMVC* and output to the *HelloWorldMVC* folder:
```
dotnet new mvc -n HelloWorldMVC -o HelloWorldMVC
```
### Build and Run
Navigate to the created folder:
```
cd HelloWorldMVC
```
Build and run the project:
```
dotnet build
dotnet run
```
### Execution
The app will be available in your browser at https://localhost:5184 (or the port shown in the terminal).
### License
This project is licensed under the MIT License, allowing use, modification, and redistribution for private or commercial purposes, provided the author is credited.
- [MIT](LICENSE.md)