zedor / ASPSeminar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


ASP Seminar

Seminarski rad za ASP MVC Algebra edukaciju

Table Of Contents

About The Project

Screen Shot

Example project of a simple CMS based on ASP MVC .NET 6 with Entity Framework and Microsoft Identity.

Getting Started

Visual Studio 2022 recommended, alternatively anything that can build a .net 6 visual studio project.

Prerequisites

Microsoft SQL Server (Express)

Installation

  1. Edit the aspsettings.json, replacing SERVERHERE and DATABASEHERE with the server and database name respectively.
"DefaultConnection": "Server=SERVERHERE;Database=DATABASEHERE;TrustServerCertificate=True;Integrated Security=True;"
  1. Run the following commands in the package manager console:
add-migration init
update-database
  1. Build and run the application

  2. Default admin and password:

mail: b@b.a
pass: sifrica1

API

Access the API endpoints at:

http://localhost:PORT/api/products
http://localhost:PORT/api/product/{id}
example: http://localhost:5056/api/product/5

License

Distributed under the MIT License. See LICENSE for more information.

About


Languages

Language:C# 64.2%Language:HTML 34.9%Language:CSS 0.7%Language:JavaScript 0.2%