Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

I have two applications: one acts as the publisher and the other as the consumer. I’m using Wolverine with PostgreSQL as the message broker. Everything works correctly — the publisher sends messages, ...
0 votes
0 answers
65 views

I have an object like this (simplified) public class Root { public ReferenceNumber Ref { get; set; } } public readonly record struct ReferenceNumber { private readonly string _referenceNumber;...
Hakan Fıstık's user avatar
1 vote
0 answers
146 views

I am trying to use a MultiStreamProjection (Marten), but the results of my query is null. I must have a logic error somewhere, or I misunderstand how I am supposed to implement it. var connString = &...
0 votes
0 answers
61 views

So I have integration events from outside my system that I consume with competing consumers and store in event streams with MartenDB. I am trying to grab these events in batches and grab the current ...
neManiac's user avatar
  • 395
0 votes
0 answers
91 views

This seems like a simple problem but I have been having a challenge loading a document via the entity with related document with Marten documentDB on postgres for the past 2 days. I'm also using the ...
0 votes
1 answer
190 views

I'm using Marten with PostgreSQL in an ASP.NET Core application. I've configured Marten with AutoCreate.All to auto-create schemas, but tables aren't being created on first connection. Here's my ...
0 votes
1 answer
1k views

Recently moved to latest version of MartenDB 6.4.0 and have started seeing the below error when attempting to query the postgres database for a list of stream events Code await _querySession.Events....
blai's user avatar
  • 11
0 votes
1 answer
422 views

We are currently investigating how to implement Marten as an event store for our monolith application. For simplicity the scenario is scoped to this: One monolith application that: Stores events in ...
0 votes
1 answer
298 views

I am trying to activate snapShot and soft delete for an aggregate in marten db. and when I run the the project I get a run time error saying : 'AggregateProjection cannot support aggregates that are ...
Sara's user avatar
  • 3
0 votes
1 answer
277 views

I tried to add a new "custom" sequence to my Marten DB to get a user ID for new users (during registration). builder.Services.AddMarten(o => { o.Connection(builder.Configuration....
1 vote
0 answers
389 views

We're trying to configure Marten as our EventStore using a Postgres database in Azure. We've provisioned a Azure Database for PostgreSQL single server in Azure. Ideally we would like Marten to create ...
2 votes
2 answers
787 views

I am trying to mock this statement: IReadOnlyList<Student> students = await _session .Query<Student>() .Where(x => x.ClassId == classId) .ToListAsync(cancellationToken); My ...
Adil H. Raza's user avatar
  • 1,741
1 vote
1 answer
212 views

.NET7 After upgrading Marten from 4 to 5.11, this code leads to an exception: storeOptions.Schema.For<UserSession>() .Identity(x => x.Key) .Duplicate(x => x.SessionId ?? "&...
Jevon Kendon's user avatar
1 vote
1 answer
1k views

I'm looking for a way to test functionality written using Marten. Not just as a unit test, but where integration with asp.net API's and actual saving to the database is tested. Moreover, I want to ...
0 votes
1 answer
365 views

I'm implementing a saga for the first time and I have been testing it with an InMemory repository until today, when I switched to using Marten/Postgres. I found that expiry events that set the state ...

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /