Controller method public async Task<IActionResult> SomeApiMethod() { try { using var ms = new MemoryStream(); await Request....
Obtain certificate from Let’s Encrypt using Certbot in STANDALONE mode As one line sudo docker run -it --rm -p 443:443 -p 8...
fatal: in unpopulated submodule ‘x’ git rm --cached x git submodule add -b master --force https://gitlink/repo.git x ...
Check if a column contains a string SELECT [DatabaseId],[Category] FROM [dbo].[SomeTable] Where Category LIKE '%theString%'...
If a lag is experienced when swiping between pages on a ViewPager : viewPager.setOffscreenLimit(size) Where size : the number of p...
Identity Server 4 is an OpenID Connect and OAuth 2.0 Framework. On this post I am going to dive into the introspection of referenc...
I started developing an android app on my surface but then I decided to move the code to my stationary pc. I copied the whole sour...
Lets say we have a generic class defined like : public class Foundation<TClass> where TClass : class { private readonly Inje...
My hdd died two days ago and I re-installed windows 10 Pro(64 bit) and Visual Studio 2017. While I was programming today for one p...
There are few ways to configure an Index on more than one property in the entity framework 6.1. I created a new WebApplication pro...