masstransit / sample-shoppingweb Goto Github PK
View Code? Open in Web Editor NEWA web site with a simulated cart, using a saga to track cart expiration via Quartz
License: Apache License 2.0
A web site with a simulated cart, using a saga to track cart expiration via Quartz
License: Apache License 2.0
Hello, can you please expand this sample to do Invoice approvals.
Using the v3 recent release, I need help in
Update the sample solution for Mass Transit 4
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?
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.
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.
Can there be any relationship mapping such as "one to one" or "one to many" inside State Machine Instance? if it can handle relationship can you please show a sample code for one to one relationship in there?
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.Event
1<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.StateMachineSagaMessageFilter
2.Send(SagaConsumeContext2 context, IPipe
1 next)
at MassTransit.Pipeline.Pipes.LastPipe1.Send(T context) at MassTransit.EntityFrameworkIntegration.Saga.EntityFrameworkSagaRepository
1.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.DefaultSagaFactory
2.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.EntityFrameworkSagaRepository
1.d__8`1.MoveNext()
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.