In preparation for a demo in his talk, Leon Welicki needed "safe data", meaning data that looks legit but is fake. This post shares how I use Azure SQL Database templates, ChatGTP, and the .NET package Bogus to create data safe to be used, random, but that fits the demo theme and requirement.
Don't miss this awesome demo!
Watch Leon's session:
After creating a table that contains only the fields I needed, I wrote a query to fill it using the existing customer table. I then create a script so it could be easily created as many times as needed.
That was a great start! However there wasn't enough transaction in the database to cover one year, and the products are a perfect match for our theme: telecom. Time to change tools
Part 2: ChatGPT
Creating products was the next logical task, I needed products in order to create transactions. I had a few ideas for telecom products, but not fifty! This is when I thought I was to ask a good friend of mine... ChatGPT! I asked ChatGPT: Create 55 telecom products (id, name, price) and return it as a List in C#. And just like that, I had my fifty-five products.
. To learn what he will be doing with it, make sure to not miss it!
SOCIAL SHARE CARD GENERATOR