Skip to main content

How to Connect a .NET C# Web API to a MySQL Database — Part 5: Production Checklist for the MySQL Connection

· 57 min read
Jagdish Kumawat
Founder @ Dewiride

Your API works, but it would hand its password to any server that answered on its address, its account can drop every table, and, as I found while writing this part, 150 requests at once kill the whole process. This last part fixes all three, and ends with a checklist you can use on any .NET C# API that talks to MySQL.