Disable right click on a specific div
Post Views: 94 This is very common that we get requirement or scope to disable some specific div(s) or section because of security reasons. Simple solution: Add Example Another Solution,…
External JS files are not loading correctly in Angular
Post Views: 1,230 External Js File is not working in Angular I found that sometimes, some external js will not work or load correctly in angular solution specially while designing…
Add-Migration : The term ‘Add-Migration’ is not recognized
Post Views: 542 We might get this error sometimes while running add-migration command. Error: The term ‘Add-Migration’ is not recognized as the name of a cmdlet, function, script file, or…
Invalid option ‘7.3’ for /langversion; must be ISO-1, ISO-2, Default, Latest or a valid version in range 1 to 7.1.
Post Views: 474 This compiler error occurs sometime because of version change where dotnet compiler version and c# version are incompatible. Error: Compilation ErrorDescription: An error occurred during the compilation of…
Adding Module with Routing in Angular
Post Views: 56 The angular cli for creating another module with its routing. ng g module /admin/home –routing –module=app The above command will create a module inside admin/home with it’s…
Change the session timeouts in SharePoint sites
Post Views: 386 Some cases, our clients (SharePoint Client) may request to change the session time out of SharePoint sites. It is allowed to set timeout of the user session…
An unhandled exception occurred: Could not find module “@angular-devkit/build-angular”
Post Views: 104 This error occurs because of missing dev dependency which is introduced newly in Angular 6.0 and above. Solution: Install @angular-devkit/build-angular In some cases npm install ng update…
How to update files of Azure hosted site
Post Views: 61 There are few steps need to follow to edit and update files of application which are hosted in azure. Follow following steps. Login to azure portal, Click…
Create Angular Component if more than one module matches
Post Views: 172 More than one module matches. Use skip-import option to skip importing the component into the closest module. Command ng g component –skipTests /admin/home –module=app This command will…
Failed to register URL “http://localhost:XXXX/” for site “..” application “/”. Error description: The process cannot access the file because it is being used by another process. (0x80070020)
Post Views: 484 Error: Failed to register URL “http://localhost:XXXX/” for site “SITE NAME” application “/”. Error description: The process cannot access the file because it is being used by another…