Code Monkey home page Code Monkey logo

simple-transaction's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-transaction's Issues

Upgrade to .NET Core 3

What about upgrading to latest .NET Core release?

I'm trying to start a new project, found this, and began to smile since is so well documented and feels so right. ๐Ÿฅ‡

Handling concurrency on a production server

Hello,
Thank you for this great example. I wanted to ask a question about concurrency, for what I have seen, you are using the optimistic concurrency. But on a production server, would this be suitable? Especially for an account that accepts thousands and maybe millions of transactions per day (a big store for example) a lot of transactions would still fail after retrying.

My question to you is how would you handle concurrency on a production server ?

Thanks in advance

EDIT : Hello, I received your comment by email notification but I cannot see it here, I guess you deleted it. Thank you for you quick answer anyway <3 .
Playing around with the code, this version still doesn't handle if they are 2 concurrent withdrawal, you are more likely to do a dirty read on GetAccountSummary(), I wanna contribute to the project if it doesn't bother you.

As for the issue, my intent was to know if you would feel confident putting this same example on a highly solicited payment gateway. too many deposits on the same accounts would result in inconsistent data.

Thank you again for your time!

Gateway.WebApi launchUrl

launchSettings.json contains this:
"launchUrl": "api/values",

which resolves to no controller+action.

Identity.WebApi launchUrl

launchSettings.json contains this:
"launchUrl": "api/values",

which resolves to no controller+action.

help

i need your help in some folder tha i didint understand it

Transaction.WebApi Missing registration of HttpContextAccessor

Am having this exception when Try it out under swagger of GET account/balance:
System.InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Http.IHttpContextAccessor' while attempting to activate 'Transaction.WebApi.Services.IdentityService'.

Solution, add this, as it not registered by default anymore:
services.TryAddSingleton<IHttpContextAccessor, HttpContextAccessor>();

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.