Archives
-
Sending Messages to SignalR Hubs from the Outside
You are by now probably familiarized with SignalR, Microsoft’s API for real-time web functionality. This is, in my opinion, one of the greatest products Microsoft has released in recent time.
-
Hijacking ASP.NET Sessions
So, you want to be able to access other user’s session state from the session id, right? Well, I don’t know if you should, but you definitely can do that!
-
Tracing Entity Framework Code First Calls
Microsoft has published, some time ago, a set of Entity Framework providers, for adding caching and tracing capabilities to Entity Framework. One of these providers, tracing, is now available as a NuGet package. This offers an interesting functionality: the ability to see all SQL that Entity Framework is sending to the database, and its results. The provider works with “classic” Entity Framework as well as with Code First, and I am going to focus on the latter and show you how you can use it.