Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:20

    jeremydmiller on netcoreapp3

    moving functionality for serial… thinning down ModelReader more introducing new IReader/WriterS… and 22 more (compare)

  • 14:53
    jeremydmiller opened #550
  • 14:36
    jeremydmiller edited #549
  • 14:36
    jeremydmiller opened #549
  • 14:28
    jeremydmiller opened #548
  • 14:18
    jeremydmiller opened #547
  • 06:27
    adamralph commented #1366
  • 06:27
    adamralph commented #1366
  • 06:12
    mysticmind commented #1366
  • 06:12
    mysticmind commented #1366
  • 06:04
    mysticmind milestoned #1363
  • 06:04
    mysticmind milestoned #1363
  • 06:04
    mysticmind unlabeled #1363
  • 06:04
    mysticmind unlabeled #1363
  • 06:03
    mysticmind labeled #1363
  • 06:03
    mysticmind labeled #1363
  • 06:03
    mysticmind labeled #1363
  • 06:03
    mysticmind labeled #1363
  • 06:03
    mysticmind labeled #1366
  • 06:03
    mysticmind labeled #1366
Oskar Dudycz
@oskardudycz
I'm thinking about paid course also but I'm not sure if .NET people will be interested enough with Event Sourcing. But for sure those samples and materials that are on this repo will stay free forever, and I'd like to continue adding some work there
Yes, exactly
I think that this should help to spread the Marten usage
that's also one of my main goals behind that :)
Babu Annamalai
@mysticmind
Give it a shot on the paid course, if people feel the content worth will definitely pay for it
Oskar Dudycz
@oskardudycz
I hope so, but we'll see how it goes :)
Babu Annamalai
@mysticmind
good luck, you will do well :-)
Oskar Dudycz
@oskardudycz
thank you! It's quite some work, that's also the reason why I wasn't so active in coding work on Marten, although as we agreed it should be also beneficial for Marten :)
Mark Warpool
@CodingGorilla
Thanks for the updated package guys. :+1:
Oskar Dudycz
@oskardudycz
You’re welcome :) I hope that this will be last need for a hot fix in this area :p
Mark Warpool
@CodingGorilla
you and me both! :laughing:
Oskar Dudycz
@oskardudycz
:laughing:
Jeremy D. Miller
@jeremydmiller
@oskardudycz Guessing you already know about this one: https://sessionize.com/dddeu20/
Oskar Dudycz
@oskardudycz
yup, I already bought the early birds tickets :)
also for event sourcing day
Jeremy D. Miller
@jeremydmiller
Nice.
Oskar Dudycz
@oskardudycz
Are you also planning to go there? :)
Jeremy D. Miller
@jeremydmiller
Not in the cards for me. I can pretty well only get away with conferences where I’m a speaker and get T&E
Oskar Dudycz
@oskardudycz
Base on the videos that I saw on their channel https://www.youtube.com/channel/UC3PGn-hQdbtRiqxZK9XBGqQ/videos it seems to be decent conference
Understood, it's not cheap, especially if you're going from US
I hope that I'll get some new ideas and knowledge that we could use in Marten :)
Jeremy D. Miller
@jeremydmiller
:thumbsup:
Oskar Dudycz
@oskardudycz
we'll see
Right now I'm working on my workshops about Event Sourcing, then I'd like to finally tackle v4 issues
Joona-Pekka Kokko
@jokokko
@oskardudycz you aren't by any chance coming to https://www.buildstuff.lt/ ?
Oskar Dudycz
@oskardudycz
unfortunately I'm not going, although I have Vilnius on my list of place to visit ;)
Joona-Pekka Kokko
@jokokko
it's a nice city. At least during summer. Though I'm not from there (or Lithuania). And Build Stuff is a nice conference. Established by Greg Young I believe
been to one of his trainings in Vilnius
Oskar Dudycz
@oskardudycz
oh nice, I've been talking with him last week, he said that he was living there for 10 years
I saw recording of one of the meetings in Vilnius
I heard only good words about the Build Stuff Vilnius, maybe next year :)
Joona-Pekka Kokko
@jokokko
:thumbsup: not pricey for attendees. As far as conferences go
Oskar Dudycz
@oskardudycz
are you going this year?
Joona-Pekka Kokko
@jokokko
yes, that is the plan
Oskar Dudycz
@oskardudycz
The line-up looks impressive :)
a hint - Mark Rendle is doing good show :)
Jeremy D. Miller
@jeremydmiller
Mark’s got tons of personality
Oskar Dudycz
@oskardudycz
I confirm :)
ddivita
@ddivita
When using Dependency Injection to instantiate a document session, what is the best way to inject a tenant id? Is it better to set the tenant after the session has been constructed? Is that possible by setting the session.Tenantproperty? I am using .Net Core 3 preview 7
Oskar Dudycz
@oskardudycz
@ddivita currently you need to pass it to the OpenSession initialization
we're considering making possibility to have it per operation or document, but at this moment you'd need to include it in the document session initialization in DI
services.Add(sp =>
            {
                var store = sp.GetService<DocumentStore>();
                var tenant = sp.GetService<ITenantProvider>();
                return store.OpenSession(tenant.TenantId);
            }, serviceLifetime);
something like that
ddivita
@ddivita
@oskardudycz , I figured as much. So with that said, what is the best approach to inject into a session. Considering the sessions are transient or scoped in the DI, we can pump in the tenant ID. I suppose I can pull the tenant ID off the logged in user or use a service to get the tenant
Oskar Dudycz
@oskardudycz
where ITenantProvider is your custom interface or other class that will return the tenant (eg. from http request)
ddivita
@ddivita
@oskardudycz , yep. That is what I was thinking!!!
Oskar Dudycz
@oskardudycz
:+1:
I personally was using that pattern in my application
ddivita
@ddivita
Awesome!! Good to know
Oskar Dudycz
@oskardudycz
:)