search

This post is in response to a question from a reader about how library authors can ensure consumers of their library insert the library's middleware at the right point in the app's middleware pipeline. Unfortunately, there's not really a great solution to that (with a couple of exceptions), but this post highlights one possible approach.

Bharat Dwarkani shared on Jan 28, 2020
image
andrewlock.net
bookmarks
share
visibility19
visibility19 share bookmarks

Usually, when getting errors logged through MEL, all of the HTTP context data is logged as part of the error, making it easy to spot why an error happened or at least making it a lot easier recreating the error. Today's error didn't include much more information than an error message and a request-id.

Bharat Dwarkani shared on Jan 17, 2020
image
blog.elmah.io
bookmarks
share
visibility5
visibility5 share bookmarks

Ideally, we would never have to take our site offline to do maintenance. All of our deployments would happen smoothly, and we could transition seamlessly into our new set of features. Once in a while it just isn’t possible, and we have to stop our users from interacting with our application. With IIS, you can drop an app_offline.htm file in the root of your site, but this requires the deployment of a file to your production environment. It works, but it isn’t great.

Bharat Dwarkani shared on Nov 24, 2019
image
rimdev.io
bookmarks
share
visibility55
visibility55 share bookmarks

In this post, we’ll learn about Middleware and how to create them. Middleware is a software component which is executed on every request and response in ASP .NET Core application.

Bharat Dwarkani shared on Oct 12, 2019
image
geekinsta.com
bookmarks
share
visibility7
visibility7 share bookmarks

To provide access or deny, we have to get the IP Address of the incoming request. We need to verify that against a list. When I say list, you can use this list to grant or deny access. This is called as IP Whitelisting and Blacklisting respectively using middleware

Bharat Dwarkani shared on Sep 08, 2019
image
blogofpi.com
bookmarks
share
visibility55
visibility55 share bookmarks

Simply, middleware is code that becomes part of a pipeline to handle requests and responses in a web app. In ASP.NET Core, middleware is a big deal! All requests are handled by a pipeline of middleware.

Bharat Dwarkani shared on Aug 26, 2019
image
dev.to
bookmarks
share
visibility14
visibility14 share bookmarks

Detect Blocking Calls in ASP.NET Core Applications. Blocking calls can lead to ThreadPool starvation. Outputs a warning to the log when blocking calls are made on the ThreadPool.

Bharat Dwarkani shared on Aug 24, 2019
image
github.com
bookmarks
share
visibility226
visibility226 share bookmarks

A developer toolkit for building SaaS applications http://saaskit.net Blog post on how to use SaaS kit https://benfoster.io/blog/tagged/saaskit

Bharat Dwarkani shared on Aug 12, 2019
image
saaskit.net
bookmarks
share
visibility15
visibility15 share bookmarks
add