Skip to content

mihirpsheth/CI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World

Build Status from Travis CI

Build Status

Build Status from Azure Pipelines

Build Status

=============

About

Hello World is a sample program which is written in C# .net core, it triggers pipeline in Travis CI to builds the application on each commit.

Prerequisites

The application being .net core app, you will need to install .NET Core Windows Server Hosting Bundle

Add a new application pool with .Net CLR version as "No Managed Code"

Deploy

Using Deloy -> Import Application, import the package file and change the appliction pool of the application deployed to the application pool which support No Managed code (the one created in prerequisites).

API

Hello World Endpoint : [base-url]/api/HelloWorld

Hello World API

Metadata Endpoint : [base-url]/api/Metadata

Metadata API

Health Endpoint: [base-url]/healthchecks-api

Health API

Health Page

[base-url]/UI

Uses Health Endpoint with HealthCheck UI nuget package to give the nice layout.

Health UI

Note: Report Endpoint intentionally fails for demonstration purpose.

Build

Using Travis CI, the auto build is triggered, see Build Status or visit Travis-CI Page

Regression Test

Using Postman, import the Test file.

You will need to change the base url in Manage Environment before you run these tests:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages