<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: nicolas63</title>
    <description>The latest articles on DEV Community by nicolas63 (@nicolas63).</description>
    <link>https://dev.to/nicolas63</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F439765%2Fcfc75f4f-61c0-40e7-98a9-2d6589dcb760.png</url>
      <title>DEV Community: nicolas63</title>
      <link>https://dev.to/nicolas63</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nicolas63"/>
    <language>en</language>
    <item>
      <title>Generate your asp.net core application with JHipster.NET </title>
      <dc:creator>nicolas63</dc:creator>
      <pubDate>Sun, 06 Sep 2020 07:00:34 +0000</pubDate>
      <link>https://dev.to/nicolas63/generate-your-asp-net-core-application-with-jhipster-net-2f53</link>
      <guid>https://dev.to/nicolas63/generate-your-asp-net-core-application-with-jhipster-net-2f53</guid>
      <description>&lt;p&gt;JHipster is a well-known platform for generating modern application in java world.&lt;/p&gt;

&lt;p&gt;JHipster provides a blueprints system that allows to override default behavior of the generator &lt;/p&gt;

&lt;h2&gt;
  
  
  JHipster.NET
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/jhipster/jhipster-dotnetcore"&gt;https://github.com/jhipster/jhipster-dotnetcore&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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)&lt;/p&gt;

&lt;h2&gt;
  
  
  Generate your first application :
&lt;/h2&gt;

&lt;p&gt;Installation of the blueprint&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; generator-jhipster-dotnetcore
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Call the generator&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;jhipster &lt;span class="nt"&gt;--blueprints&lt;/span&gt; dotnetcore
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;After running this command you have few questions to answer, as Application name, authentication mode, client framework etc &lt;br&gt;
Once it's done, you can build and run your application.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;dotnet run &lt;span class="nt"&gt;--verbosity&lt;/span&gt; normal &lt;span class="nt"&gt;--project&lt;/span&gt; ./src/YourAppName/YourAppName.csproj
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Your first application is ready and you can now use it with default user like JHipster (admin admin or user user)&lt;/p&gt;

&lt;p&gt;Ok now you have an application but without entity. &lt;br&gt;
JHipster allow you to add entity with cli or with jdl file (add link)&lt;br&gt;
JHipster.NET have the same behavior.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;jhipster entity &amp;lt;entity-name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Or with jdl&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;jhipster import-jdl my_file.jdl
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;You can edit jdl with &lt;a href="https://start.jhipster.tech/jdl-studio/"&gt;https://start.jhipster.tech/jdl-studio/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You have now an application with CRUD operations on each new entities with potentially link between entities (one-to-one, many-to-one or many-to-many)&lt;/p&gt;

&lt;p&gt;Default configurations are availables in the generated project. As an example, a docker compose file is generated with monitoring solutions (influxdb telegraf and chronograf or grafana)&lt;/p&gt;

&lt;p&gt;The repository : &lt;a href="https://github.com/jhipster/jhipster-dotnetcore"&gt;https://github.com/jhipster/jhipster-dotnetcore&lt;/a&gt;&lt;br&gt;
Sample project : &lt;a href="https://github.com/jhipster/jhipster-sample-app-dotnetcore"&gt;https://github.com/jhipster/jhipster-sample-app-dotnetcore&lt;/a&gt;&lt;/p&gt;

</description>
      <category>csharp</category>
      <category>dotnet</category>
      <category>jhipster</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
