These days all of our websites are running using https and we should be doing our local development work also using SSL. When you create your Angular project, it uses http by default but has the ability to easily run uder SSL as long as your have a certificate for Angular to use.
Luckily, it is really really easy to generate our own self-signed certificate to use for local development. A self-signed certificate just means that you personally signed the certificate to say it is valid and not one of the trusted authorities on the Internet which is why self-signed certificates only work for your local development.
In this article we will create your own self-signed certificate, tell Windows to trust our certificate and tell Angular to use our certificate for our local development work.
After a while your list of local git branches can get a bit out of control especially if you doing all of your development on a branch, creating a pull request, merging it to main and then deleting the remote git branch when it is merged into main. Once the branch is deleted on the remote repository there is no need to keep it locally anymore.
One of the extensions for VSCode that I have used for the past couple of years is Bracket Pair Colorizer 2 to color each of the bracket pairs a different color so that you can visually see the start/end bracket.
With the VSCode August 2021 (ver 1.60.0) update, this feature is now built into VSCode. You just need to turn it on.
WTF! Why Can’t I Play My Video So you tried to watch an mp4 video in Windows 10 and it threw an error at you that “To play this video, you need a new codec, HEVC Video Extensions and they want you to pay $0.99 for it. If you are like me, you are wondering what the heck is the HEVC Video Extensions and why all of a sudden do I need it to watch an mp4.
Welcome to the start of my series on code coverage. In this article we are going to talk about why you need code coverage reports and then in future articles implement the reports in our Angular based UI and ASP.NET Core based API. For years, I pushed back against implementing code coverage on my projects and I am here to say that I was wrong. In the past everytime someone tried to implement code coverage on my projects or suggested it, all they cared about was the percent of code coverage.
Are you thinking about running a public meeting using Zoom or are running a public meeting using Zoom? Then you need to prepare for the Zoom Trolls to show up who want nothing more then to force you to end your meeting early. Our goal today is to limit the amount of damage that a troll can do to your meeting to almost nothing while still allow your community to network and grow.
If you think that a Zoom Troll won’t find your meeting, think again. There are already programs available to generate Zoom meeting numbers and auto join those meeting. So it is just a matter of time before they find your meeting. These Zoom Trolls have become such an issue that even the FBI is warning people about. When a Zoom Troll joins your meeting they cause disruptions by sharing porn that is on their screen, draw on the screen using the annotation feature, unmute themselves to talk over the presenter using inappropriate/offensive language and bring inappropriate on camera.
We can easily minimize the ability of a Zoom Troll to cause any damage to your meeting using the Zoom settings below.
For my Angular workshop repository I wanted to clone the final branch without any history to a new repository so that I could try out some different technologies but I didn’t want to polute the workshop repository. Luckily, we can do this using the git clone command. Command Here is the basic command. Replace “Branch Name” with the name of your branch, “Git Repo” with the url to your Git repository, and “Folder Name” to the directory that you want to clone the branch into.
When creating NgRx effects you need to decide which RxJS operators to use. There are a lot of RxJS operators but the ones that we are going to use are: mergeMap, concatMap, exhaustMap, and switchMap. Each of these have recommended use cases in order to avoid race conditions. Operator Explanation Before we look at when to use each of the operators, lets look at what each of the operators does.
If you are using Git as your version control system, you need a .gitignore file to keep all of those user specific files out of Git like the bin/obj directories. You could manually create and configure the .gitignore file but why do it yourself when others have already done it for you. A quick search and you will run across the gitignore repo where you could download a premade file but what about if you had a tool to do this for you?
With the release of .NET Core 2.1 the .NET Core CLI includes a feature called Global Tools that provides a simple way to create and share cross-platform console tools. When you install a global tool, the CLI will download a special NuGet package that contains a console application and make your console tool available as a new command from the command line. Note: You will need to download .NET Core 2.