NV.Templates.Mobile
0.75.2
See the version list below for details.
dotnet new install NV.Templates.Mobile::0.75.2
Uno Platform Application Template
This is a mobile app project template using Uno Platform and the latest .NET practices.
- It uses the MVVM pattern.
- Code is organized by application layer.
- It comes with dependency injection.
- There are built-in logs and diagnostics tools.
- There is scaffolding code showing sample features. When you run as-is, you get a Dad Jokes application.
Requirements
Visual Studio 2022 with .Net 7 are required.
This template largely relies on Uno Platform, if you want to make sure you got everything installed correctly on your machine, we encourage you to use uno-check
, the documentation is available here
💡 It's also possible to use this template for a pure WinUI application, without any mobile aspect. All you would have to do is remove the
.Mobile
csproj from the generated solution.
Getting Started
We use dotnet
project templates to easily create new projects. It simplifies the project renaming and supports conditional inclusions.
Generate a new project
Install the template using this command.
donet new install NV.Templates.Mobile
To run the template and create a new project, run the following command in the folder that will contain the new project.
dotnet new nv-mobile -n MyProjectName
âš The use of periods (
.
) in the project name is not supported and may result in compilation issues later on.💡 If all your projects are regrouped in a folder like
C:\Repos
, you want to be in that folder. The command would generate all the project files underC:\Repos\MyProjectName
.The following options are available when running the command.
- To get help:
dotnet new nv-mobile -h
- To get help:
Next Steps
Open the solution file from the generated folder using Visual Studio.
It's located at
MyProjectName/src/MyProjectName.sln
.In Visual Studio, go to the VIEW menu and open the Task List to get hints on next steps.
This template comes with several pointers on what you're most likely to change next.
Documentation
This repository provides documentation on different topics under the doc folder.
- Architecture
- Dependency Injection
- Configuration
- HTTP
- Logging
- Diagnostics
- Platform specifics
- Serialization
- Startup
- Testing
- Environments
- Localization
- Validation
- Error handling
- Scheduling
- Reviews (app star ratings)
Debuging or Testing the Template
Here's how to install the template directly from the code, in the case that you want to modify it and would like to test your changes.
Installing the template
Uninstall the template from nuget.org (if applicable).
dotnet new uninstall NV.Templates.Mobile
Clone this repository on your machine.
Open a command prompt at the root of the cloned repository.
Run the following command.
dotnet new install ./
Read this for more information on custom templates.
Uninstalling the template
Open a command prompt at the root of the cloned repository.
Run the following command.
dotnet new uninstall ./
Changelog
Please consult the CHANGELOG for more information about the version history.
License
This project is licensed under the Apache 2.0 license. See the LICENSE for details.
Contributing
Please read CONTRIBUTING for details on the process for contributing to this project.
Be mindful of our Code of Conduct.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.5.4 | 98 | 10/9/2024 |
3.5.3 | 149 | 8/12/2024 |
3.5.2 | 110 | 7/11/2024 |
3.5.1 | 189 | 5/30/2024 |
3.5.0 | 444 | 5/16/2024 |
3.4.4 | 137 | 5/15/2024 |
3.4.3 | 144 | 5/13/2024 |
3.4.2 | 96 | 5/1/2024 |
3.4.1 | 119 | 4/25/2024 |
3.4.0 | 115 | 4/23/2024 |
3.3.0 | 121 | 4/18/2024 |
3.2.1 | 669 | 3/1/2024 |
3.2.0 | 692 | 2/9/2024 |
3.1.2 | 279 | 2/6/2024 |
3.1.1 | 547 | 1/23/2024 |
3.1.0 | 512 | 1/9/2024 |
3.0.1 | 195 | 1/12/2024 |
2.2.3 | 700 | 12/20/2023 |
2.2.2 | 362 | 12/12/2023 |
2.2.1 | 267 | 12/8/2023 |
2.2.0 | 244 | 12/5/2023 |
2.1.5 | 644 | 11/17/2023 |
2.1.4 | 172 | 11/16/2023 |
2.1.3 | 591 | 10/31/2023 |
2.1.2 | 222 | 10/30/2023 |
2.1.1 | 219 | 10/30/2023 |
2.1.0 | 933 | 10/3/2023 |
2.0.1 | 360 | 9/28/2023 |
2.0.0 | 265 | 9/28/2023 |
1.1.1 | 246 | 9/25/2023 |
1.1.0 | 202 | 9/19/2023 |
1.0.0 | 151 | 9/18/2023 |
0.76.8 | 231 | 9/11/2023 |
0.76.7 | 173 | 9/11/2023 |
0.76.6 | 200 | 9/11/2023 |
0.76.5 | 201 | 9/7/2023 |
0.76.4 | 195 | 9/6/2023 |
0.76.3 | 211 | 9/1/2023 |
0.76.2 | 263 | 8/28/2023 |
0.76.0 | 249 | 8/25/2023 |
0.75.2 | 237 | 8/24/2023 |
0.75.1 | 290 | 8/22/2023 |