Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.79 KB

Readme.md

File metadata and controls

43 lines (35 loc) · 1.79 KB

My Portfolio

Authors: Luay Younus

Overview

This is a website that I built with C# ASP.NET Core using Razor Pages.

Portfolio deployed on Azure

APIEndPoint

Getting Started

The following are required to run the program locally.

  1. Clone the repository to your local machine.
  2. Cd into the application directory where the Portfolio.sln exist.
  3. Open the application using Open/Start Portfolio.sln.
  1. Once the App is opened, Right click on the application name from the Solution Explorer Window and select Add -> New Item -> find ASP.NET Configuration File and open add it to the project.
  • Inside this file, change the Connection String to the following to connect to database
"ConnectionStrings": {
    "DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=PortfolioDB;Trusted_Connection=True;MultipleActiveResultSets=true"
}
  1. Click Tools -> NuGet Package Manager -> Package Manager Console then run the following commands in the console.
- Install-Package Microsoft.EntityFrameworkCore.Tools
- Add-Migration Initial
- Update-Database
  1. Once the database is updated, you can Run the application by clicking on the Play button .

Frameworks & Dependencies

  • Entity Framework Core
  • ASP.NET Core
  • Azure
  • Razor Pages
  • Bootstrap
  • .NET tag helpers
  • Xunit