当前位置:网站首页>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
边栏推荐
- 三级菜单数据实现,实现嵌套三级菜单数据
- Design, configuration and points for attention of network unicast (one server, multiple clients) simulation using OPNET
- [reading of the paper] a multi branch hybrid transformer network for channel terminal cell segmentation
- Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
- Différenciation et introduction des services groupés, distribués et microservices
- [论文阅读] Semi-supervised Left Atrium Segmentation with Mutual Consistency Training
- Digital innovation driven guide
- Zero sequence aperture of leakage relay jolx-gs62 Φ one hundred
- Design, configuration and points for attention of network arbitrary source multicast (ASM) simulation using OPNET
- JVM (19) -- bytecode and class loading (4) -- talk about class loader again
猜你喜欢

论文阅读【MM21 Pre-training for Video Understanding Challenge:Video Captioning with Pretraining Techniqu】

三级菜单数据实现,实现嵌套三级菜单数据

English语法_名词 - 所有格

Design, configuration and points for attention of network unicast (one server, multiple clients) simulation using OPNET

JD commodity details page API interface, JD commodity sales API interface, JD commodity list API interface, JD app details API interface, JD details API interface, JD SKU information interface
![[JS component] custom select](/img/9d/f7f15ec21763c40b9bb6a053d90ee4.jpg)
[JS component] custom select

Lombok plug-in
![Paper reading [semantic tag enlarged xlnv model for video captioning]](/img/e3/633f6aac7a51ad7b3dc0e45dbe1f60.png)
Paper reading [semantic tag enlarged xlnv model for video captioning]

LabVIEW is opening a new reference, indicating that the memory is full

JSP setting header information export to excel
随机推荐
什么是依赖注入(DI)
bat 批示处理详解
English grammar_ Noun possessive
架构设计的五个核心要素
Talk about mvcc multi version concurrency controller?
消息队列:如何确保消息不会丢失
[论文阅读] Semi-supervised Left Atrium Segmentation with Mutual Consistency Training
Educational Codeforces Round 22 B. The Golden Age
淘寶商品詳情頁API接口、淘寶商品列錶API接口,淘寶商品銷量API接口,淘寶APP詳情API接口,淘寶詳情API接口
Dj-zbs2 leakage relay
5阶多项式轨迹
Digital innovation driven guide
消息队列:重复消息如何处理?
TCC of distributed transaction solutions
5. Data access - entityframework integration
Web Authentication API兼容版本信息
Message queue: how to handle repeated messages?
Summary of the mean value theorem of higher numbers
AI人脸编辑让Lena微笑
拼多多商品详情接口、拼多多商品基本信息、拼多多商品属性接口