Comments (4)
I forked the project and made a few changes so it works with Sqlite.
You can have a look at this commit:
tomfroehle@6b243ac
One thing to mind: The migrations that are in the project don't work for Sqlite because they are SQL Server specific. You would have to add custom Sqlite Migrations. My quick fix was to remove the Migrate call with a EnsureCreated. This leads to the database being created but it will never be updated.
from cleanarchitecture.
Thanks for your sample solution, @tomfroehle.
Perhaps I should use Sqlite or InMemory as the default? - since both are cross-platform.
Thoughts?
from cleanarchitecture.
Thanks for your sample solution, @tomfroehle.
Perhaps I should use Sqlite or InMemory as the default? - since both are cross-platform.
Thoughts?
Would be nice if it ran out of the box without any infrastructure. The only thing would be, that you need separate migration steps for Sqlite
from cleanarchitecture.
Thanks for raising this issue, I migrated to InMemory as the default (in debug mode) and SQL Server for release. Looked at using Sqlite, but preferred InMemory for ease of use.
from cleanarchitecture.
Related Issues (20)
- NSwagStudio HOT 1
- Readme does not link to https://github.com/jasontaylordev/CleanArchitecture HOT 1
- System.InvalidOperationException: The template directory "/home/j/code/jtest/src/Web/Templates" does not exist HOT 5
- Blazor frontend support and new asp identity HOT 1
- Web project seems to miss a reference to Microsoft.EntetyFrameworkCore.Design/Tools in order to do EF migrations HOT 1
- 🐛 React template - NSwag fails due to missing template
- Migration does not work properly HOT 1
- can't start angular site? HOT 1
- What is the best method INNER JOIN for Users?
- Scaffold shows "Failed to compile the project in memory" error HOT 2
- Small bug, you can not reuse ValidationContext in ValidationBehaviour.cs
- ValidationException doesn't return the errors only a stacktrace HOT 1
- Referring Entityframework in Application layer or use case layer HOT 2
- No IServiceMetadata Generated When Adding .NET Aspire Support
- Scaffolding Identity UI. HOT 3
- Add Blazor Support HOT 7
- Users is missing in Swagger and API specification HOT 3
- It is impossible to launch a new project HOT 9
- Making the Application layer independent of any specific technology or external library. HOT 3
- angular UserService
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cleanarchitecture.