Sangeet Agarwal (@SangyMohan) header
Sangeet Agarwal (@SangyMohan) profile picture

software dev. #juniordevforlife, opinions mine

Salisbury MD
Joined July 2009
Blogged: Return additional claims from user info endpoint in OpenID Connect rather than in an access token #dotNET #Security #Web #developers makebitbyte.com/blog/return-…
41
Blogged: Securing our SPA React app with a BFF (Backend for Frontend) using Duende BFF middleware #dotNET #Security #Web #Developer makebitbyte.com/blog/secure-…
68
✅ No magic strings ✅ Get intellisense out of the box ✅ As you add more services, you don't clutter up your Progam.cs file. #netcore
1
134
Replying to @marcysutton
@marcysutton Hello, I'm trying to get this course funded through HR at the place where I work and they were asking if I'll get a certificate of completion or something similar. Thanks
1
Essentially, any type of documentation that says that say workshops were completed would help me immensely in getting this course funded from my company.
1
1/x If you go to the strava web app's & give kudo to someone you are following then strava only honors the happy path. So, say you go to dev tools and go offline then if you then try & give kudos then it fails silently.
1
1
2/x On the other hand if you go to reportcards.ncqa.org/health-… & attempt to like (after you've successfully logged in) then if the call fails, I try to save 3 times (using github.com/vercel/async-retr…) before throwing up my hands. & even then I let folks know that there was network error.
1
3/x On the stava apps it waits for the kudo to be saved @ the dB and then updates the UI. So, on a slow network that experience is very sluggish. But, @ reportcards.ncqa.org I optimistically save so users' get feedback immediately & then revert in the event of failure.
Just got my ticket for #nextjsconf by @vercel, claim yours! Let's make the Web. Faster. nextjs.org/conf/tickets/oct2…
Just got my free ticket to #nextjsconf, grab yours! Let’s build a better web with #nextjs: nextjs.org/conf/tickets/Sang… via @vercel
Replying to @ReactTraining
@ReactTraining @ryanflorence I don't mean to go overboard but "54-building-a-global-state" is worth its weight in gold. I now see how one can build a redux approximation with useContext & useReducer. 🙏
1
1
if I could get a pattern equivalent to persistStore for useContext useReducer. Thanks
Replying to @andrewlocknet
@andrewlocknet bought the manning.com/books/asp-net-co… a while back & refer to it all the time, thank you. Quick question, I'm using .net 3.1 & cannot seem to be able to short circuit an action filter, I'm setting the context.Result = NotFoundResult but the action still gets executed
1
ah, never mind... you do say "filter pipeline is a bit more nuanced" but this does seem to be a bit of a design flaw. Shouldn't the filter pipeline short circuiting be similar to Middleware short circuiting?
1
by definition short circuiting means/ should mean everything after the short circuit should stop executing, the way it happens with Middleware short circuiting. In my case if the record is not found I simply want to return a 404.
1
The chaos of the universe, contained in a watch theatlantic.com/video/index/…