Giter Site home page Giter Site logo

blazing.mvvm's People

Contributors

bbunderson avatar gragra33 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

Watchers

 avatar  avatar  avatar  avatar  avatar

blazing.mvvm's Issues

Validation

Hi, great job!

Because The ViewModelBase is an ObservableObject and not a ValidationObject I can't validate my ViewModel properties.

_navigationManager.LocationChanged Not found in MainLayoutViewModel

I Try to Use the MainLayoutViewModel in my Application.
Your Sample works well.
But my App did not work. So I try to Code your MainLayoutViewModel in my App.
I Used the actual NUGedtPackage Blazing.MVVM and have no Package
Microsoft.ASPNetCore.WebUtilities becaus it is depracted.
In Your Code there are
_navigationManager.LocationChanged += OnLocationChanged;
the Event .LocationChanged is not found by my APP.
When I delete the LocationChanged zhen my APP has Errors.
Do you have any Idea ?

Blazor Server - Error on Service Initialization

We are trying to use Blazing.Mvvm on Blazor Server. When registering the service with builder.Services.AddMvvmNavigation(); it throws an exception during build because the AspNetCore.Components.NavigationManager is registered as Scoped instead of a Singleton. Of course we could manually register the MvvmNavigation as Scoped, but what impact would this have? Not sure if your MvvmNavigationManager would operate properly if Scoped.

Getting the following error:

System.AggregateException: 'Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Blazing.Mvvm.Components.IMvvmNavigationManager Lifetime: Singleton ImplementationType: Blazing.Mvvm.Components.MvvmNavigationManager': Cannot consume scoped service 'Microsoft.AspNetCore.Components.NavigationManager' from singleton 'Blazing.Mvvm.Components.IMvvmNavigationManager'.)'

Information on how the Default Services are registered:
https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/dependency-injection?view=aspnetcore-7.0

Collaboration on Project

Hey, great project you have here. I was looking at doing something similar with source generators and the community toolkit but I see you have already started the work here.

If you are open to collaboration, it would be great to add to and grow this project.

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.