Skip to content

MohamedSelimMaazouz993/.Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Creation Of CRUD App Fullstack ( Backend as .Net & Frontend as Angular 15)

  1. Download The Projects
  2. Click on Ing_IAM.sln
  3. Follow The screenshots Down Below 📸

Screenshots 📸

In Visual Studio :

We Need To Change the name of database and password

  1. Appsetting.json file in API :

appsetting json

  1. IAMDbcontext file in Core :

db context in core

Postman :

  1. Open Postman :

postman 1

  1. Create New Collection :

postman 2

  1. Add New Request :

postman 3

  1. Select a Post Request and set this URL:

http://localhost:5303/User/AddUser

postman 4

  1. Select Body => Raw and change from text to json and the Code below on the json fields :
{
    "userNom": "Tounsii",
    "userPrenom": "Aziz1",
    "userUsername": "zizou1",
    "userEmail": "[email protected]",
    "userPasswordhash": "test1234",
    "userGuid": "",
    "userTel": "",
    "userAdresse": "",
    "userPhoto": "",
    "userActive": true,
    "userCreatedbyuser": null,
    "userCreatedondate": null,
    "userUpdatedbyuser": null,
    "userUpdatedondate": null,
    "usersroles": []
}

postman 5

IIS Setup :

  1. Download dotnet-hosting-7.0.4

  2. This a Video Of How To Install With IIS : How To Install IIS

Make Sure All of Those are ticked ✔️ ( verify every task is ticked folder like this )

part 1

part 2

  1. This a Video Of How To Deploy With IIS : How To Deploy With IIS

Run App :

  • Now We Are Going To Run App
  1. Click on IIS Express :

postman 6

  1. Click on Continue :

postman 7

  1. Now We return To Postman and Send the post Request The User will be added Succesfully

postman 8

App Overview :

CRUD APP :

- Database (PostgreSql) ✔️  Already Done ⌛
- Backend ( Server-Side ) ✔️  Already Done ⌛
- Frontend ❌ Not Implimented Yet ⏳(Soon)

Note : Backend works just fine , we didn't decide either using Ionic or Angular as Frontend

See You Soon 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages