Commit 41cf35d1 authored by Savorboard's avatar Savorboard

remove session

parent f9e95703
...@@ -3,7 +3,6 @@ using System.Diagnostics; ...@@ -3,7 +3,6 @@ using System.Diagnostics;
using System.Net; using System.Net;
using System.Text; using System.Text;
using DotNetCore.CAP.Dashboard.Monitoring; using DotNetCore.CAP.Dashboard.Monitoring;
using Microsoft.AspNetCore.Http;
namespace DotNetCore.CAP.Dashboard namespace DotNetCore.CAP.Dashboard
{ {
...@@ -40,7 +39,6 @@ namespace DotNetCore.CAP.Dashboard ...@@ -40,7 +39,6 @@ namespace DotNetCore.CAP.Dashboard
protected DashboardRequest Request { private get; set; } protected DashboardRequest Request { private get; set; }
protected DashboardResponse Response { private get; set; } protected DashboardResponse Response { private get; set; }
internal ISession Session { get; private set; }
internal IServiceProvider RequestServices { get; private set; } internal IServiceProvider RequestServices { get; private set; }
public string RequestPath => Request.Path; public string RequestPath => Request.Path;
...@@ -68,7 +66,6 @@ namespace DotNetCore.CAP.Dashboard ...@@ -68,7 +66,6 @@ namespace DotNetCore.CAP.Dashboard
StatsPollingInterval = parentPage.StatsPollingInterval; StatsPollingInterval = parentPage.StatsPollingInterval;
Url = parentPage.Url; Url = parentPage.Url;
RequestServices = parentPage.RequestServices; RequestServices = parentPage.RequestServices;
Session = parentPage.Session;
GenerationTime = parentPage.GenerationTime; GenerationTime = parentPage.GenerationTime;
_statisticsLazy = parentPage._statisticsLazy; _statisticsLazy = parentPage._statisticsLazy;
...@@ -79,7 +76,6 @@ namespace DotNetCore.CAP.Dashboard ...@@ -79,7 +76,6 @@ namespace DotNetCore.CAP.Dashboard
Request = context.Request; Request = context.Request;
Response = context.Response; Response = context.Response;
RequestServices = context.RequestServices; RequestServices = context.RequestServices;
Session = context.Session;
Storage = context.Storage; Storage = context.Storage;
AppPath = context.Options.AppPath; AppPath = context.Options.AppPath;
StatsPollingInterval = context.Options.StatsPollingInterval; StatsPollingInterval = context.Options.StatsPollingInterval;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment