(5/30) Everyone learn Blazor together: Dependency Injection
The question arises, why does Blazor know that WeatherForecastService can be called here?
The question arises, why does Blazor know that WeatherForecastService can be called here?
Since I originally used ASP.NET Core API + Blazor Server, I will use Blazor Server to demonstrate it. I will make up for my experience after studying Blazor WebAssembly in the future.
The author's understanding of the website is the front-end, back-end and database. Users press a button or form request on the browser page to trigger front-end events and package the collected conditions and send them to the back-end
The author has not been in contact with the software industry for a long time and has been exposed to three architectures
If you've been following the latest trends in the. NET world, you've heard of Blazor by now.
Mobile and desktop: Native. NET MAUI applications for iOS, Android, macOS and Windows
You can compile the project. Except for the animation functions extracted from Silverlight and the ColorEditorExt.cs Color Panel View Designer extension modified from online examples, the entire control was written on the basis of native controls by myself and did not use any third-party libraries, so use it with confidence. There is no infringement of the copyright of others.
C#10 has been released together with. NET 6 and VS2022. This article follows the release order of. NET and sorts out some interesting syntax features in C#based on Microsoft's official documents.
It's very simple. It's because it's easy to use, and its performance and syntax expressiveness/development speed are better than java/go. Why not use it?
Entities in Entity Framework Core do not directly support enumeration type operations, which caused us a lot of trouble during the development process