Skip to content
  • GitHub
  • LinkedIn
  • Twitter
  • Instagram
  • SlideShare

#SharePointProblems

Solutions are worthless unless shared! Antti K. Koskela's Personal Professional Blog

  • Home
  • Posts
    • Configuration
    • DevTips
    • Tech Tips
    • Programming
    • Development environment
    • Troubleshooting
  • About (etc.)
    • Antti K. Koskela
    • Get in touch!
  • Archives
    • Browse my posts
  • Search

Democracy is under attack. Ukraine is the victim under fire right now, but imperialism won't stop there. I urge you to help - click this for details!

Home » Websockets

Tag: Websockets

WebSockets.

Using role claims to target WebSockets

This article explains a (fairly) simple solution on how you can grab role claims – or any other claims with some tweaking – and use them as the basis for targeting your WebSocket messages. Very nifty, if you ask me, without all the enterprisiness of SignalR. Talking about SignalR, another…Continue reading Using role claims to target WebSockets

SignalRRRRRR meme. Fantastic use of my web hosting storage.

How to test SignalR-connection in the browser?

So a while back I posted about testing your “vanilla” WebSockets connection directly in the browser – and while that’s nice and easy, sometimes you need to class up a bit. In my case that meant upgrading to SignalR (for some corporate and enterprisey reasons as usual). It makes sense…Continue reading How to test SignalR-connection in the browser?

Use SignalR. It'll be fun.

How to access claims of a SignalR user in ASP.NET Core?

I tend to post a lot of articles about different gotchas and configuration tweaks, but this one goes back to the roots a bit – just me and a couple of other devs hacking some code together and being blocked by a bit of an obstacle, that’s then fixed by…Continue reading How to access claims of a SignalR user in ASP.NET Core?

401 Unauthorized meme

How to secure your WebSocket connection using .NET Core?

This article explains how to easily authenticate your WebSocket connections using .NET Core and vanilla JavaScript. The same concept probably applies to all sorts of front-end libraries, although some of them might offer some syntactic sugar on top of it. But it’s simple, and keeping your implementation simple is generally…Continue reading How to secure your WebSocket connection using .NET Core?

WebSockets.

HttpContext.WebSockets.IsWebSocketRequest always null in .NET Core?

This article explains another simple fix to an annoying issue. I guess that’s how I start most of my little tutorials, but hey, it’s true! I suppose I just have a knack for running into issues that come with poorly documented fixes or workarounds that are obvious but only in…Continue reading HttpContext.WebSockets.IsWebSocketRequest always null in .NET Core?

WebSockets.

How to test a WebSocket connection in browser?

This article documents a neat and simple way to establish and test a WebSocket connection, using just vanilla JavaScript and your favorite browser’s developer tools. Quick and easy – no external tools or libraries required! This is neat because you don’t want to have your information (credentials, hostnames, or even…Continue reading How to test a WebSocket connection in browser?

Author's photo: Antti K. Koskela

About the site and the author

Welcome! You just stumbled upon the home page of an all-around artisan code crafter and Microsoft MVP, Antti "koskila" Koskela.

Don't hesitate to leave comments. I read them all and try to reply as well!

More information about me in the About -section!

Recent articles

  • Hacktoberfest large banner logo

    Hacktoberfest 2023 – another year, another Hacktoberfest

     November 7, 2023
  • Execute this script maybe meme

    How to selectively remove items from an Azure blob storage container?

     October 31, 2023
  • Execute this script maybe meme

    How to update application settings for (all of your) App Services and Azure Functions on Azure using az cli?

     October 24, 2023
  • I'm not saying it was built with Azure Functions, but it was definitely built with Azure Functions.

    swa emulator throwing “✖ Could not connect to “http://localhost:7071″. Is the server up and running?”?

     October 17, 2023
  • Clippy will take over your certificates

    How to export an App Service Certificate from Azure?

     October 10, 2023
Microsoft MVP Program logo in dark grey and white
To the top of the page!
Koskila.net has been going strong since 2009 - way before I knew anything about .NET! :)

Want to see old versions of the site? Check them out on Archive.org!