Skip to content

Instantly share code, notes, and snippets.

@trnktms

trnktms/Startup.cs

Last active Oct 31, 2019
Embed
What would you like to do?
public class Startup
{
...
public void ConfigureServices(IServiceCollection services)
{
...
services.AddSessionWithStartSession();
...
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
...
app.UseSession();
...
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.