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>

Sunday, May 14, 2023

Azure Devops for SQL scripts

https://dotnetthoughts.net/run-ef-core-migrations-in-azure-devops/

https://kontext.tech/article/697/entityframework-core-database-migration-in-azure-devops-pipeline

Tuesday, February 21, 2023

How to resolve Azure deployment connection string issue in appsettings.json file

1) Easily Read Key Vault Secrets From ASP.NET Core Web API Application.

Click here

2) Simple Configuration Of Connection String Through Key Vault.

Click here

3) Use 'Azure App Service Settings' build pipeline and add appsettings.json.

Click here

4) Build Pipeline with Azure DevOps – AppSettings.json Transformations with Variables.

Click here