c# - SignalR difference between Context.Request.Cookies and Context.RequestCookies -


is there difference between context.request.cookies , context.requestcookies? both properties seem have identical values. confusing.

it's same. following implementation of requestcookies property of microsoft.aspnet.signalr.hubs.hubcallercontext class:

public idictionary<string, cookie> requestcookies {         {         return this.request.cookies;     } } 

you can validate decompiling microsoft.aspnet.signalr.core.dll.

actually, since open-source, don't need decompile, code can downloaded github: https://github.com/signalr/signalr/blob/master/src/microsoft.aspnet.signalr.core/hubs/hubcallercontext.cs


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -