Skip to content

An attempt to port web application developed for the class project into .NET

Notifications You must be signed in to change notification settings

tnkteja/CSC510Project.NET

Repository files navigation

CSC510Project

An attempt to port web application developed for the class project into .NET

Boiler Plate - Project in Visual studio 2017.

Setup the visual studio using recommend extensions. link

Used the ASP.NET setup withWeb Application Project on .NET Framework with a Web API template using Individual Accounts type Authentication ;, ( over cross platform way of .NET core web application. [1]) for the benefit of use mordern tools and support.

Using Nuget packages

  • Postman Collection Generator created a api to get json dump of the Web API endpoint collection.
  • Swagger buckle for generating the swagger docs.

project setup

Setup git repository over the the wizard and hooked up both Teamviewer and github

Backend - Web API using RESTful interface on CRUD operations

Rest controllers -> Entity Models -> DBContext -> DB

Aim is to use repository pattern over here

Persistence - Created the entities using the .NET Entity Framework 6.0 for the project

  • Using ADO.NET Entity data model.
    • with model first approach.
      • created 3 simple entities in the Entity model designer - User, Movie, Critic and designed relationship between them.
      • created a sql dump of the physical ERD and executed it on the target sql server hosted in Azure.
        • Created a sql database instance in Azure on a SQL server instance.
  • Created controller classes for the Web API using the one of the Web API scaffholdings

Identity management -

References

  1. https://andrewlock.net/understanding-net-core-netstandard-and-asp-net-core/