2 |
3 |
This is an about page...
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Chapter09/ef-core/Marketplace.Domain/Shared/ContentModeration.cs:
--------------------------------------------------------------------------------
1 | namespace Marketplace.Domain.Shared
2 | {
3 | public delegate bool CheckTextForProfanity(string text);
4 | }
--------------------------------------------------------------------------------
/Chapter09/ravendb/Marketplace.Domain/Shared/ContentModeration.cs:
--------------------------------------------------------------------------------
1 | namespace Marketplace.Domain.Shared
2 | {
3 | public delegate bool CheckTextForProfanity(string text);
4 | }
--------------------------------------------------------------------------------
/Chapter08/before/init.sql:
--------------------------------------------------------------------------------
1 | CREATE DATABASE "Marketplace_Chapter8";
2 | CREATE USER ddd WITH PASSWORD 'book';
3 | GRANT ALL PRIVILEGES ON DATABASE "Marketplace_Chapter8" to ddd;
4 |
--------------------------------------------------------------------------------
/Chapter08/ef-core/init.sql:
--------------------------------------------------------------------------------
1 | CREATE DATABASE "Marketplace_Chapter8";
2 | CREATE USER ddd WITH PASSWORD 'book';
3 | GRANT ALL PRIVILEGES ON DATABASE "Marketplace_Chapter8" to ddd;
4 |
--------------------------------------------------------------------------------
/Chapter09/ef-core/init.sql:
--------------------------------------------------------------------------------
1 | CREATE DATABASE "Marketplace_Chapter9";
2 | CREATE USER ddd WITH PASSWORD 'book';
3 | GRANT ALL PRIVILEGES ON DATABASE "Marketplace_Chapter9" to ddd;
4 |
--------------------------------------------------------------------------------
/Chapter10/Marketplace/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "eventStore": {
3 | "connectionString": "ConnectTo=tcp://admin:changeit@localhost:1113; DefaultUserCredentials=admin:changeit;"
4 | }
5 | }
--------------------------------------------------------------------------------
/Chapter13/src/Marketplace.RavenDb/GetSession.cs:
--------------------------------------------------------------------------------
1 | using Raven.Client.Documents.Session;
2 |
3 | namespace Marketplace.RavenDb
4 | {
5 | public delegate IAsyncDocumentSession GetSession();
6 | }
--------------------------------------------------------------------------------
/Chapter13/src/Marketplace.EventStore/EventMetadata.cs:
--------------------------------------------------------------------------------
1 | namespace Marketplace.EventStore
2 | {
3 | public class EventMetadata
4 | {
5 | public string ClrType { get; set; }
6 | }
7 | }
--------------------------------------------------------------------------------
/Marketplace.Framework/Marketplace.Framework.csproj:
--------------------------------------------------------------------------------
1 |