search
Follow Topic rss_feed

For certain types of code, unit testing works brilliantly, flows naturally, and significantly enhances the quality of the resulting code. But for other types of code, writing unit tests consumes a huge amount of effort, doesn’t meaningfully aid design or reduce defects at all, and makes the codebase harder to work with by being a barrier to refactoring or enhancement.

Bharat Dwarkani shared on Jun 19, 2020
image
blog.stevensanderson.com
bookmarks
share
visibility13
visibility13 share bookmarks

To reduce page size we have many things to do eg: custom img, bundle Js, CSS, hosting, server… But in this article, I only guide to bundle js and CSS files.

Bharat Dwarkani shared on Jun 08, 2020
image
medium.com
bookmarks
share
visibility41
visibility41 share bookmarks

ASP.NET Core has an inbuilt middleware for Response compression, which by default uses gzip compression. All modern browsers support response compression, and you should take advantage of it. Instead of sending response from the server as it is, it’s better to compress it and then send it, as this will reduce the response size and provides better speed. So in this post, let’s see how to enable gzip compression in ASP.NET Core.

Bharat Dwarkani shared on Jun 07, 2020
image
docs.microsoft.com
bookmarks
share
visibility32
visibility32 share bookmarks

Watch "Deploying an Asp.Net Core 3.0 Web API on Kubernetes" on YouTube

Bharat Dwarkani shared on Jun 06, 2020
image
youtu.be
bookmarks
share
visibility22
visibility22 share bookmarks

Video explaining how to create a docker images for ASP.NET core application

Bharat Dwarkani shared on Jun 06, 2020
image
youtu.be
bookmarks
share
visibility13
visibility13 share bookmarks

Performance is always at the top of my mind when developing a web app. Using tools such as WebPageTest where a common hit against your grade will be the lack of CDN use will affect performance.

Bharat Dwarkani shared on Jun 06, 2020
image
tattoocoder.com
bookmarks
share
visibility3
visibility3 share bookmarks

In this article, I will show you the basics of the Webhook mechanism that uses a publish-subscribe pattern in the ASP.NET CORE 3.1 project.

Bharat Dwarkani shared on Jun 02, 2020
image
volosoft.com
bookmarks
share
visibility221
visibility221 share bookmarks

For apps running in Kubernetes, it's particularly important to be storing log messages in a central location. I'd argue that this is important for all apps, whether or not you're using Kubernetes or docker, but the ephemeral nature of pods and containers make the latter cases particularly important.

Bharat Dwarkani shared on May 31, 2020
image
google.com
bookmarks
share
visibility309
visibility309 share bookmarks

Follow the steps below to create the sample code and then deploy the app to your cluster. You can also download a working copy of the sample, by running the following commands

Bharat Dwarkani shared on May 30, 2020
image
knative.dev
bookmarks
share
visibility10
visibility10 share bookmarks

Using ORM for database related work is a common practice in applications developed in the last decade. There are many popular ORM’s. One of the most common ORM’s in the .NET world is Entity Framework.

Bharat Dwarkani shared on May 27, 2020
image
medium.com
bookmarks
share
visibility46
visibility46 share bookmarks
add