Skip to content

Instantly share code, notes, and snippets.

View Danielovich's full-sized avatar

Daniel Frost Danielovich

View GitHub Profile

1 + 1 + N rule set of software development.

This is a rule set which can be applied to relative compleex programming tasks. The rule set's purpose is to lead to a better understanding, knowledge and implementation.

The rule set cannot be applied as single developer, at least four people must be involved.

Why is this important ?

No single developer should ever be tasked by herself to implement business/technical critical features.

@Danielovich
Danielovich / returnxmldotnetcorewebapi
Created March 15, 2019 07:42
return xml from dotnet core web api
Dotnet Core 2.2
API Controlller:
namespace MyNamespace
{
[ApiVersion("1.0")]
[ApiController]
[Route("api/v{version:apiVersion}/datapush")]
public class DataPushController : ControllerBase
@Danielovich
Danielovich / microservice-password-reset-flow.md
Last active December 17, 2018 14:17
A microservice challenge

Given a user who lost his password from the system and would like to reset it.

Build a set of services with your best microservice-architeture mindset, which solves of the following tasks in a Reset Password flow:

  1. Check whether the user email is valid valid ?
  2. Update the actual password for the user
  3. Update the password history of the user and when the user was last updated
  4. Send out an email to the user, informing that his password has been reset.