Git Product home page Git Product logo

eshoponuwp's People

Contributors

alvaromah avatar rido-min avatar ridomin 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  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  avatar  avatar

eshoponuwp's Issues

OutOfMemory exception in CatalogItem control

When navigation from Main Catalog to an item detail and back to Main Catalog again for several times, a System.OutOfMemoryException is risen in OnLoad() control event.

Steps to repro:

  1. Execute the App and go to Main Catalog.
  2. Press an item to see it details.
  3. Go back to Main Catalog.
  4. Repeat steps 2 and 3 several times.

An exception of type System.OutOfMemoryException: 'Insufficient memory to continue the execution of the program.' is risen and the App exits unexpectedly.

[FEEBACK] Possible improvements

Hi everyone,

after I have talked to Cesar De la Torre on the .NET Blog he suggested that I should open a new issue here.

The .NET Blog post:
https://blogs.msdn.microsoft.com/dotnet/2017/11/01/modernize-existing-net-apps-with-windows-containers-and-azure/#comments

I like the project as it helps to get started building enterpries applications with microsofts UWP.

Following areas could be improved in my opninion:

  1. Make the ViewModels portable
    Right now the ViewModel classes depend on the UWP UI stack.
    e.g. ShellViewModel is referencing Windows.UI namespaces.
    Therefore VM’s are not portable to use them with other UI technologies.

I suggest to move ViewModels into a separate .NET Standard 2.0 project and abstract the UI dependencies away.
In general I personally try to put most of my code into .NET Standard projects as long as there is no real need for a platform specific dependency.

  1. Use Dependency Injection instead of Service Location
    In my opinion Dependency Injection is a cleaner way of resolving dependencies as a class must tell the consumer on which other classes it has a dependency on and the consumer must provide them in one way or another.
    The class does not have to resolve it's dependencies by itself.
    This makes passing mock implementations in unit tests easy.

With a Service Locator on the other side, the class has to resolve it's dependencies by itself (using the locator)

  1. Show us how to extend the application (Modules / Extensions ...)
    In classic .NET applications we can easily extend our applications as we have full access to Reflection API's.
    As far as I know Assembly.Load( ) is not available for UWP applications.

https://docs.microsoft.com/en-us/windows/uwp/launch-resume/extend-your-app-with-services-extensions-packages
In-proc code plugins are only supported in C++ as it seems.
Will such scenarios be possible with c# in a future UWP release?

I think a sample on how to extend a UWP app would be great for this sample app.

Best regards

SariDev

Project Update! Guide needed

Hello there, i tried to update the project to the last MvvMLight framework and WTS(windows template studio), everything worked but i got Page not found:ViewModels.ShellViewModel. Did you forget to call NavigationService.Configure?... after i signed in.

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.