Xamarin.Forms 5.0 project was released in real life!

Xamarin.Forms 5.0 project was released in real life!

This event is mainly a practical tutorial on the development of. NET Xamarin.Forms mobile projects

最后更新 4/13/2022 7:49 PM
痕迹g
预计阅读 8 分钟
分类
courses
标签
.NET C# NET courses

event introduction

This event is mainly a practical tutorial on the development of. NET Xamarin.Forms mobile projects. As in the past, the income from this event (other parts will be explained separately) will also be used for community public welfare activities, not limited to:

  • Donations from individuals/organizations for public welfare
  • Open source community individual/project donations
  • Internal voting activities

The cost of this event is:399 yuan. Compared with the WPF public welfare practical video organized last year, the content this time is not only aimed at Xamarin.Forms, but the overall content is almost developed for common commercial needs. Contains the following:

  • Backend (ASP.NET Core WebApi) is consistent with commercial version
  • Front-end (Angular) is consistent with commercial version
  • Mobile (Xamarin.Forms) refactoring is commercially available
  • Deployment documentation and project solution documentation
  • Xamarin.Forms project documentation

Contains complete back-end + front-end + mobile source code, and the mobile source code is completely reconfigured for commercial use.

Regarding the complete version of WPF based on ABP, development will be carried out after the release of Xamarin.Forms (in fact, the release part was developed at the end of last year), and will be released in the past two months, and then devoted to the development and tutorial production of the ABP framework to migrate MAUI.

For past organizational activities, see:

How to participate in activities?

Please join the QQ group to participate in the event:

  • QQ group:864083645
  • Group answer: Microsoft series of technical tutorials

** Special instructions:**

  1. For friends who have previously participated in the "2022 Final Version of the WPF Project Practical Practice" or "ABP Framework Activities", the paid 99 yuan can be deducted, which is not included in the scope of donations.
  2. Regarding the video part, it will be uploaded to the platform of Station B for viewing. If all source codes/documents are updated, a unified notification will be given within the group.
  3. The current version of the ABP commercial version is 11.1.0 (2022-02-28) and is supported until 2022-09-15. If any new version is released, you can contact me if necessary.

project introduction

The actual combat of this project is based on the secondary development of the commercial version of ABP. Without destroying the original infrastructure, the mobile Xamarin.Forms is completely reconstructed, various dependent components provided by ABP are removed, and mainstream open source frameworks are used. Redevelopment, including but not limited to: Pirms.Forms, Syncfusion, XamarinCommunity Toolkit, Xam.Plugin, ArcUserDialogs, and more.

The project is mainly divided into three parts:

  • Backend (ASP.NET Core WebApi) : Web services that provide business functions in AB
  • Front-end (Angular) : A Web page that integrates all features in ABP
  • Mobile (Xamarin.Forms) : A native APP that integrates all functions in ABP and runs on Android and iOS devices

The back-end and front-end parts will be introduced in the video and development documentation, so the following will mainly introduce the content of the Xamarin.Forms framework released this time.

The main functions include the following:

  • System login/logout/retrieve password/send email
  • user module
  • role module
  • organizational structure module
  • Multi-tenant module
  • language module
  • version management
  • dynamic attributes
  • audit log
  • system settings
  • personal information
  • theme settings

Regarding the Xamarin.Forms section, it has been refactored and developed and can be used commercially, but the UI components it relies on need to meet its use conditions (this will be explained in the development documentation).

Since the back-end Web services are secondary developed using the commercial version, they cannot be commercially deployed and are only suitable for learning purposes. If you need commercial development, please contact me separately.

The ABP backend and front-end sections have not been modified and are compatible with all of ABP's official documentation, including using features such as its code generator.

learned route

This project mainly teaches you how to use Xamarin.Forms for practical development through practical project methods. It includes common development requirements, as follows:

  • Authorize login and logout
  • Localization and multi-language switching
  • Support multiple system themes
  • Containers and dependency injection
  • MVVM framework usage
  • Entity mapping and verification
  • Common layouts and UI components
  • Publish and subscribe components
  • Web service
  • exception handling

Regarding the specific content, we will be introduced in detail in the development document, as well as the content of Xamarin.Forms itself. The document is roughly as follows:

Xamarin.Forms rendering

The following are mainly some screenshots of some actual running projects in this project (including iOS and Android):

Android subsystem

landing page

home

theme

system menu

user management

audit log

language management

New tenants

iOS devices

login

home

new user

language list

audit log

......

end

In the end, I will also give you an analysis of the reasons why Xamarin.Forms is rarely used in domestic. NET development and why I want to do similar things.

Why are Xamarin.Forms so few people use it?

The main reasons may be the following:

  • Video tutorials are scarce, and Microsoft's official documentation is well done but cannot form a complete learning system.
  • Domestic mainstream. NET developers basically do not use Xamarin.Forms, and most of them just follow the market and use some Web technologies to develop cross-platform. (This is related to most practitioners, BS industry workers)
  • A large number of. NET client developers still don't know that. NET can be developed for mobile
  • There are almost no domestic open source cases or related components, and most of them are still mainly from abroad.

So few people use it, why did you choose it?

In fact, since I came into contact with WPF, there have been almost no teaching resources on the Internet, and Microsoft's official documents have been perfunctory, let alone relevant learning cases. What is certain is that WPF's domestic market is much larger than Xamarin, so Xamarin doesn't have to imagine how miserable it will be.

Since 2019, I have successively released teaching videos related to WPF, Xamarin, and ASP.NET Core on the Internet. Overall, apart from the relatively large amount of ASP.NET Core related content on the Internet, it belongs to a state where resources are relatively saturated in the. NET field. So for WPF and Xamarin.Forms, at this stage, most domestic platforms have been searched, and my content has already appeared at the forefront.(Whether it is Station B, Douyin, Today's Headline or Watermelon Video).

This also just shows that there are few people doing this, so this year we will increase efforts in the client field (WPF/Xamarin/MAUI) and launch more practical project cases for everyone to learn and use.

Keep Exploring

延伸阅读

更多文章
同标签 2/7/2026

Summary of experience in using AOT

From the very beginning of project creation, you should develop a good habit of conducting AOT release testing in a timely manner whenever new features are added or newer syntax is used.

继续阅读