Thursday, June 8, 2023

Angular Command

 command

ng serve

ng build -- not working in >=14 version

ng build -configuration -skip

ng install @angular/cli

ng g c <name>

ng g s <name>

npm run start

ng generate environments

ng new <Project Name>

cd <Project Name>

ng serve

ng generate environments
git config --global user.email "you@example.com"

git config --global user.name "Your Name"


ng add @ng-bootstrap/schematics

Asp.net Core Web API

Exception handler

https://www.codeproject.com/Articles/1250932/Logging-and-Exception-handling-Versioning-in-ASP-N

https://www.c-sharpcorner.com/UploadFile/1492b1/restful-day-sharp6-request-logging-and-exception-handingloggin/

https://medium.com/@luisalexandre.rodrigues/logging-http-request-and-response-in-net-web-api-268135dcb27b

Git Command

 git init

git add -a

git commit -m <comment>

git branch new

git branch

git push

git pull

git fetch

git add remote origin <repository url="">

git status

git revoke</repository></comment>