当前位置:网站首页>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 ,CSDN I have registered my account for ten years , But start blogging , This month is the first time in my life , 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 !
边栏推荐
- Classic model - Nin & googlenet
- 优化——多目标规划
- Uni app custom selection date 2 (September 16, 2021)
- Can string be changed?
- ASP. Net startup and running mechanism
- Asynctask multiple simultaneous use methods
- MySQL高级部分( 四: 锁机制、SQL优化 )
- MySQL advanced Chapter 1 (installing MySQL under Linux) [2]
- An easy-to-use tablayout
- Digital twin intelligent water service, breaking through the development dilemma of sponge City
猜你喜欢

栖霞消防开展在建工地消防安全培训

Evaluation - analytic hierarchy process

Xiaomi TV's web page and jewelry's web page

Analysis on the diversification of maker space mechanism construction

Non H5 end of uni app, regional setting of status bar on the top of mobile phone

解决uniapp插件robin-editor设置字体颜色和背景颜色报错的问题

Graphics card, GPU, CPU, CUDA, video memory, rtx/gtx and viewing mode

Qt 中 deleteLater 使用总结

评价——层次分析

TiFlash 函数下推必知必会丨十分钟成为 TiFlash Contributor
随机推荐
栖霞消防开展在建工地消防安全培训
[appium stepping pit] io appium. uiautomator2. common. exceptions. InvalidArgumentException: ‘capabilities‘ are mand
"Renegotiation" agreement
上传文件/文本/图片,盒子阴影
【哈希表】很简单的拉链法哈希结构,以至于效果太差,冲突太多,链表太长
usb peripheral 驱动 - 枚举
[hash table] improved, zipper hash structure - directly use two indexes to search, instead of hashing and% every time
After Ali failed to start his job in the interview, he was roast by the interviewer in the circle of friends (plug)
Uni app custom selection date 2 (September 16, 2021)
Asynctask multiple simultaneous use methods
小米电视的网页和珠宝的网页
Uni app custom selection date 1 (September 16, 2021)
Is the waiting insurance record a waiting insurance evaluation? What is the relationship between the two?
navicat16无线试用
Upload file / text / picture, box shadow
USB peripheral driver - Enumeration
Popupwindow utility class
Dynamic segment tree leetcode seven hundred and fifteen
进度条
Nepal graph learning Chapter 3_ Multithreading completes 6000w+ relational data migration