How to quickly and securely build robust sqlserver rest apis