This standalone app returns some Pokemon lookup data.
- On a Windows machine, download the latest build, and unzip it. You may need 7Zip to unzip it.
- Run
PokeDexterApp.exe
. If UAC pops up, select "More Info" and then "Run Anyway". - Enter any Pokemon name or it's number in the search bar to find some information about it.
- Open
PokeDexter.sln
in your preferred IDE such as Rider. - External packages will be missing which you'll need to get via NuGet.
Alt + Shift + N
to bring up the menu, thenNuGet Force Restore
should retrieve key packages such as Asp.Net WebApi Client PokeApiNet, Newtonsoft JSON and other dependencies. - You'll find the business logic in the
PokeDexterLibrary
project, and the WPF built frontend available in thePokeDexterFrontend
project.
There is search validation, and there's an easter egg if you fail an input on the first try. Hint: It returns a specific Pokemon.
The alternative description processes the description into either a Shakespeare or Yoda translation via the Fun Translations API. There are only 5 free requests per hour, so error handling is in place for when too many requests are made.
If this was a for a production project, I would consider a different frontend implementation such as Blazor which doesn't require the user to download a new client everytime new client changes are made.