Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.

JeremyLikness/angular-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular with .NET

Read the related article series (includes video of a live presentation): Get started with Angular on .NET Core 2.1.

These code examples demonstrate various ways Angular integrates with .NET Core. Read the full documentation for the .NET Core Angular template.

static-app

This is a statically generated Angular site that can be statically hosted as part of any web server. As a demo, I used the new static website hosting in Azure blob storage.

Run:

ng serve --open

Build to deploy:

ng build --prod

core-api

This is a .NET Core Web API project that serves a REST endpoint for computing iterations of the bifurcation equation:

f(x)=r*x*(1.0-x)

It is used with the static web example to draw a bifurcation diagram.

Bifurcation diagram

fnapp

This is an alternate endpoint for the bifurcation API using serverless Azure Functions. Open in Visual Studio or Visual Studio Code to run using the cross-platform functions host.

ng-hosted

This app is self-contained Angular and .NET Core in the same solution. It is also easy to deploy directly to Azure App Service or containerize and deploy to Azure App Service for Linux.

ng-ssr

The same as ng-hosted but with server-side rendering turned on so the initial render is delivered without waiting for the client. The easiest way to see this in action is to set a breakpoint at the top of main.ts to see the server platform before it is overwritten by the client refresh.

About

Angular examples using .NET Core.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published