Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Dennis van der Stelt dvdstelt

🏠
Working from home
Block or report user

Report or block dvdstelt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dvdstelt
dvdstelt / blaakselectie-betabit.md
Last active Oct 18, 2019
BlaakSelectie en Betabit presentaties informatie
View blaakselectie-betabit.md

Blaak Selectie & Betabit meetup

Dealing with eventual consistency

Autonomous Microservices don't share data. Period.

View ndccopenhagen.md

Microservices presentation

Autonomous Microservices don't share data. Period.

The demo used in the presentation can be found on GitHub in the SOA Done Right workshop repository. The code used was from exercise 02, the after folder.
To be able to compose a user interface, there are several frameworks available. To be able to see how to compose data together into a viewmodel that can be offered to ASP.NET MVC (WebAPI) see the demo in the same repository.


If you're interested in the free ADSD videos:

@dvdstelt
dvdstelt / services-dont-share-data.md
Last active Sep 23, 2018
Resources for the session `Autonomous Microservices don't share data. Period.`
View services-dont-share-data.md
View msmq-config.cs
var endpointConfiguration = new EndpointConfiguration("NServiceBus.Sample");
endpointConfiguration.UseTransport<MsmqTransport>()
.ConnectionString("deadLetter=false;journal=false");
// More information here : http://docs.particular.net/nservicebus/msmq/connection-strings
@dvdstelt
dvdstelt / EndpointConfig.cs
Last active May 26, 2016
Endpoint configuration for logging everything
View EndpointConfig.cs
using System;
using NServiceBus;
using NServiceBus.Hosting.Profiles;
using NServiceBus.Log4Net;
using NServiceBus.Logging;
public class EndpointConfig : IConfigureThisEndpoint
{
public EndpointConfig()
{
@dvdstelt
dvdstelt / PackageVersionsUsedInDeployments.cs
Created Apr 29, 2016
LINQPad script for retrieving package versions used in deployments
View PackageVersionsUsedInDeployments.cs
var endpoint = new OctopusServerEndpoint("http://54.169.230.0:8085/", "API-xxxxxxxxxxxxxxxxxxxxxxxxxx");
var client = new OctopusClient(endpoint);
var repo = new OctopusRepository(client);
var projects = repo.Projects.GetAll().Select (p => repo.Projects.Get(p.Id));
var allDeployments = projects.SelectMany(p=>repo.Deployments.FindMany(d=>d.ProjectId.Equals(p.Id)).Take(5)).GroupBy (p => p.ProjectId).SelectMany (p => p);
var nugetPackageIds = new List<string>(new string[]{"Webshop.Frontend", "Webshop.Backend", "Webshop.BusinessRules", "Webshop.Messages"});
foreach(var deployment in allDeployments)
You can’t perform that action at this time.