Skip to content
Permalink
Browse files

updated readme

  • Loading branch information...
garywoodfine committed Apr 24, 2019
1 parent 74c6e15 commit 3b0716343c6f3ba8efd5965f93f01398d90e3dda
Showing with 4 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 src/LambdaConfiguration.cs
  3. +2 −0 src/StartUp.cs
@@ -1,6 +1,6 @@
# Hello Configuration

Source Code to support the [Simple Dependency Injection In AWS Lambda](https://garywoodfine.com/dependency-injection-in-aws-lambda/) and [Serverless AWS Lambda Dependency Injection]() blog posts
Source Code to support the [Simple Dependency Injection In AWS Lambda](https://garywoodfine.com/dependency-injection-in-aws-lambda/) and [Serverless AWS Lambda Dependency Injection](https://garywoodfine.com/serverless-aws-lambda-dependency-injection/) blog posts

## Donate

@@ -3,7 +3,7 @@

namespace Threenine.ConfigTest
{
public class LambdaConfiguration : ILambdaConfiguration
public class LambdaConfiguration : ILambdaConfiguration
{
public static IConfigurationRoot Configuration => new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirectory())
@@ -14,7 +14,9 @@ private static IServiceCollection ConfigureServices(IConfigurationRoot root)
var services = new ServiceCollection();
services.Configure<Greeting>(options =>
root.GetSection("greeting").Bind(options));

services.AddTransient<ISpeakService, SpeakService>();

return services;

}

0 comments on commit 3b07163

Please sign in to comment.
You can’t perform that action at this time.