May 2 2019
If you're using OutputCache directive like this:
[OutputCache(Duration = 600, VaryByParam = "*", Location = OutputCacheLocation.Server)]
Or storing custom data in HttpRuntime.Cache like this
You probably caught yourself wondering
Apr 9 2019
If you search for "generate zip in ASP.NET/C#" you get tons of blog posts and StackOverflow answers suggesting DotNetZip, SharpZipLib and other 3rd party archiving libraries. And up until now that was the only solution - all because .NET had no built-in support for zip format.
Mar 28 2019
I've been a happy MacBook user for almost 14 years. Tried all of them - from a tiny 11" MacBook Air to the enormous 17" Pro - and in 2014 I finally ended up with the 15-inch retina model.
The best laptop I ever owned.
Even if you need to occasionally run Windows for work - MBP is still the best possible hardware to do that. The 15-inch retina MacBook had that unique blend or elegance, power, durability... And by "durability" I mean I fell off a motorcycle with this thing in my backpack - not once, not twice, but thrice.
Jan 30 2019
So you're starting a bootstrapped web-based business and you're deciding on the tech stack. After running a software startup with zero funding for 13 years, here's what I have to say about this.
Nov 20 2018
I see a lot of websites and apps using "box-shadow" like this
box-shadow: 0px 0px 20px 5px #ddd. Which literally means "lets have a #ddd-colored shadow, with zero offset, 5 pixels wide and 20 pixels blurred".
Which is perfectly fine, for the most part.
Oct 29 2018
Everyone's being paranoid about AI these days. And the less people are familiar with the subject, the more concerned they are. Even some of my tech friends, even - believe it or not - software engineers, the ones have a very vague idea of how AI/ML works, are expressing their concerns.
Jun 11 2018
Sometimes you need to allow users to post HTML to the server. And, by default, this is the error you're going to get:
A potentially dangerous Request.Form value was detected from the client
Mar 5 2018
The first part of this post applies only if you run ASP.NET on Windows, you can simply skip to the regex hack if not interested, but I strongly recommend you read the whole post.
Jan 6 2018
The following chart shows the impact on CPU usage after applying the Meltdown patch.
Dec 11 2017
Seems like Google is finally giving up trying to build their own social network. They have found another way of sneaking into your personal life: Google Photos