I'm new to AWS server less programming. I've created a sample app. Blog(sample available with Visual Studio) using [.Net Core 1.0], now I want to deploy it locally and test it. I've tried AWS SAM Local and LocalStack but I'm confused as there is no clear explanation or steps for .Net Core application.
Can anyone provide me clear steps to deploy and execute this application locally?
The serverless sample out of the box from Amazon doesn't come with simple "press F5" way to run the code locally.
The easiest way to test your code locally is to create the sample with Unit Tests. These unit tests include everything you need to initialise
Functions
class so that you can run it. You could move this code into a simple console app or create unit tests that cover all the scenarios you want to test locally.Here is the sample Unit Test from the project: