All Projects → paragpkulkarni → SQLiteEncryptionUsingEFCore

paragpkulkarni / SQLiteEncryptionUsingEFCore

Licence: other
SQLite Encryption using Entity Framework Core (EFCore)

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to SQLiteEncryptionUsingEFCore

SignalR-Core-SqlTableDependency
Shows how the new SignalR Core works with hubs and sockets, also how it can integrate with SqlTableDependency API.
Stars: ✭ 36 (-14.29%)
Mutual labels:  netcore, asp-net-core, netcore2
Kodkod
https://github.com/alirizaadiyahsi/Nucleus Web API layered architecture startup template with ASP.NET Core 2.1, EF Core 2.1 and Vue Client
Stars: ✭ 45 (+7.14%)
Mutual labels:  netcore, entity-framework-core, asp-net-core
Entityframework.exceptions
Handle database errors easily when working with Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and MySql
Stars: ✭ 266 (+533.33%)
Mutual labels:  sqlite, entity-framework-core, netcore2
eixample
Multi-Tenant .NET 6 Architecture (Angular, Vue, React)
Stars: ✭ 61 (+45.24%)
Mutual labels:  entity-framework-core, asp-net-core
NETProvider
Firebird ADO.NET Data Provider
Stars: ✭ 113 (+169.05%)
Mutual labels:  netcore, entity-framework-core
SPA-With-Blazor
Creating a Single Page Application with Razor pages in Blazor using Entity Framework Core database first approach.
Stars: ✭ 27 (-35.71%)
Mutual labels:  entity-framework-core, asp-net-core
MinimalApi
ASP.NET Core 7.0 - Minimal API Example - Todo API implementation using ASP.NET Core Minimal API, Entity Framework Core, Token authentication, Versioning, Unit Testing, Integration Testing and Open API.
Stars: ✭ 156 (+271.43%)
Mutual labels:  entity-framework-core, asp-net-core
CRUD.ASPCore.Reactjs.WebAPI.EF
CRUD Operations in ASP.NET Core application using React.js , Web API and Entity Framework core DB first approach with the help of VS 2017.
Stars: ✭ 80 (+90.48%)
Mutual labels:  entity-framework-core, asp-net-core
grandnode2
Free, Open source, Fast, Headless, Multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, LiteDB, Vue.js.
Stars: ✭ 626 (+1390.48%)
Mutual labels:  netcore, asp-net-core
Asmin
Asmin is .NET CORE project infrastructure, to get a quick start on the project.
Stars: ✭ 89 (+111.9%)
Mutual labels:  entity-framework-core, asp-net-core
Awesome-Nuget-Packages
📦 A collection of awesome and top .NET packages sorted by most popular needs.
Stars: ✭ 87 (+107.14%)
Mutual labels:  netcore, asp-net-core
.NET-Core-Learning-Journey
Some of the projects i made when starting to learn .NET Core
Stars: ✭ 37 (-11.9%)
Mutual labels:  entity-framework-core, asp-net-core
XAF Security E4908
This repository contains examples for Role-based Access Control, Permission Management, and OData / Web / REST API Services for Entity Framework and XPO ORM
Stars: ✭ 47 (+11.9%)
Mutual labels:  netcore, asp-net-core
LocalTransactionTableTest
利用rabbitmq做消息队列,通过本地消息事务表序列化消息,通过定时轮训保证消息强行落地,最终达到数据最终一致性
Stars: ✭ 19 (-54.76%)
Mutual labels:  entity-framework-core, asp-net-core
statiq-starter-kontent-lumen
Lumen is a minimal, lightweight, and mobile-first starter for creating blogs using Statiq and Kontent by Kentico.
Stars: ✭ 22 (-47.62%)
Mutual labels:  netcore, asp-net-core
csharp
📚 Recursos para aprender C#
Stars: ✭ 37 (-11.9%)
Mutual labels:  netcore, asp-net-core
simple-blog-back
Back-End for Simple Blog
Stars: ✭ 36 (-14.29%)
Mutual labels:  entity-framework-core, asp-net-core
FluentAssertions.Web
FluentAssertions for HTTP APIs
Stars: ✭ 71 (+69.05%)
Mutual labels:  netcore, asp-net-core
jQuery-datatable-server-side-net-core
A simple Visual Studio solution using jQuery DataTable with Server-Side processing using .NET 5
Stars: ✭ 71 (+69.05%)
Mutual labels:  asp-net-core, netcore2
generic-for-core
🏗️ Generic Repository & UOW Pattern For ASP.NET Core
Stars: ✭ 55 (+30.95%)
Mutual labels:  entity-framework-core, asp-net-core

SQLiteEncryptionUsingEFCore

Codacy Badge

This is a real life example which demostrates how to use SQLite encrypted databases using Entity Framework Core (EFCore).

Tipp for creating/exploring SQLite databases with encryption manually

The database is using SQLCipher encryption. To create/explore SQLite databases with encrytion manually, you may use the open source DB Browser for SQLite, which you can find here https://sqlitebrowser.org/ or on GitHub https://github.com/sqlitebrowser/sqlitebrowser .

Steps for using encrypted SQLite database in your .Net application with EFCore

This example is using .Net Core 3.1 with EFCore 3.1.6 and SQLCipher 2.0.3:

  1. Add a NuGET reference to Microsoft.EntityFrameworkCore in your project
  2. Add a NuGET reference to Microsoft.EntityFrameworkCore.Design in your project
  3. Add a NuGET reference to Microsoft.EntityFrameworkCore.Sqlite.Core in your project This is a really important step: DO NOT add a reference to Microsoft.EntityFrameworkCore.Sqlite, otherwise it will not work!
  4. Add a NuGET reference to SQLitePCLRaw.bundle_e_sqlcipher
  5. Create a connection object (SqliteConnection), defining the database access password in the connection string (you can use SqliteConnectionStringBuilder) you give to the constructor
  6. Give the connection object to the UseSqlite method, when configuring the database context
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].