This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace AwsDotnetCsharp.Controllers | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| using Amazon.DynamoDBv2; | |
| using Amazon.DynamoDBv2.Model; | |
| using Amazon.SQS; | |
| using Amazon.SQS.Model; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| service: comments-api | |
| provider: | |
| name: aws | |
| runtime: dotnetcore2.1 | |
| region: eu-central-1 | |
| profile: serverlessuser | |
| apiKeys: | |
| - CommentsAPIKey | |
| environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [assembly: Amazon.Lambda.Core.LambdaSerializer(typeof(Amazon.Lambda.Serialization.Json.JsonSerializer))] | |
| namespace AwsDotnetCsharp | |
| { | |
| using Amazon.Lambda.Core; | |
| using Amazon.Lambda.SQSEvents; | |
| using System; | |
| using Amazon.Comprehend; | |
| using Amazon.Comprehend.Model; | |
| using System.Net; | |
| using System.Linq; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace AwsDotnetCsharp.Models | |
| { | |
| public class CommentsQueueRequest | |
| { | |
| public string Id { get; set; } | |
| public string Comment { get; set; } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| service: comments-consumer | |
| provider: | |
| name: aws | |
| runtime: dotnetcore2.1 | |
| region: eu-central-1 | |
| profile: serverlessuser | |
| environment: | |
| DBTableName: !ImportValue CommentsDynamoDBTableName | |
| iamRoleStatements: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace CloudRunSampleAPI | |
| { | |
| using Microsoft.AspNetCore; | |
| using Microsoft.AspNetCore.Hosting; | |
| using System; | |
| public class Program | |
| { | |
| public static void Main(string[] args) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "MeetupId": "6fa3ec35-4615-43a3-b7ad-a33019172cb1", | |
| "OrganizerId": "ac10b1aa-6f10-4c54-a1b6-f8fd9f84cbd7", | |
| "Subject": "Event Sourcing Neydi?", | |
| "Description": "ES+CQRS öğreniyoruz.", | |
| "When": "05.01.2020 17.00", | |
| "Address": "Bellevue Residences, Levent Mahallesi, Aydın Sokak No:7, Levent 34340 İstanbul, Türkiye", | |
| "StoppedDate": "05.01.2020 16.08", | |
| "CompletedDate": "05.01.2020 19.00", | |
| "Participants": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Couchbase": { | |
| "Username": "admin", | |
| "Password": "123456", | |
| "ConnectionString": "couchbase://localhost" | |
| }, | |
| "Logging": { | |
| "LogLevel": { | |
| "Default": "Information", | |
| "Microsoft": "Warning", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Couchbase.GeoSearchApp | |
| { | |
| using Couchbase.Extensions.DependencyInjection; | |
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.Extensions.Configuration; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Hosting; | |
| public class Startup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Couchbase.GeoSearchApp | |
| { | |
| using System; | |
| public class EventDocument | |
| { | |
| public string Subject { get; set; } | |
| public DateTimeOffset Date { get; set; } | |
| public string Description { get; set; } | |
| public string Address { get; set; } |