Giter Club home page Giter Club logo

microsoft.extensions.hosting.wpf's People

Contributors

scarletkuro avatar squallatf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

microsoft.extensions.hosting.wpf's Issues

Documentation

Current documentation is clumsy, I'm trying to move the documentation to Wiki page and make it more logical, but I'm really not good at writing documentation, so if anyway will be interested to help, it will be really welcome.
Also, kind of struggling to cover all the functionality and exceptions via the documentation.
P.S. As alternative to Wiki, the readthedocs.org or something like that could suit too.

List of tasks for 3.0.0 version.

We need some improvement to have less "leaky" public abstractions, and reduce the amount of .Something<App>() extensions where it's not needed since it's getting too infectious.
There is also need of some CI/DI.

List of improvements:

  • Add Nuget Source Link support.
  • Make WpfContext<TApplication> internal and introduce instead IWpfContext<TApplication> โ†’ non-genric IWpfContext.
  • Make WpfThread<TApplication> internal and introduce instead IWpfThread<TApplication> โ†’ non-genric IWpfThread.
  • Introduce AddThreadSwitching against AddThreadSwitching<TApplication> in Microsoft.Extensions.Hosting.Wpf.Threading with the help of the new abstractions.
  • The UseWpfLifetime<TApplication> will be also replaced to just UseWpfLifetime.
  • Add IWpfComponent to be able to hookup new components at wpf thread start, not only tray icon.
  • Move ITrayIcon to separate package Microsoft.Extensions.Hosting.Wpf.TrayIcon.
  • Add alternative to UseWpfViewModelLocator and IViewModelLocatorInitialization. The sample HostingReactiveUISimpleInjectorFlowingScope shows that there is alternative to the Locator to inject viewmodels to view, but the IViewModelLocatorInitialization.Initialize was used in sample in order to bootstrap ReactiveUI but doesn't set the locator as it says in guide. This can overall confuse the developer.
  • Remove IViewModelContainer. A redundant interface which is not really needed to use 3rd party containers. It's adding confusion an can be dangerous if misused.
  • Remove new constraint from TApplication in a classes / methods.

[Change-request] Support .Net Framework throught .NET Standard 2.0

Pull Request #9 added support for .NET Framework 4.6.2 and .NET Framework 4.8 by adding net4.6.2;net4.8 as TargetFrameworks

Instead, we can use netstandard2.0 to support those, just like CommunityToolkit.Mvvm (as example) does.

As for now, I will leave it as is. But when .NET 8 will release then I'm going to change this.

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.