GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Loupe.JavaScript/src/Loupe.Angular.Demo at main · GibraltarSoftware/Loupe.JavaScript

Expand file tree

/

Loupe.Angular.Demo

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

Loupe.Angular.Demo

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
ClientApp
ClientApp
 
 
Controllers
Controllers
 
 
Pages
Pages
 
 
Properties
Properties
 
 
wwwroot
wwwroot
 
 
.gitignore
.gitignore
 
 
Loupe.Angular.Demo.csproj
Loupe.Angular.Demo.csproj
 
 
Loupe.Angular.Demo.sln
Loupe.Angular.Demo.sln
 
 
Program.cs
Program.cs
 
 
README.md
README.md
 
 
Startup.cs
Startup.cs
 
 
WeatherForecast.cs
WeatherForecast.cs
 
 
appsettings.Development.json
appsettings.Development.json
 
 
appsettings.json
appsettings.json
 
 

README.md

Outline

Loupe.Angular.Demo

This is an ASP.NET Core application with an Angular frontend that hooks into the @gibraltarsoftware/loupe-angular package to enable client side logging to Loupe.

Running the application

The application can be run through Visual Studio simply by pressing F5.

The demo builds upon the ASP.NET Core Angular template by adding in calls to loupe in various locations:

  • A call is made to loupe.information when the route changes, by hooking in to the Router events from within app.component.ts

  • A call is made to loupe.information when the counter is incremented from within counter.component.ts

  • A call is made to loupe.recordException upon navigation to the /error-page route (which does not exist). This raises an uncaught exception which is automatically picked up by the LoupeErrorHandler.

Additionally it adds the HTTP interceptor to ensure that all HTTP requests have the Loupe Agent IDs attached as headers.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.