Create shortcut to web application on the windows taskbar
You can create a shortcut on the taskbar directly opening the web application if you enable “Open as window”, when creating a shortcut:
More tools > Create shortcut…
Gitflow
An old but still relevant and good post on gitflow:
https://nvie.com/posts/a-successful-git-branching-model/
HTTP Error 502.5 – ANCM Out-Of-Process Startup Failure
Before you try the solution below, make sure:
- You have the correct .NET Core hosting bundle installed for .NET Core 2.2 => https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-2.2.8-windows-hosting-bundle-installer
- De application pool has file system rights on the web application folder
Found my solution on:
https://github.com/dotnet/aspnetcore/issues/9151
I believe I finally resolved my issue. I used this as a reference to set the ASPNETCORE_PORT environment variable. I know this is not a good approach but at least this is working now.
Here is my web.config:
<?xml version=”1.0″ encoding=”utf-8″?>
<configuration>
<system.webServer>
<handlers>
<remove name=”aspNetCore” />
<add name=”aspNetCore” path=”*” verb=”*” modules=”AspNetCoreModuleV2″ resourceType=”Unspecified” />
</handlers>
<aspNetCore processPath=”%LAUNCHER_PATH%” stdoutLogEnabled=”true” stdoutLogFile=”.\logs\stdout” arguments=”%LAUNCHER_ARGS%”>
<environmentVariables>
<environmentVariable name=”ASPNETCORE_PORT” value=”45200″ />
</environmentVariables>
</aspNetCore>
</system.webServer>
</configuration>
What seems to be happening in my case is that a lot of ports in the range 1025 – 48000 (the ports used by ANCM) are being used and the number of retries ANCM does is limited. I saw some discussions here in GitHub (can’t find the issue) where it is being considered checking the port being trying to bind to it but until this happens I will keep these ports fixed.
FaviconsWebpackPlugin not working / not injected with Angular 9.1.7 cli into the index.html page
When integrating the Favicons webpack plugin, into an Angular 9 application, the favicons were generated, but they were not injected into the index.html page in the dist folder.
There seems to be a problem at the moment with this integration.
I fixed it, by setting index to an empty string in the Angular.json as suggested by:
https://stackoverflow.com/questions/58018737/how-to-integrate-favicons-webpack-plugin-in-angular-8-projects
“architect”: {
“build”: {
“builder”: “@angular-builders/custom-webpack:browser”,
“options”: {
“customWebpackConfig”: {
“path”: “./custom-webpack.config.js”
},
“outputPath”: “dist “,
<
p style=”background: #1e1e1e”> “index”: “”,
Resources:
https://github.com/jantimon/favicons-webpack-plugin