Commit 11392b0 1 parent e6a3324 commit 11392b0 Copy full SHA for 11392b0
File tree 3 files changed +2
-4
lines changed
3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 9
9
* .user
10
10
* .userosscache
11
11
* .sln.docstates
12
- * .sqlite
13
12
14
13
# User-specific files (MonoDevelop/Xamarin Studio)
15
14
* .userprefs
Original file line number Diff line number Diff line change 13
13
<PackageReference Include =" Bogus" Version =" 35.6.0" />
14
14
<PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.Server" Version =" 8.0.0" />
15
15
<PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 8.0.0" />
16
- <PackageReference Include =" Microsoft.EntityFrameworkCore.Sqlite " Version =" 8.0.0" />
16
+ <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory " Version =" 8.0.0" />
17
17
<PackageReference Include =" Microsoft.IdentityModel.Tokens" Version =" 8.0.0" />
18
18
<PackageReference Include =" Quartz.Extensions.Hosting" Version =" 3.13.0" />
19
19
<PackageReference Include =" Swashbuckle.AspNetCore" Version =" 6.9.0" />
Original file line number Diff line number Diff line change 12
12
// Add services to the container.
13
13
builder . Services . AddControllersWithViews ( ) ;
14
14
builder . Services . AddRazorPages ( ) ;
15
- builder . Services . AddDbContext < AppDbContext > ( opt => opt . UseSqlite ( "Filename=./ BlazorServerCRUD.sqlite ") ) ;
15
+ builder . Services . AddDbContext < AppDbContext > ( opt => opt . UseInMemoryDatabase ( " BlazorServerCRUD") ) ;
16
16
builder . Services . AddScoped < IPersonRepository , PersonRepository > ( ) ;
17
17
builder . Services . AddScoped < IUploadRepository , UploadRepository > ( ) ;
18
18
builder . Services . AddScoped < IUserRepository , UserRepository > ( ) ;
36
36
37
37
builder . Services . AddQuartz ( q =>
38
38
{
39
- // q.UseMicrosoftDependencyInjectionJobFactory();
40
39
q . AddJobAndTrigger < UploadProcessorJob > ( builder . Configuration ) ;
41
40
} ) ;
42
41
builder . Services . AddQuartzHostedService (
You can’t perform that action at this time.
0 commit comments