In this post I look at the problems you can hit with strongly-typed settings when you inject Scoped services into OptionsBuilder, and how to avoid them…
A Job Object allows groups of processes to be managed as a unit. This is useful for managing the lifetime of a group of processes, for example, when you want to terminate a group of processes when one of them terminates. It is also useful for managing the resources consumed by a group of processes,
I recently talked about the beta release of the RavenDB PHP client a few months ago. I’m now really pleased to announce that we have just released the official RavenDB PHP client.
Here is what this looks like:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
use RavenDB\Documents\DocumentStore;
use YourClass\Company;
$store = new DocumentStore(["http://localhost:8080" ], "Northwind")
$store->initialize();
{ // save a new document
$session = $store->openSession();
$entity = new Company("My Company Name");
$session->store($entity);
$session->saveChanges();
}
{ // query on the data
$session = $store->openSession();
$companies = $session->query(Company::class)
->whereGreaterThan("numberOfEmployees", 12)
->toList();
}
view raw
sample.php
hosted with ❤ by GitHub
ASP.NET 7.0 included support for Minimal API endpoint filters. This post looks at how you can use this feature to validate requests using Fluent Validation.
This post contains a list of misconceptions about date and time. The explanations are not exhaustive, sometimes it's just counter-examples.#Everybody uses the same calendarNot all countries have adopted the Gregorian calendar at the same time. France, Spain, Italy and a few other countries adopted
Here are some tips and tools to help you debug your .NET applications. The goal is not to be exhaustive, but to give you some ideas on how to debug your applications. Table Of ContentsRandom tipsIs the code executed?Starting the debugger from the codeDebugging more than one process at a timeObservi
We have just released a new stable release of the RavenDB Python client API. This puts the Python client API for RavenDB on the same level as our other clients, including support for subscriptions, cluster wide transactions, compare exchange, conditional loading, and much more.
We also improved the ergonomics of the API and integration with the IDE.
Here is an example of writing a non-trivial query using the API, tell us what you think and what you are doing with RavenDB & Python.