Skip to content

Commit

Permalink
First implementation of Xamarin generation (jhipster#489)
Browse files Browse the repository at this point in the history
* Xamarin front

* Small fix

* iOS improvements & JS lint

* More JS lint

* Improvements to Xamarin app

* Entity generation & Fixing back

* Entity generation

* Back fix & Entity generation

* Entity

* Fix linter error

* Fixing code smell

* Update (#2)

* Bump ini from 1.3.5 to 1.3.8 (jhipster#492)

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](npm/ini@v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Change dto json/dto structure (jhipster#485)

* Change dto structure for use relation id rather than complete json structure

* [Blazor] Added dto support on Blazor (jhipster#493)

Added dto support on Blazor

* Added release-it package  (jhipster#494)

* Added release it package

* Fix npm spawn command on blazor client (jhipster#496)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nicolas63 <nicolas_raymond@orange.fr>

* Revert "Update (#2)"

This reverts commit 99bbf12.

* Remove test folder

* Fixing npm & Small improvements

* Handle http certificates

* Update doc

* Update doc

* More doc update

* Update

* Remove unused model

* Revert change

* Real revert change

* Fixing issues

* Move Xamarin to debug only

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nicolas63 <nicolas_raymond@orange.fr>
  • Loading branch information
3 people authored Feb 19, 2021
1 parent f7cf6f2 commit eb9b1d5
Show file tree
Hide file tree
Showing 117 changed files with 4,449 additions and 17 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ JHipster provides a blueprints system that allows to override the default behavi

JHipster.NET is a blueprint that overrides the back-end part, originally generated in spring boot, by back-end in asp.net core. For the front-end all the common language can be used (angular, react).

In alpha version we have also the possibility to choose Blazor for the front. [Blazor as front issue](https://github.com/jhipster/jhipster-dotnetcore/issues/165)
In alpha version we also have the possibility to choose either [Blazor](https://github.com/jhipster/jhipster-dotnetcore/issues/165) or [Xamarin](https://github.com/jhipster/jhipster-dotnetcore/issues/488) for the front.

This blueprint it's an official blueprint of jhipster [official-blueprints](https://www.jhipster.tech/modules/official-blueprints/)
This blueprint is an official blueprint of JHipster [official-blueprints](https://www.jhipster.tech/modules/official-blueprints/)

# Docs

Documentation and information about `JHipster.NET ` is available [here](https://jhipsternet.readthedocs.io/en/latest/)
Documentation and information about `JHipster.NET` are available [here](https://jhipsternet.readthedocs.io/en/latest/)

Full documentation and information about JHipster is available [here](https://www.jhipster.tech/)
Full documentation and information about JHipster are available [here](https://www.jhipster.tech/)

# Analysis of the sample project
https://github.com/jhipster/jhipster-sample-app-dotnetcore
Expand Down
67 changes: 67 additions & 0 deletions docs/Features/fronts.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
# Fronts

When generating an application, you are able to choose between multiple fronts.
![front-choice](../assets/Front-choice.png)

## Angular

Angular (commonly referred to as "Angular 2+" or "Angular v2 and above") is a TypeScript-based open-source web application framework.

## React

React (also known as React.js or ReactJS) is an open-source, front end, JavaScript library for building user interfaces or UI components.

## Alpha - Blazor

Blazor is a free and open-source web framework that enables developers to create web apps using C# and HTML.

## Alpha - Xamarin

With a C#-shared codebase, developers can use Xamarin tools to write native Android, iOS, and Windows apps with native user interfaces and share code across multiple platforms, including Windows, macOS, and Linux.

### Available features

- Handle registration and connection.
- Sidebar menu to navigate through pages.
- Entities and users management.
- Auto-generated entity models, services, views and viewmodels.

### NuGet requirements

- [akavache](https://www.nuget.org/packages/akavache/) >= 7.1.1
- [MvvmCross.Forms](https://www.nuget.org/packages/MvvmCross.Forms/) >= 7.1.1
- [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations/) >= 5.0.0
- [System.Net.Http.Json](https://www.nuget.org/packages/System.Net.Http.Json/) >= 3.2.1
- [Xamarin.Forms](https://www.nuget.org/packages/Xamarin.Forms) >= 4.6.0
- [Xamarin.Essential](https://www.nuget.org/packages/Xamarin.Essentials/) >=1.5.3

### Why Xamarin

Xamarin allows to take advantage of this blueprint. Indeed, it enables to generate a modern cross platform application with both front-end and back-end in C#.

### Structure

Any generated Xamarin application is structured as follows
```
client
├── Namespace.Client.Xamarin.Core - Your core application
│ ├── Models
│ │ ├── Entities - Generated models
│ ├── Services
│ │ ├── Entities - Generated services
│ ├── ViewModels
│ │ ├── Entities - Generated viewmodels
│ ├── Views
│ │ ├── Entities - Generated views
├── Namespace.Client.Xamarin.Android - Your Android application
│ ├── Resources
│ │ ├── drawable - Contains your images
│ │ ├── Layout - Contains your layouts
│ ├── Properties
├── Namespace.Client.Xamarin.iOS - Your iOS application
│ ├── Resources - Contains your images
│ ├── Properties
├── Namespace.Client.Xamarin.Shared - Shared code
│ ├── Constants - Contains shared constants
```

# Fronts

## Using Blazor
Expand Down
4 changes: 2 additions & 2 deletions docs/Introduction/big-picture.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ JHipster provides a blueprints system that allows to override the default behavi

JHipster.NET is a blueprint that overrides the back-end part, originally generated in spring boot, by back-end in asp.net core. For the front-end all the common language can be used (angular, react).

In alpha version we have also the possibility to choose Blazor for the front. [Blazor as front issue](https://github.com/jhipster/jhipster-dotnetcore/issues/165)
In alpha version we also have the possibility to choose either [Blazor](https://github.com/jhipster/jhipster-dotnetcore/issues/165) or [Xamarin](https://github.com/jhipster/jhipster-dotnetcore/issues/488) for the front.

This blueprint it's an official blueprint of jhipster [official-blueprints](https://www.jhipster.tech/modules/official-blueprints/)
This blueprint is an official blueprint of JHipster [official-blueprints](https://www.jhipster.tech/modules/official-blueprints/)
Binary file added docs/assets/Front-choice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit eb9b1d5

Please sign in to comment.