当前位置:网站首页>2020 summary: industrial software development under Internet thinking
2020 summary: industrial software development under Internet thinking
2022-06-26 03:44:00 【yuyue5945】
2020 The year-end summary of the year came as scheduled as in previous years , This year is a special year , The outbreak , The people of the whole country unite as one , Support Wuhan , Control the epidemic situation in Wuhan perfectly , Then I went through a whole year of anti epidemic life , Witnessed the collapse of one store after another 、 Stand up , Companies filed for bankruptcy 、 Another company applied for registration . This year , Witness too much sorrow 、 Desolate also felt too much moved and happy ,2020 The year is destined to leave a thick and colorful year in history
2020 For me , A hardworking farmer , It's also a big year , Because of some of my experiences , Read some books , My perception has changed . When you write a summary , Leave a message for yourself
" I hope in ten years , I can still stick to the road of blogging
Get down to business , Sum up this year's technical learning content and personal experience
- from Framework Winfrom The transformation of .NET CORE5.0 WPF
- GUI The bottleneck problem of fat client is solved
- Technological breakthroughs
from Framework Winfrom The transformation of .NET CORE5.0 WPF
background
As a .NET Started as a desktop application programmer , All year round Winfrom Development , Everyday coding is , Control drag and drop 、CRUD And so on . Winform Has always been a Microsoft Stronghold , On the web side, it is Java Left behind more than a dozen blocks , But as the .Net Core Release ,GitHub Upper .NET CORE The open source , bring .NET CORE More powerful . stay .NET CORE5.0 Publishing , Added 3.x It hasn't been before Winfrom platform 、WPF platform , follow Microsoft In the footsteps of , Early in 2019Preview In the internal test , Transfer to .NET CORE5.0.
reason
from Winfrom turn WPF The reason for this is the improvement of the concept of digital visualization , Conventional Winfrom Although it's incredibly functional , But with the increasing demand for visual effects from users ,WPF The development under the platform has become an inevitable channel .
WPF Development according to MVVM frame , take UI Separate from business logic , Of course. Winfrom It is also suitable for , But the concept is not like WPF So strongly proposed in development
The process
1、 design code
Talking about the concept of digital Visualization , I have to mention the design specifications ,TOB Although all along , The aesthetic requirements are not too high , But with the increasing beautification of similar products , Driven by competition , beautiful , Has become an integral part of software
In the face of a wide range of design specifications on the market , Here I recommend a very useful design specification for my application MaterialDesign, The design specification provides a magnificent style , Very practical
GitHub Open source links
Transition effect

Detail animation

2、MVVM Frame selection
There are many kinds of open source on the market MVVM frame , But each framework has its own characteristics , List below , I use it after deep understanding and comparison MVVM Light Toolkit and Microsoft Prism Two kinds of ,MVVMLight It's a lightweight application , It's enough to deal with small application development ,Prism The predecessor of the framework is Composite Application Guidance for WPF and Silverlight, A lot of information on the Internet is complicated , Actually, I understand it , It's simple , Here is an article about Prism Introduction to , After reading it, you can get started .
MVVM The framework is listed below :
- MVVM Light Toolkit
- Microsoft Prism
- Calcium SDK
- Caliburn
- Caliburn
- Silverlight.FX
- nRoute:
With design specifications 、MVVM frame ,WPF Development in attributes Xaml On the basis of language , You can set sail .
GUI The bottleneck problem of fat client is solved
background
Applied in the industrial field GUI, from Winfrom go to WPF, Great success in visual effects , But only the improvement of visual effect , That's not enough . Those who are familiar with the industrial field know that ,OPC It is an automatic control protocol widely used in industry ,OPCServer There is a bottleneck in the number of subscription points , The increase in the number of client subscriptions will affect OPCServer Performance of , Too much subscription can lead to OPCServer Downtime . meanwhile , Fat customers GUI Applied in industry , Data refresh needs to be very high , It means that the frequency of database polling is high ( The problem of active database push , We can discuss it elsewhere )
Solution
Conventional CS There are few like BS That way, the front and back ends are clearly separated , Tradition CS in Client And Server Partial separation , Or the problem of less separation highlights sharpness here .
To solve this situation ,Server End separation , Use multiple clients to access one Server, This Server As OPCServer Proxy server for , Reduce OPCServer The number of subscription points becomes the core of the solution .
do Server, common Webserver、WCF It's optional , But now big Web The trend of , So that we can follow Restful API How to build the interface , More worthy of recommendation
Use .NET CORE5.0 establish Web API It's the only way . While using .Net Core do Server, The pressure of data can be balanced through the Internet commonly used load balancing 、 Microservices 、Grpc Communications 、MQ、Dock、K8s And other related technologies ,.NetCore Perfect support for these applications .
Technology is introduced
Use .Net Core establish Web API And commonly used CS There are many differences in creating projects , You can get started through the following two documents .NET CORE.
- ASP .NET CORE Create project process and initial template file Introduction
- ASP .NET CORE Introduction to startup mechanism and operation mechanism
If there is no .net The basics can be quickly learned here
After having the basic knowledge ,.NET CORE Development has to mention a framework ABP,ABP yes ASP .NET Boilerplate For short ,ABP Is an open source and document friendly application framework .ABP It's not just a framework , It also provides a practical Domain Driven Design (DDD) The architecture model of .
Load balancing 、Dock、K8s It's about deployment technology Microservices 、Grpc、MQ Coding implementation technology ,ABP Provides a framework , Development for these applications has greatly reduced time
Through the following ABP Basic knowledge of , Can take you fast ABP introduction
Technological breakthroughs
Before this article was published , Technology has never been used MaterialDesign + Prsim + ABP The development of the combination of the three frameworks , As the first person to taste crabs , I'm very happy to share this year's technology with you , I hope my attempt , Can help you !
边栏推荐
- 路由跳轉之點擊列錶的操作按鈕,跳轉至另一個菜單頁面並激活相應的菜單
- 计组笔记 数据表示与运算 校验码部分
- [hash table] improved, zipper hash structure - directly use two indexes to search, instead of hashing and% every time
- Classic model - Nin & googlenet
- Binary search
- Qt 中 deleteLater 使用总结
- 【好书集锦】从技术到产品
- Qixia fire department carries out fire safety training on construction site
- JS array array JSON de duplication
- Is Guoxin golden sun reliable? Is it safe to open a securities account?
猜你喜欢

Nebula Graph学习篇3_多线程完成6000w+关系数据迁移

Request object, send request

Uni app, the text implementation expands and retracts the full text

请求对象,发送请求

评价——层次分析

ASP. Net startup and running mechanism

Upload file / text / picture, box shadow

Uni app custom selection date 2 (September 16, 2021)

Click event

You cannot call Glide. get() in registerComponents(), use the provided Glide instance instead
随机推荐
mysql存储过程
云计算基础-0
Uni app swiper rotation chart (full screen / card)
Qt 中 deleteLater 使用总结
Is it safe for individuals to buy stocks with flush software? How to buy stocks
ASP. Net startup and running mechanism
Dynamic segment tree leetcode seven hundred and fifteen
An easy-to-use tablayout
MySQL stored procedure
Slide the menu of uni app custom components left and right and click switch to select and display in the middle
上传文件/文本/图片,盒子阴影
给网站添加“开放搜索描述“以适配浏览器的“站点搜索“
XGBoost, lightGBM, CatBoost——尝试站在巨人的肩膀上
虚拟化是什么意思?包含哪些技术?与私有云有什么区别?
Classic model – RESNET
点击事件
Evaluation - analytic hierarchy process
[paper notes] supersizing self supervision: learning to grasp from 50K tries and 700 robot hours
String到底能不能改变?
Is the waiting insurance record a waiting insurance evaluation? What is the relationship between the two?