当前位置:网站首页>An example of multi module collaboration based on NCF
An example of multi module collaboration based on NCF
2022-07-07 05:41:00 【Microsoft technology stack】
brief introduction
The content brought to you this time is based on NCF Multi module collaboration instance . The main content of today's article is NCF Module Xncf Call each other 、 The ability to work together .
Here we can put Xncf Compared to LEGO toys , One Xncf Is the type of LEGO toys you have , For example, you have a set of LEGO toys to build a house , You also have a set of LEGO toys for building airplanes and cars . The collaboration of so many modules is like you build a part with the toys that build the house , If you want to build a garage in the house , Then put the built car in the car LEGO toy directly into the garage of the house , perfect match , No, I won't feel out of place , Because their specifications are consistent .
Step Abrupt
NCF summary
NCF setup script
NCF Docs
NCF Demonstration of running module
NCF Demonstration of interface operation
NCF Demonstration of cases
NCF Management of modules under different modules
NCF Increase of interfaces under different modules
NCF Mutual calls under different modules
MAUI A brief introduction
MAUI Operation and installation of
NCF combination MAUI Of Demo demonstration
real Shi
▌NCF summary
About NCF Overview , We have talked about many chapters , The detailed content , Please move : About NCF.
▌NCF setup script
About NCF setup script , Please move :NCF First run installation
▌NCF Docs
Official documents :Docs
▌NCF Demonstration of running module
After successful login , You will see that the module management under the extension module contains many new modules found .
Click Install module , It will show whether the module needs to be turned on , After opening , Then the functions of the module are all opened to the enabled state .
▌NCF Demonstration of interface operation
We use visual Swagger plug-in unit , take web api The interface of is displayed
After the interface call is completed , What is displayed is the data format returned by the interface , You can put it on the application you need according to your needs
▌NCF Demonstration of cases
This case is a small case we made , If interested in experience , You can search in wechat applet “ Inflamed circle ”( Tips : Need personal information to register , Please choose ), This small program is completely used NCF make .
▌NCF Management of modules under different modules
Today's focus is on , Several different modules are installed into the project at the same time
You can see the picture above , The installed module contains 2 A module , One is the platform management module, and the other is DotnetDay modular
From the code structure of the project, it looks like this
The actual situation shown by the backend is like this
Click add product , You can see the form information of the new product
There is an edit operation at the end of each line , Click to pop up the edited form page
▌NCF Increase of interfaces under different modules
This is open platform management v1 Version of the interface
This is a DotnetDay Modular v3 The interface of
▌NCF Mutual calls under different modules
Let's take the uploaded pictures of new products for example , We take DotnetDay The commodity management module under the module calls 【 Platform management 】 Next v1 The interface of , It can prove whether the mutual calls between modules are successful
The above figure shows the result of the call , We see that the upload calls v1 Interface upload , That means 【DotnetDay modular 】 And 【 Platform module 】 Call each other , And it worked .
in summary ,Xncf It gives developers great possibilities , So that you can code in your way , Write application , Write function .
▌MAUI A brief introduction
.NET Multi-platform application UI (.NET MAUI) It's a cross platform framework , For the use of C# and XAML Create native mobile and desktop apps .
Use .NET MAUI, Can be developed in a single shared code base Android、iOS、macOS and Windows Applications running on .
.NET MAUI It's open source. , yes Xamarin.Forms The evolution of , Expand from mobile solutions to desktop solutions ,UI Control is regenerated from scratch , In order to achieve performance and scalability . If used before Xamarin.Forms Generate a cross platform user interface , You will notice that .NET MAUI There are many similarities . But there are also some differences . Use .NET MAUI, You can use a single project to create multi platform applications , But if necessary , You can add platform specific source code and resources ..NET MAUI The main goal of is to realize as much application logic and... As possible in a single code base UI Layout .
▌MAUI Operation and installation of
install MAUI front , You have to install dotnet 7 preview, Otherwise, there is no way to run successfully
So here I'm going to choose Windows Operation platform
Of course , He also supports Android,IOS Simulator, etc
If you haven't Android Simulator , You can try to create a new one
Add the device specifications you want
After adding , Show
Run show
▌NCF combination MAUI Of Demo demonstration
We combine NCF And MAUI Go to show the list function of the product
MAUI There is a new button to enter the application , Click to enter the page of product list , When NCF When the data in commodity management changes
MAUI After entering the application , Will show the following , That's it MAUI And NCF The combination of
There are many more interesting functions , I hope to explore with you NCF The future of ...
Reference material
NCF Warehouse address :
https://github.com/NeuCharFramework/NCF
NCF Doc Warehouse address :
https://github.com/NeuCharFramework/NcfDocs
Microsoft's most valuable expert (MVP)
Microsoft's most valuable expert is a global award awarded by Microsoft to third-party technology professionals .29 Over the years , Technology community leaders around the world , Won this award for sharing expertise and experience in its online and offline technology communities .
MVP It's a strictly selected team of experts , They represent the most skilled and intelligent people , He is an expert who puts great enthusiasm into the community and is willing to help others .MVP Committed to speaking 、 Q & a forum 、 Create a website 、 Blogging 、 Share video 、 Open source project 、 Organize meetings to help others , And help Microsoft technology community users to use Microsoft technology .
For more details, please visit the official website :
https://mvp.microsoft.com/zh-cn
Focus on Microsoft China MSDN Learn more about
边栏推荐
- 删除文件时提示‘源文件名长度大于系统支持的长度’无法删除解决办法
- Paper reading [semantic tag enlarged xlnv model for video captioning]
- K6el-100 leakage relay
- 《2》 Label
- JVM (XX) -- performance monitoring and tuning (I) -- Overview
- MySQL数据库学习(7) -- pymysql简单介绍
- Two person game based on bevy game engine and FPGA
- Taobao store release API interface (New), Taobao oauth2.0 store commodity API interface, Taobao commodity release API interface, Taobao commodity launch API interface, a complete set of launch store i
- A cool "ghost" console tool
- [binary tree] binary tree path finding
猜你喜欢
架构设计的五个核心要素
Getting started with DES encryption
论文阅读【MM21 Pre-training for Video Understanding Challenge:Video Captioning with Pretraining Techniqu】
Design, configuration and points for attention of network unicast (one server, multiple clients) simulation using OPNET
Web Authentication API兼容版本信息
CentOS 7.9 installing Oracle 21C Adventures
论文阅读【Sensor-Augmented Egocentric-Video Captioning with Dynamic Modal Attention】
DOM node object + time node comprehensive case
What is message queuing?
[reading of the paper] a multi branch hybrid transformer network for channel terminal cell segmentation
随机推荐
集群、分布式、微服务的区别和介绍
K6el-100 leakage relay
[JS component] custom select
说一说MVCC多版本并发控制器?
不同网段之间实现GDB远程调试功能
Jhok-zbg2 leakage relay
爬虫练习题(三)
Dj-zbs2 leakage relay
【oracle】简单的日期时间的格式化与排序问题
Unity让摄像机一直跟随在玩家后上方
Codeforces Round #416 (Div. 2) D. Vladik and Favorite Game
C nullable type
The year of the tiger is coming. Come and make a wish. I heard that the wish will come true
MySQL数据库学习(8) -- mysql 内容补充
Cve-2021-3156 vulnerability recurrence notes
Zero sequence aperture of leakage relay jolx-gs62 Φ one hundred
How does mapbox switch markup languages?
2pc of distributed transaction solution
Message queuing: how to ensure that messages are not lost
Life experience of an update statement