This repository contains the source code for my improved personal website built with ASP.NET with Razor Pages.
Before you begin, ensure you have met the following requirements:
-
Visual Studio 2022: Download and install Visual Studio for Windows with the ASP.NET and web development workload. You can also use Visual Studio Code (often refers as VS Code), which is a cross-platform IDE for every OS (Windows, Linux, macOS) and install C# Dev Kit Extension.
-
.NET SDK: Ensure you have the latest version of .NET SDK installed. You can download it from here.
Follow these steps to get your development environment set up:
- Clone the repository:
git clone https://github.com/AvogatoWizardWhisker/MyPersonalSite.git
cd MyPersonalSite
- Open the solution:
- Open Visual Studio.
- Click on File > Open > Project/Solution.
- Navigate to the cloned repository folder and select MySite.sln.
- Build the project:
In Visual Studio, click on Build > Build Solution or press Ctrl+Shift+B.
In VS Code, right-click on Program.cs
file then click on "Open in external terminal" or launch the terminal via shortcut key ctrl+shift+c. Then type dotnet build
.
- Run the application:
Press F5 to run the application. This will start the local development server and open your default web browser to the application.
Once the application is running, you can access it at http://localhost:5000
(or the port specified in your launch settings).
If you want to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch
git checkout -b feature-branch
. - Make your changes.
- Commit your changes
git commit -m 'Add some feature'
. - Push to the branch
git push origin feature-branch
. - Open a pull request.
- Bootstrap for CSS styling.
- Project template of ASP.NET Web App.
- I used TinyPNG to optimze images for faster load.
This project is licensed under the MIT License - see the LICENSE file for details.