You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to use owin.RequestId from the environment dictionary, but it's an empty guid all the time, is there anything we are missing?
I understand it's an optional field according to the standard, but I'd expect it to be either not present or have a non-empty value
I also checked using a brand new .NET Framework empty web project like:
using Microsoft.Owin;
using Owin;
using WebApplication1;
[assembly: OwinStartup(typeof(Startup))]
namespace WebApplication1
{
public class Startup
{
public void Configuration(IAppBuilder appBuilder)
{
appBuilder.Use((context, next) =>
{
var requestId = context.Environment["owin.RequestId"];
return next();
});
}
}
}
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
We are trying to use owin.RequestId from the environment dictionary, but it's an empty guid all the time, is there anything we are missing?
I understand it's an optional field according to the standard, but I'd expect it to be either not present or have a non-empty value
I also checked using a brand new .NET Framework empty web project like:
Thanks
The text was updated successfully, but these errors were encountered: