File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/ProjectTemplates/Web.Spa.ProjectTemplates/content Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2323
2424// Add services to the container.
2525#if ( IndividualLocalAuth )
26- var connectionString = Configuration . GetConnectionString ( "DefaultConnection" ) ;
26+ var connectionString = builder . Configuration . GetConnectionString ( "DefaultConnection" ) ;
2727builder . Services . AddDbContext < ApplicationDbContext > ( options =>
2828#if ( UseLocalDB )
2929 options . UseSqlServer ( connectionString ) ) ;
Original file line number Diff line number Diff line change 2323
2424// Add services to the container.
2525#if ( IndividualLocalAuth )
26- var connectionString = Configuration . GetConnectionString ( "DefaultConnection" ) ;
26+ var connectionString = builder . Configuration . GetConnectionString ( "DefaultConnection" ) ;
2727builder . Services . AddDbContext < ApplicationDbContext > ( options =>
2828#if ( UseLocalDB )
2929 options . UseSqlServer ( connectionString ) ) ;
You can’t perform that action at this time.
0 commit comments