Coder Social home page Coder Social logo

masstransit / sample-shoppingweb Goto Github PK

View Code? Open in Web Editor NEW
80.0 18.0 38.0 975 KB

A web site with a simulated cart, using a saga to track cart expiration via Quartz

License: Apache License 2.0

C# 29.77% CSS 0.16% ASP 0.03% HTML 1.54% JavaScript 68.50%

sample-shoppingweb's People

Contributors

phatboyg avatar

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

Watchers

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

sample-shoppingweb's Issues

Expand the sample for an invoce approval please

Hello, can you please expand this sample to do Invoice approvals.

Using the v3 recent release, I need help in

  1. Routing based on workflow (saga)
  2. Notification
  3. How to show the health of Sagas, and where they are
    Ultimately, pushing it to a mail box (I can do this)

Where are the Entity Framework assets?

Trying to get this sample running and it is lacking DbContext, Migrations, etc... the connectionstring is specifying a specific MDF file... are there missing files?

Make the sample(s) easier accessible

What does it actually take to get these samples running? What should be installed/running on my Dev box, etc.
Please write a short "guide" for this, and it will be a lot easier getting started.

Add unittests to the sample

It would be very useful to have unittests for the sample.

I for example used the shoppingcart saga example to create my own saga.
And like every good programmer ;) I would like to create unittests for it. But there are none in the example. Neither are there in the MassTransit sources or in the Automatonymous project.

And from the looks of it, unittesting a saga isn't very trivial, and I would need some harness to test it.

while consuming event msg on saga service, It throws an error of Method not found

state machine and scheduler starts fine also created db on sql server using EF.
Service also started normally without error.
But getting following runtime error while consuming msg from Web application.

Error :
Content-Type: application/vnd.masstransit+json
MT-Reason: fault
MT-Fault-Message: Method not found: 'Void Automatonymous.Contexts.StateMachineEventContext2..ctor(System.__Canon, Automatonymous.Event1<System.__Canon>, System.__Canon, System.Threading.CancellationToken)'.
MT-Fault-StackTrace: at Automatonymous.Pipeline.StateMachineSagaMessageFilter2.<Send>d__5.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at Automatonymous.Pipeline.StateMachineSagaMessageFilter2.Send(SagaConsumeContext2 context, IPipe1 next)
at MassTransit.Pipeline.Pipes.LastPipe1.Send(T context) at MassTransit.EntityFrameworkIntegration.Saga.EntityFrameworkSagaRepository1.MissingPipe1.<Send>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MassTransit.Saga.DefaultSagaFactory2.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MassTransit.Saga.Policies.NewOrExistingSagaPolicy2.<MassTransit-Saga-ISagaPolicy<TSaga\,TMessage>-Missing>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MassTransit.EntityFrameworkIntegration.Saga.EntityFrameworkSagaRepository1.d__8`1.MoveNext()

Missing license file

I noticed that this sample doesn't have a license file. It would be extremely useful if it was available under some permissive license, allowing to copy some chunks of the code.

to many reference can not use

i download this project.
to many refreence can not find in project.
sorry, my english is pool.as much as possible describe the problem.
why not package these dll in one folder?

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.