Browse Source

remove session

master
Savorboard 7 years ago
parent
commit
41cf35d153
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      src/DotNetCore.CAP/Dashboard/RazorPage.cs

+ 0
- 4
src/DotNetCore.CAP/Dashboard/RazorPage.cs View File

@@ -3,7 +3,6 @@ using System.Diagnostics;
using System.Net;
using System.Text;
using DotNetCore.CAP.Dashboard.Monitoring;
using Microsoft.AspNetCore.Http;

namespace DotNetCore.CAP.Dashboard
{
@@ -40,7 +39,6 @@ namespace DotNetCore.CAP.Dashboard

protected DashboardRequest Request { private get; set; }
protected DashboardResponse Response { private get; set; }
internal ISession Session { get; private set; }
internal IServiceProvider RequestServices { get; private set; }

public string RequestPath => Request.Path;
@@ -68,7 +66,6 @@ namespace DotNetCore.CAP.Dashboard
StatsPollingInterval = parentPage.StatsPollingInterval;
Url = parentPage.Url;
RequestServices = parentPage.RequestServices;
Session = parentPage.Session;

GenerationTime = parentPage.GenerationTime;
_statisticsLazy = parentPage._statisticsLazy;
@@ -79,7 +76,6 @@ namespace DotNetCore.CAP.Dashboard
Request = context.Request;
Response = context.Response;
RequestServices = context.RequestServices;
Session = context.Session;
Storage = context.Storage;
AppPath = context.Options.AppPath;
StatsPollingInterval = context.Options.StatsPollingInterval;


Loading…
Cancel
Save