search
Follow Topic rss_feed

I want to make 1000 requests! How can I make it really fast? Let’s have a look at 4 approaches and compare their speed.

Bharat Dwarkani shared on Mar 15, 2020
image
michalbialecki.com
bookmarks
share
visibility43
visibility43 share bookmarks

In this article, we will see how we can skip Identity server 4 login page if we have integrated Azure AD with identity server 4.

Bharat Dwarkani shared on Mar 15, 2020
image
neelbhatt.com
bookmarks
share
visibility14
visibility14 share bookmarks

So you're a dotnet developer and you've heard the hype surrounding graphql, and you think "oh yeah, I just HAVE to try this!". Well prepared to be deeply underwhelmed.

Aambharat shared on Mar 15, 2020
image
dev.to
bookmarks
share
visibility46
visibility46 share bookmarks

In this post, we will learn to setup a .NET core app to connect with MSSQL database on a docker container environment. We will run a SQL server on ubuntu container and attach volume on it. Then we will learn to run queries on the running sql server instance and persist changes on it.

Aambharat shared on Mar 15, 2020
image
stacksecrets.com
bookmarks
share
visibility26
visibility26 share bookmarks

Health check are important, both of our selves, but also of ourrrrr micro-services. This is something I came across lately – a health check of your connection to a database via EF Core context. Let’s check this out!

Bharat Dwarkani shared on Mar 15, 2020
image
michalbialecki.com
bookmarks
share
visibility17
visibility17 share bookmarks

Specifying headers in middleware can be done in C# code by creating one or more pieces of middleware. Most examples in this post will use this approach. In short, you either create a new middleware class or call the Use method directly in the Configure method in Startup.cs

Bharat Dwarkani shared on Mar 13, 2020
image
blog.elmah.io
bookmarks
share
visibility25
visibility25 share bookmarks

Cross Site Request Forgery (aka CSRF or XSRF) is one of the most common attacks in which the user is tricked into executing an unwanted action through his browser on his behalf, in one of the sites he is currently authenticated. ASP.Net Core contains an Antiforgery package that can be used to secure your application against this particular risk. For those who have used earlier versions of ASP.Net will see that things have changed a bit in the new framework.

Bharat Dwarkani shared on Mar 05, 2020
image
dotnetcurry.com
bookmarks
share
visibility26
visibility26 share bookmarks

Azure App Service allows you to specify both application settings and connection strings so that you don’t need to deploy your application again if you want to change some configuration settings. The documentation states that connection strings will be exposed as environment variables which will be prefixed based on which type of connection string you create

Bharat Dwarkani shared on Mar 05, 2020
image
mderriey.com
bookmarks
share
visibility16
visibility16 share bookmarks

An issue related to antiforgery that I couldn’t understand at the time. I went with a workaround but thought I’d dig a bit deeper when I have time. Let’s have a look at it together!

Bharat Dwarkani shared on Mar 05, 2020
image
mderriey.com
bookmarks
share
visibility16
visibility16 share bookmarks

If you decide to go with cookies and if your web api is consumed through a web application (e.g. Angular) it will be vulnerable to cross-site request forgery attacks (frequently referred to as CSRF or XSRF).

Bharat Dwarkani shared on Mar 05, 2020
image
blinkingcaret.com
bookmarks
share
visibility20
visibility20 share bookmarks
add