There is an identical name (faker. net) project is the C # Open-source porting Implementation of Ruby faker gem, which is mainly used to easily generate counterfeit data (although it is fake data, it looks very similar ), including name, address, and phone number. Faker is useful for both demonstration and test data.
How does it work? Read itsCodeYou will find that the solution contains some resource files that contain some possible quality values (such as first name and last name) of each attribute ), then, the data is generated by randomly mixing and matching the values. The more reserved values for each attribute, the more combinations, and the richer the result data. Based on your specific needs, you can modify the source file to reflect your data needs (for example, limited to the name or address of a region ). This article by Ollie riches shows how to use faker quickly.
This utilityProgramCompatible with. NET Framework 4.0, Silverlight 3-5, and Windows Phone 7.0 and 7.1. It is issued as a nuget package. They work in almost the same way, except for a few differences-possible attribute values are directly in the C # code (rather than in the resource file); in addition, it provides additional education) such as degree, Major, and school ).