Thursday, July 5, 2018

Web api client base class

When there is a need to call a web api endpoint using C#, we could write each request separately in code, but this can quickly make the library bulky and unmanageable. The better approach is to use a generic base class which encapsulates common functions across all such clients. Here is a sample implementation of such a class


No comments:

Regex obfuscate email

 Use this code in C# to obfuscate email using regex // Online C# Editor for free // Write, Edit and Run your C# code using C# Online Compile...