Replies: 2 comments
-
I wanted to add some context to my issue. I have a parent page that has a component that allow the user to edit a note for an object. The user can click on a link a modal will appear and they modify the note. The callback to the parent page method will perform the following line of code: await vm1.RefreshAsync(() =>xxxxInfoPortal.FetchAsync(_id)); to update the note. Its this process where I get the error. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found the issue . I had -> builder.Services.AddSingleton |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
Im working on Blazor pagination control and I started getting this error. I was wonder if anyone else got the error below and if you can share how you resolved the issue. I have been reading post and what I have read so far is to create a DBContext Factory to create new connections on each call. Before I get started on this option I wanted to see if there is another way.
Thank you.
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext.
Beta Was this translation helpful? Give feedback.
All reactions