Category: Code
-
Create C#.NET Core Lambda function for Amazon Cloud AWS
Amazon now supports .NET Core in their AWS Cloud solutions. Together with the AWS Software Development Kit (AWS SDK) for .NET Core, it’s a breeze to create dedicated cloud micro-services. You can find the AWS SDK for .NET Core over here. To have a quick look at the SDK and what it can do this…
-
How to test a private method of a class?
Today I got a question from my collegue how to test a method that is marked as private on a class? My first reaction was ‘well just make it public’ but of course that would break the class encapsulation, and there are ways to actually test a private method without breaking this encapsulation. What you…