How to Use Angular FormArray(s) within FormGroup(s) In Reactive Forms

How to Use Angular FormArray(s) within FormGroup(s) In Reactive Forms

by 

|

|  

in

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…

Setting Up an Azure File Share on a VM

by 

|

|  

in ,

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…

A Super Simple JWT Example

by 

|

|  

in

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…

A Proxy Controller for Managers?

by 

|

|  

in

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…

JWT Verification Outside of an ASP.NET Application

by 

|

|  

in

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…

Using ASP.NET Identity in a Console App? Yes You Can!

by 

|

|  

in

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…

How To: Embed Power BI in a Web Application

by 

|

|  

in

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…

Saving Time with the DataTestMethod Attribute

by 

|

|  

in

Automated testing has come a long way over the years. I remember using NUnit back in the early days of .NET when you needed a separate application to run unit tests. Since then, support for automated testing has improved to the point where we can run unit tests right from within Visual Studio. In this…

Read more…

Configure SQL Server Column Encryption with Azure Key Vault

by 

|

|  

in

The Legend of Zelda: A Link to the Past is my favorite Zelda game. Actually, it is one of my favorite games of all time. In my opinion, it is nearly perfect. It’s not too difficult, but it also makes you work. Lots of things to do. Nice 2D graphics. Just a very enjoyable game….

Read more…

Quick Look – Mocking in the UI with Xamarin Forms

by 

|

|  

in

Xamarin Forms is a handy UI framework. It provides a way to create a UI that works on both iOS and Android. But it has something else that is novel: it gives us an easy way to create a screen with mock data. With Xamarin Forms, you can preview within Visual Studio (both Mac and…

Read more…