All Projects → NetCoreTemplates → angular-spa

NetCoreTemplates / angular-spa

Licence: other
.NET 6.0 Angular 13 CLI Bootstrap 5 App

Programming Languages

typescript
32286 projects
C#
18002 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
SCSS
7915 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to angular-spa

django-tables2-column-shifter
Simple extension for django-tables2 can dynamically show or hide columns. Using JQuery, Bootstrap 3, Bootstrap 4, Bootstrap 5 and Django >=1.9
Stars: ✭ 17 (-73.85%)
Mutual labels:  bootstrap5
NModbus4.NetCore
Simply NModbus4 but targeting .NET instead of .NET Framework
Stars: ✭ 25 (-61.54%)
Mutual labels:  net5
astroid-framework
Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
Stars: ✭ 26 (-60%)
Mutual labels:  bootstrap5
bootstrap5-tags
Replace select[multiple] with nices badges for Bootstrap 5
Stars: ✭ 58 (-10.77%)
Mutual labels:  bootstrap5
ecommerce-template
This is a simple and easy to integrate e-commerce design template based on Bootstrap 5.
Stars: ✭ 34 (-47.69%)
Mutual labels:  bootstrap5
VueJs-Soft-UI-Dashboard
🍏 This is Soft UI Dashboard in Vue Js.
Stars: ✭ 61 (-6.15%)
Mutual labels:  bootstrap5
ehr-blockchain
Electronic Health Record (EHR) and Electronic Medical Record (EMR) systems. However, they still face some issues regarding the security of medical records, user ownership of data, data integrity etc. The solution to these issues could be the use of a novel technology, i.e., Blockchain. This technology offers to provide a secure, temper-proof pl…
Stars: ✭ 41 (-36.92%)
Mutual labels:  bootstrap5
hope-ui-design-system
Hope UI - Open Source Bootstrap 5 Design System
Stars: ✭ 37 (-43.08%)
Mutual labels:  bootstrap5
Tomlet
Zero-Dependency, model-based TOML De/Serializer for .NET
Stars: ✭ 56 (-13.85%)
Mutual labels:  net5
MERN-Ecommerce
An E-commerce app built using MERN stack. It has 4 social login options and implements email verification as well. Stripe and Paypal payment gateways are implemented.
Stars: ✭ 50 (-23.08%)
Mutual labels:  bootstrap5
angular-app
Angular 14 ,Bootstrap 5, Node.js, Express.js, ESLint, CRUD, PWA, SSR, SEO, Universal, Lazy Loading
Stars: ✭ 389 (+498.46%)
Mutual labels:  bootstrap5
PlusAdmin-Free-Bootstrap-Admin-Template
Free Admin template featuring horizontal and vertical navbar. Built using Bootstrap 4.
Stars: ✭ 98 (+50.77%)
Mutual labels:  bootstrap5
angular-ssr
Angular 14 Example SSR (Server side rendering)
Stars: ✭ 92 (+41.54%)
Mutual labels:  bootstrap5
django-material-kit
Django Boilerplate - Material Kit Design | AppSeed
Stars: ✭ 36 (-44.62%)
Mutual labels:  bootstrap5
shopify-bootstrap-theme
Our Free Shopify Theme focused on simplicity, speed, and user experience. Download it today and finish your Shopify store within days, not months. Powered by Bootstrap v5 framework and 15+ years of coding experience.
Stars: ✭ 45 (-30.77%)
Mutual labels:  bootstrap5
startbootstrap-business-frontpage
A Bootstrap HTML business homepage template created by Start Bootstrap
Stars: ✭ 177 (+172.31%)
Mutual labels:  bootstrap5
UltralightNet
.NET bindings for Ultralight next-gen HTML renderer
Stars: ✭ 29 (-55.38%)
Mutual labels:  net5
mazer-nuxt
Nuxt 2 version of Mazer - Free Bootstrap 5 Admin Dashboard Template and Landing Page
Stars: ✭ 39 (-40%)
Mutual labels:  bootstrap5
bootiful
Open-source, bare, modern Bootstrap v5 theme
Stars: ✭ 47 (-27.69%)
Mutual labels:  bootstrap5
jQuery-datatable-server-side-net-core
A simple Visual Studio solution using jQuery DataTable with Server-Side processing using .NET 5
Stars: ✭ 71 (+9.23%)
Mutual labels:  net5

angular-spa

.NET 6.0 Angular 13 project generated with Angular CLI.

Browse source code, view live demo angular-spa.web-templates.io and install with dotnet-new:

$ dotnet tool install -g x

$ x new angular-spa ProjectName

Alternatively write new project files directly into an empty repository, using the Directory Name as the ProjectName:

$ git clone https://github.com/<User>/<ProjectName>.git
$ cd <ProjectName>
$ x new angular-spa

Development workflow

Our recommendation during development is to run the dev npm script or Gulp task and leave it running in the background:

$ npm run dev

This initially generates a full development build of your Web App then stays running in the background to process files as they’re changed. This enables the normal dev workflow of running your ASP.NET Web App, saving changes locally which are then reloaded using ServiceStack’s built-in hot reloading. Alternatively hitting F5 will refresh the page and view the latest changes.

Each change updates the output dev resources so even if you stop the dev task your Web App remains in a working state that’s viewable when running the ASP.NET Web App.

Watched .NET Core builds

.NET Core projects can also benefit from Live Coding using dotnet watch which performs a “watched build” where it automatically stops, recompiles and restarts your .NET Core App when it detects source file changes. You can start a watched build from the command-line with:

$ dotnet watch run

Create a production build

Run the build npm script or gulp task to generate a static production build of your App saved to your .NET App's /wwwroot folder:

$ npm run build

This will let you run the production build of your App that's hosted by your .NET App.

Updating Server TypeScript DTOs

Run the dtos npm script or Gulp task to update your server dtos in /src/dtos.d.ts:

$ npm run dtos

Deployments

When your App is ready to deploy, run the publish npm (or Gulp) script to package your App for deployment:

$ npm run publish

Which will create a production build of your App which then runs dotnet publish -c Release to Publish a Release build of your App in the /bin/net5/publish folder which can then copied to remote server or an included in a Docker container to deploy your App.

Testing

Run the test npm script or gulp task to launch the test runner in the interactive watch mode:

$ npm test

To run end-to-end integration tests with Protractor:

$ npm run e2e

Angular CLI App

This project was generated with Angular CLI

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Troubleshooting

Azure Service Fabric Mesh

If using Azure Service Fabric Mesh you can add the targets to the .csproj host project to have it generate necessary assets on build:

<Target Name="NgDebug" BeforeTargets="Build" Condition="'$(Configuration)' == 'Debug'">
    <Exec WorkingDirectory="$(ProjectDir)src" Command="ng build -ec" />
</Target>
<Target Name="NgRelease" BeforeTargets="Build" Condition="'$(Configuration)' == 'Release'">
    <Exec WorkingDirectory="$(ProjectDir)src" Command="ng build --prod" />
</Target>

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].