Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Carlos Fernandez
    I wonder if you're setting a part size to be too big. and it's just waiting? Is the file really 6mb?
    Neil Gibbons
    Ooooo - good shout
    It does work though - this issue seems to be intermittant

    Docs say

    Gets or sets the part size of the upload in bytes. The uploaded file will be divided into parts the size specified and uploaded to Amazon S3 individually.

    Carlos Fernandez
    Yes, this is because the TransferUtility class can do that. But you don't need to set the part size, because I believe it will do the "split" by itself if it detects a big file coming in
    Neil Gibbons
    I assumed it would fallback gracefully if file not bigger than 6MB
    Carlos Fernandez
    My guess is, they give you the option to set part size, if you want to do the partitioning yourself
    I wouldn't bother with it at first. Get the upload working
    And cross that bridge when you get to it :D
    Neil Gibbons
    Ill give it a go
    Carlos Fernandez
    Tamás Balogh
    Hello guys,
    We found an issue which is related to sqsclient it can cause http socket exceptions.
    please contact me in private bc from company side I cannot share this in public.
    Henrique Dezani
    Hi. I am using services.AddCognitoIdentity() in my ASP.net Core Application (2.2), but I am working with Web API, and the token result is given back with Cookie. How I get JWT instead of Cookie? The libraries are: Amazon.AspNetCore.Identity.Cognito and Amazon.Extensions.CognitoAuthentication. Thanks
    Ryan Stradling
    It does not seem like the latest version of the SDK is available in Nuget. I need something >= https://github.com/aws/aws-sdk-net/releases/tag/3.3.580.0 because I need the sts identity. How is this normally updated and published? In nuget https://www.nuget.org/packages/AWSSDK.Core/ I only see version 3.3.103
    Rayhaan Quazi
    Hi everyone, I had a quick question about .NET Core Identity Provider for Amazon Cognito found here: https://github.com/aws/aws-aspnet-cognito-identity-provider
    I added it to my .net core api and it's successfully secured my api. How do I access a user's cognito username though?
    Hi all, Does anyone have any working example of Aws Personalize with .Net Sdk?
    Raymond Sanchez
    @rayhaanq you can use this site to decode your jwt token https://jwt.io/. Another option is to use the GetUser api call https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_GetUser.html
    Stuart Morris
    Hi all, I am trying to use AWS Cognito in an ASP.Net 4.5 application. All the documentation/videos I can find online all relate to .Net Core instead. I am able to get a user logged in, but I am not sure which of the Access/ID/Refresh tokens should be stored in FormsAuthentication. We are simply trying to use Cognito as the IDP behind a controller/path access within a Web App.
    Raymond Sanchez
    @StuartMorris0 You can use email or username to store in FormsAuthentication.
    Stuart Morris
    @agileraymond Right. I understand that but which token should be stored. Also when trying to store the access or Id token. The JWT is too large once encrypted to be stored in a cookie so adding it fails.
    Stuart Morris
    Is this gitter active?
    I'm trying to login via Cognito in a Xamarin Forms app. When I call user.StartsWithSrpAuthAsync, I get an exception of unable to verify secret hash for client. Is there a way to attach the secret hash to the CognitoUser class? I don't see a property for it. Does this nuget not support apps that have a secret?
    I figured it out. When you instantiate a new CognitoUser, you have to use a constructor that allows you to pass in the secret. This is the only way to set it because the backing property is private.
    anyone have a step by step instructions on how to set it up with Unity?
    Hey everyone. Does anyone know how I can get the proper JSON that is sent to MediaConvert from the CreateJobRequest model?
    When I serialize the CreateJobRequest model using JsonConvert it doesn't import into the UI.

    Instead of flat properties:
    "TimecodeSource": "Embedded"

    I'm seeing:
    "TimecodeSource": {
    "Value": "Embedded"

    Francisco Ramón Sánchez Favela

    Hi guys!

    I’m trying to write a unit test in c# and I need to mock the response of the methodCreateBatchWrite<T> using Moq

    But I can’t instantiate an object of the BatchWrite<T>object.

    I’m doing this:

        .Setup(m => m.CreateBatchWrite<SomeType>(It.IsAny<DynamoDBOperationConfig>()))

    Any idea of how can I mock this object.

    Thank you!