Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Fixing dotnet ef database update #454

Merged
merged 1 commit into from
May 15, 2017
Merged

Fixing dotnet ef database update #454

merged 1 commit into from
May 15, 2017

Conversation

moozzyk
Copy link
Contributor

@moozzyk moozzyk commented May 15, 2017

Currently it is impossible to create database for the chat sample - dotnet ef commands fail with: "No parameterless constructor was found on 'ApplicationDbContext'. Either add a parameterless constructor to 'Application
DbContext' or add an implementation of 'IDbContextFactory' in the same assembly as 'ApplicationDbC
ontext'." - adding IDbContextFactory implementation to fix this

Also disabling Redis presence in favor of in-memory presence

Currently it is impossible to create database for the chat sample - `dotnet ef` commands fail with: "No parameterless constructor was found on 'ApplicationDbContext'. Either add a parameterless constructor to 'Application
DbContext' or add an implementation of 'IDbContextFactory<ApplicationDbContext>' in the same assembly as 'ApplicationDbC
ontext'." - adding IDbContextFactory implementation to fix this

Also disabling Redis presence in favor of in-memory presence
@moozzyk
Copy link
Contributor Author

moozzyk commented May 15, 2017

Note: Register (and possibly some other pages) are currently broken due to: aspnet/Mvc#6272

@moozzyk moozzyk merged commit 8b455ec into dev May 15, 2017
@moozzyk moozzyk deleted the pawelka/ef20 branch May 15, 2017 21:57
@ajaybhargavb
Copy link
Contributor

aspnet/Mvc#6272 is fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants