Estimating cloud costs isn’t always easy, especially if your goal is to be super exact. The desire to be super precise will probably cause you to spend more time estimating the costs of resources than the resources might cost themselves. Always remember that development time is expensive. Trying to estimate down to the dollar isn’t…
Read more…
Sometimes you can’t get into SQL Server. Maybe you forgot a password, or something got misconfigured. You are locked out. What to do when this happens? My go-to is putting SQL Server in Single-User Mode. Doing this is pretty straightforward. First, open a command shell in administrator mode. Then stop the SQL Server Service. net…
Read more…
Application programming interfaces (APIs) communicate into software. If user interfaces are ways for humans to interact with software, then APIs are ways for software to communicate with other software. As we write applications, our software makes extensive use of APIs. Sometimes those APIs are purely at a platform level, maybe file read and write. Sometimes…
Read more…
Are you trying to use a FormArray on a dynamic/reactive Angular Form, but it is not working? This should help you solve your problem. Start by setting up a new project: ng new [name your project] Then create the component: ng g component [component name] You should now see something like this: Next, let’s add…
Read more…
For a recent project I was working on, we needed to set up a new FTP server. This server would receive files via FTP, and then these files would be moved to a temporary machine for further processing. This process needed to be automated and be executed reliably, and without having to log in or…
Read more…
Need to set up a JSON Web Token (JWT) in a project with a .NET Core 3.1 backend? Here’s a quick and dirty example of how to do it. First, create a Web Application project. After we have a web application project, we are already pretty close to done. .NET makes this process easy. The…
Read more…
All of the systems we design use essentially the same layered architecture. Our top layer is the manager layer. That layer is often consumed directly from our controllers in our ASP.NET projects. This usually results in us writing many thin methods that just call our managers. But what if we didn’t have to write those…
Read more…
JSON Web Tokens (JWTs) are common in today’s web-based world. The notion of JWTs works really well inside of the SPA to Web API world that many of us are currently developing. In these systems, the JWT is created by the user when the signs into the system. After sign-in, a JWT is created and…
Read more…
Microsoft’s ASP.NET framework provides a really easy way to add authentication to your applications. For a classic web application, you almost don’t have to do anything. Just check a couple of check boxes and you are good to go. But did you know it’s possible to add ASP.NET user authentication to a console application? Luckily…
Read more…
I was working on a project recently where we needed to embed a Power BI report into a .NET web application. In talking with one of our other engineers, I quickly got the feeling this might be a fairly involved endeavor, and that it would take some trial and error to get everything configured correctly….
Read more…