Skip to content

Instantly share code, notes, and snippets.


Adrian Bontea adrianbontea

View GitHub Profile
View StubAccountRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using RoboBank.Account.Application.Ports;
using System.Text;
namespace RoboBank.Account.Application.Adapters.NetStandard
public class StubAccountRepository : IAccountRepository
View Program.cs
using ClassLibraryNetStandard;
using Newtonsoft.Json;
using System;
namespace ConsoleAppNetFramework
class Program
static void Main(string[] args)
View ConsoleAppNetCore.csproj
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Compile Include="**\*.cs" />
<EmbeddedResource Include="**\*.resx" />
View Test.cs
namespace ClassLibraryNetStandard
public class Test
public string SomeProperty { get; set; }
public string SomeOtherProperty { get; set; }