Testing your applications thoroughly requires diverse sample data that’s often time-consuming to create manually. Mockaroo simplifies this process by generating realistic test data quickly, and today we’ll explore how to use it.

The only thing you’ll need for this tutorial is Visual Studio community edition. You can download it here

Create a Dataset in Mockaroo

Navigate to the Mockaroo Website, and define the Dataset fields, I have defined mine like so;

Since we’re going to seed the data through EF Core, we’ll select the output format as JSON.

Click on GENERATE DATA and the output file should be downloaded.

Create a Web API project

Open up Visual Studio and click **Create a new Project…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help