WPF open source project: AIStudio.Wpf.AClient

WPF open source project: AIStudio.Wpf.AClient

Let's not talk about the advantages of using Prism to make MVVM. It mainly uses container injection, messages and DI, which saves a lot of work than writing it yourself. There are many standard ways to use MVVM online, but there is no system-level framework. This framework has been built from login to specific business use, as well as automatic upgrades

最后更新 7/25/2021 12:06 PM
沙漠尽头的狼
预计阅读 4 分钟
分类
WPF
专题
WPF control library WPF MVVM Framework Prism Series WPF Open Source Project C#Open Source Project
标签
.NET C# ASP.NET Core WPF Prism

introduced

Wpf Client, AIStudio.Wpf.AClient

software architecture

This framework uses Prism to do MVVM. Let's not talk about the advantages. It mainly uses container injection, messages and DI, which saves a lot of work than writing it yourself. There are many standard ways to use MVVM online, but there is no system-level framework. This framework has been built from login to specific business use, as well as automatic upgrades. It is not as good as the God wrote it, but just serves as a catalyst.

The backend uses ASP.net core and uses the framework of Colder.Admin.AntdVue. I strongly recommend you to see it. I have added some functions to it.

Web client browsing address (account password: Admin, Admin):

http://121.36.12.76:5001/

Interface browsing address 121.36.12.76:5000/

Wpf client download can be run directly, and the default configuration file AIStudio.Wpf.Client.exe.Config

<appSettings>
    <add key="Title" value="AIStudio" />
    <add key="Language" value="中文" />
    <add key="FontSize" value="16" />
    <add key="FontFamily" value="宋体" />
    <add key="Accent" value="BlueGray" />
    <add key="Theme" value="BaseGray11" />
    <add key="NavigationLocation" value="Left" />
    <add key="NavigationAccent" value="Dark" />
    <add key="TitleAccent" value="Normal" />
    <add key="ToolBarLocation" value="Top" />
    <add key="Version" value="1.0.20201115-rc3" />
    <add key="ServerIP" value="http://121.36.12.76:5000" />
    <add key="UpdateAddress" value="http://121.36.12.76:5000/update" />
  </appSettings>

The ServerIP is the background interface address, and http://121.36.12.76:5000 can be used directly.

Account password: Admin, Admin. If you don't connect to the server, you only look at DemoPage, account password LocalUser, LocalUser.

If you do not connect to the server, you can also use SQLite local data, and the client can run independently. Account Password Admin, Admin

<add key="ServerIP" value=""/>
<add key="UpdateAddress" value="http://121.36.12.76:5000/Update/AutoUpdater.xml"/>
<add key="ConString" value="Data Source=Admin.db"/>
<add key="DatabaseType" value="SQLite"/>
<add key="DeleteMode" value="Logic"/>

Comment out the ServerIP, then use efcore to obtain data and change ConString and DatabaseType. In addition, the default database deletion mode is soft deletion.

some screenshots

Below is a partial screenshot of the client. The author is still adjusting the project, and the source code, UI aesthetics, etc. are still optimizing. Welcome to give the author suggestions (with full RBAC permissions):

** System Management **

  • login interface

登录界面

  • main window

主窗口

  • user management

用户管理

  • role management

角色管理

  • rights management

权限管理

** Message Center **

  • Message from the station

站内消息

** Featured Function: Process Management **

  • process management

流程管理

  • after process is initiated

发起流程

  • form management

表单管理

Technical exchange with author

Author WeChat: akwkevin

Author QQ: 80267720

QQ technical exchange group:51286643 (the open source code address of the server provided by Jinqun)

Personal blog: https://www.cnblogs.com/akwkevin/

Address of the warehouse of the project in the article: gitee.com/akwkevin/aistudio.- wpf.- aclient

You can pay attention to the author's gitee account, as well as other projects, such as: WPF Open Source Project: Process Sketchboard:

https://gitee.com/akwkevin/aistudio.-wpf.-diagram

This article ends with several screenshots of this project:

  • artboard editing

画板编辑

  • flowchart

流程图

  • logic diagram

逻辑图

Keep Exploring

延伸阅读

更多文章
同分类 / 同标签 1/14/2022

2022 Final Edition WPF Project Actual Combat Collection Released

This video collection consists of 58 episodes, including the basic parts of WPF (layout, style, resources, animation, template, MVVM), the concept of Prism (Region, Navigation, DialogService, Module..), MaterialDesign integration, ASP.NET Core WebApi part (Entityframework, release deployment), client release, deployment and other complete development process.

继续阅读