GithubHelp home page GithubHelp logo

i4prj4's Introduction

Hi there 👋

i4prj4's People

Contributors

agotado avatar benlarsendk avatar dentych avatar kasperck avatar martincarpentier avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

i4prj4's Issues

Wrong namespaces in SharedLib for "ProductCategory" command marshallers

Exceptions are thrown when we try to create Encode a CreateProductCategoryCmd with the Protocol in SharedLib. This is because the namespace is "SharedLib.Protocol.CmdMarshallers.ProductCategoryMarshallers" where the Encoder (and Decoder) method is searching for just "SharedLib.Protocol.CmdMarshallers"

Implement new commands

When new commands have arrived we need to check if our socketevents and modelhandlers are up to date.

Backend | Categories shared

Categories bliver delt vha. constructor injection i view - der skal implementeres en event aggregator i stedet for.

NotSupportedException upon receiving CatalogueDetailsCmd

Error message:
An unhandled exception of type 'System.NotSupportedException' occurred in PresentationFramework.dll

Additional information: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.

Specifically it fails here: https://github.com/dentych/I4PRJ4/blob/master/Backend/Backend/Models/Datamodels/BackendProductCategoryList.cs#L65
The event handlers are called from the async socketconnection thread, which then tries to update the ObservableCollection. It is denied that change with a NotSupportedException. This is because the ObservableCollection object is created and owned by another thread (main thread)..... This kind of means we have to run everything through Application.Current.Dispatcher.Invoke or something of the kind.....

FUCKING THREADS.

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.