Friday, 22 May 2026

API run block issue run api from cmd

 

✅ Debug Checklist – “Access is Denied” (.NET / Visual Studio)

🔹 Identify Problem

☐ Error: Unable to start program (.exe) – Access is denied
☐ EXE exists in bin\Debug\net9.0


🔹 Verify Build

☐ Run Rebuild Solution
☐ Confirm no build errors
☐ Ensure correct startup project


🔹 Check Execution

☐ Run EXE manually → still “Access denied”
☐ Check Windows popup → Action blocked by administrator


🔹 Root Cause

Confirm: Corporate security policy (AppLocker / Defender) blocking .exe


🔹 Workaround (Working Solution)

☐ Navigate to project folder
☐ Run

dotnet run

OR

BAT
dotnet Enviri.UAR.API.dll

🔹 Fix Port Issue

☐ If running on port 5000 → expected
☐ Use:

BAT
dotnet run

☐ Confirms launchSettings.json is applied
☐ Runs on configured ports (7039 / 5137)


🔹 Validate Application

☐ Check console:

Now listening on: https://localhost:7039

☐ Open in browser
☐ API working ✅


🔹 Final Rules

☐ Do NOT use .exe (blocked)
☐ Always use dotnet run
☐ No need for admin / permissions change


✅ Final Status

☐ Build successful
☐ App running
☐ Ports working
☐ Issue resolved


✅ Done 🎉

You said:
Convert checklist to PDF
Copilot said:
Copilot
The generated "Access_Denied_Debug_Checklist.pdf" file was saved to OneDrive.

Your PDF is ready ✅

Download it here: 👉 Access Denied Debug Checklist

If you want, I can also format it with:

  • better headings
  • company branding
  • or convert to Word / Confluence format 👍

Thursday, 9 April 2026

HCL healthcare

 hcl health care f2f second round interview asked more uestions on microservice
1.apim manage all apis in one place
2.sql profiler in one for different database like mongodb and sql

3.how to prevent junior developer from code push
4.remove duplicaet fROm sql table
5.jwt hashing
6.comunit one api end point in another endpoint eg address in inventory method.
7.how you know prod deplyed (kubctl).


Tuesday, 7 April 2026

code quality

 code metrics in visual studio code
search in google for code quality

Tuesday, 3 March 2026

Capgemini Interview

 capgemini famous interview question

List<int> A = new List<int>();

A.add(1);

List<int> B=A;

B=new List<int>();

B.Add(2);

A.add(3);

answer?

Saturday, 7 February 2026

dropdownsearch for dyanmic fields

   I’ve enabled searchable dropdowns for all dynamic dropdown controls in Assignment Details.

What I changed

  • Added a dropdownSearch map in assignment-details.component.ts.
  • Added ngx-mat-select-search inside every dynamic dropdown in assignment-details.component.html.
  •    <ng-template #dynamicOptions>
  •       <mat-option>
  •         <ngx-mat-select-search
  •           [(ngModel)]="dropdownSearch[field.ControlName]"
  •           [ngModelOptions]="{ standalone: true }"
  •           [placeholderLabel]="'Search...'"
  •           [noEntriesFoundLabel]="'Not found'"
  •         ></ngx-mat-select-search>
  •       </mat-option>
  •       <mat-option
  •         *ngFor="
  •           let option of field.Options
  •             | stringFilterBy: dropdownSearch[field.ControlName]:'Name'
  •         "
  •         [value]="option.Value"
  •       >
  •         {{ option.Name }}
  •       </mat-option>
  •     </ng-template>
  • Wired filtering using the existing stringFilterBy pipe on option.Name.

private destroy$ = new Subject<void>();

dropdownSearch: Record<string, string> = {};

Tuesday, 3 February 2026

DB PRod issues

 Production data transer issue i have faced

not using where update command using transaction
>>tansfer larger amount of data from dev emp table to test emp table mistate first load  less dpendent data
>> functions and tables and veiws 
then sps
>>it taking 40 mnts for 50k records.


API run block issue run api from cmd

  ✅ Debug Checklist – “Access is Denied” (.NET / Visual Studio) 🔹 Identify Problem ☐ Error: Unable to start program (.exe) – Access is deni...