Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dotnet-cicd-demo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eoc-group
dotnet-cicd-demo
Commits
d7e5e130
Commit
d7e5e130
authored
Aug 25, 2025
by
shipengwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.aipark.com:eoc-group/dotnet-cicd-demo
parents
83757f6f
27fe0312
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
Program.cs
DotNetCicdDemo/Program.cs
+0
-5
No files found.
DotNetCicdDemo/Program.cs
View file @
d7e5e130
namespace
DotNetCicdDemo
{
public
class
Program
...
...
@@ -7,11 +6,9 @@ namespace DotNetCicdDemo
{
var
builder
=
WebApplication
.
CreateBuilder
(
args
);
// Add services to the container.
builder
.
WebHost
.
UseUrls
(
"http://*"
);
builder
.
Services
.
AddControllers
();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder
.
Services
.
AddEndpointsApiExplorer
();
builder
.
Services
.
AddSwaggerGen
(
option
=>
{
...
...
@@ -20,7 +17,6 @@ namespace DotNetCicdDemo
var
app
=
builder
.
Build
();
// Configure the HTTP request pipeline.
//if (app.Environment.IsDevelopment())
{
app
.
UseSwagger
();
...
...
@@ -33,7 +29,6 @@ namespace DotNetCicdDemo
app
.
UseAuthorization
();
app
.
MapControllers
();
app
.
Run
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment