Initial commit AB#12
This commit is contained in:
25
venues/.dockerignore
Normal file
25
venues/.dockerignore
Normal file
@@ -0,0 +1,25 @@
|
||||
**/.classpath
|
||||
**/.dockerignore
|
||||
**/.env
|
||||
**/.git
|
||||
**/.gitignore
|
||||
**/.project
|
||||
**/.settings
|
||||
**/.toolstarget
|
||||
**/.vs
|
||||
**/.vscode
|
||||
**/*.*proj.user
|
||||
**/*.dbmdl
|
||||
**/*.jfm
|
||||
**/azds.yaml
|
||||
**/bin
|
||||
**/charts
|
||||
**/docker-compose*
|
||||
**/Dockerfile*
|
||||
**/node_modules
|
||||
**/npm-debug.log
|
||||
**/obj
|
||||
**/secrets.dev.yaml
|
||||
**/values.dev.yaml
|
||||
LICENSE
|
||||
README.md
|
||||
405
venues/.gitignore
vendored
Normal file
405
venues/.gitignore
vendored
Normal file
@@ -0,0 +1,405 @@
|
||||
# globs
|
||||
Makefile.in
|
||||
*.userprefs
|
||||
*.usertasks
|
||||
config.make
|
||||
config.status
|
||||
aclocal.m4
|
||||
install-sh
|
||||
autom4te.cache/
|
||||
*.tar.gz
|
||||
tarballs/
|
||||
test-results/
|
||||
|
||||
# Mac bundle stuff
|
||||
*.dmg
|
||||
*.app
|
||||
|
||||
# content below from: https://github.com/github/gitignore/blob/main/Global/macOS.gitignore
|
||||
# General
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
# Icon must end with two \r
|
||||
Icon
|
||||
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
# Files that might appear in the root of a volume
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
|
||||
# Directories potentially created on remote AFP share
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
|
||||
# content below from: https://github.com/github/gitignore/blob/main/Global/Windows.gitignore
|
||||
# Windows thumbnail cache files
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
ehthumbs_vista.db
|
||||
|
||||
# Dump file
|
||||
*.stackdump
|
||||
|
||||
# Folder config file
|
||||
[Dd]esktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Windows Installer files
|
||||
*.cab
|
||||
*.msi
|
||||
*.msix
|
||||
*.msm
|
||||
*.msp
|
||||
|
||||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
# content below from: https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
##
|
||||
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
*.user
|
||||
*.userosscache
|
||||
*.sln.docstates
|
||||
|
||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||
*.userprefs
|
||||
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Dd]ebugPublic/
|
||||
[Rr]elease/
|
||||
[Rr]eleases/
|
||||
x64/
|
||||
x86/
|
||||
bld/
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
[Ll]og/
|
||||
|
||||
# Visual Studio 2015/2017 cache/options directory
|
||||
.vs/
|
||||
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||
#wwwroot/
|
||||
|
||||
# Visual Studio 2017 auto generated files
|
||||
Generated\ Files/
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
[Bb]uild[Ll]og.*
|
||||
|
||||
# NUNIT
|
||||
*.VisualState.xml
|
||||
TestResult.xml
|
||||
|
||||
# Build Results of an ATL Project
|
||||
[Dd]ebugPS/
|
||||
[Rr]eleasePS/
|
||||
dlldata.c
|
||||
|
||||
# Benchmark Results
|
||||
BenchmarkDotNet.Artifacts/
|
||||
|
||||
# .NET Core
|
||||
project.lock.json
|
||||
project.fragment.lock.json
|
||||
artifacts/
|
||||
|
||||
# StyleCop
|
||||
StyleCopReport.xml
|
||||
|
||||
# Files built by Visual Studio
|
||||
*_i.c
|
||||
*_p.c
|
||||
*_h.h
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
*.iobj
|
||||
*.pch
|
||||
*.pdb
|
||||
*.ipdb
|
||||
*.pgc
|
||||
*.pgd
|
||||
*.rsp
|
||||
*.sbr
|
||||
*.tlb
|
||||
*.tli
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.tmp_proj
|
||||
*_wpftmp.csproj
|
||||
*.log
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
.builds
|
||||
*.pidb
|
||||
*.svclog
|
||||
*.scc
|
||||
|
||||
# Chutzpah Test files
|
||||
_Chutzpah*
|
||||
|
||||
# Visual C++ cache files
|
||||
ipch/
|
||||
*.aps
|
||||
*.ncb
|
||||
*.opendb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
*.cachefile
|
||||
*.VC.db
|
||||
*.VC.VC.opendb
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
*.vspx
|
||||
*.sap
|
||||
|
||||
# Visual Studio Trace Files
|
||||
*.e2e
|
||||
|
||||
# TFS 2012 Local Workspace
|
||||
$tf/
|
||||
|
||||
# Guidance Automation Toolkit
|
||||
*.gpState
|
||||
|
||||
# ReSharper is a .NET coding add-in
|
||||
_ReSharper*/
|
||||
*.[Rr]e[Ss]harper
|
||||
*.DotSettings.user
|
||||
|
||||
# JustCode is a .NET coding add-in
|
||||
.JustCode
|
||||
|
||||
# TeamCity is a build add-in
|
||||
_TeamCity*
|
||||
|
||||
# DotCover is a Code Coverage Tool
|
||||
*.dotCover
|
||||
|
||||
# AxoCover is a Code Coverage Tool
|
||||
.axoCover/*
|
||||
!.axoCover/settings.json
|
||||
|
||||
# Visual Studio code coverage results
|
||||
*.coverage
|
||||
*.coveragexml
|
||||
|
||||
# NCrunch
|
||||
_NCrunch_*
|
||||
.*crunch*.local.xml
|
||||
nCrunchTemp_*
|
||||
|
||||
# MightyMoose
|
||||
*.mm.*
|
||||
AutoTest.Net/
|
||||
|
||||
# Web workbench (sass)
|
||||
.sass-cache/
|
||||
|
||||
# Installshield output folder
|
||||
[Ee]xpress/
|
||||
|
||||
# DocProject is a documentation generator add-in
|
||||
DocProject/buildhelp/
|
||||
DocProject/Help/*.HxT
|
||||
DocProject/Help/*.HxC
|
||||
DocProject/Help/*.hhc
|
||||
DocProject/Help/*.hhk
|
||||
DocProject/Help/*.hhp
|
||||
DocProject/Help/Html2
|
||||
DocProject/Help/html
|
||||
|
||||
# Click-Once directory
|
||||
publish/
|
||||
|
||||
# Publish Web Output
|
||||
*.[Pp]ublish.xml
|
||||
*.azurePubxml
|
||||
# Note: Comment the next line if you want to checkin your web deploy settings,
|
||||
# but database connection strings (with potential passwords) will be unencrypted
|
||||
*.pubxml
|
||||
*.publishproj
|
||||
|
||||
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
||||
# checkin your Azure Web App publish settings, but sensitive information contained
|
||||
# in these scripts will be unencrypted
|
||||
PublishScripts/
|
||||
|
||||
# NuGet Packages
|
||||
*.nupkg
|
||||
# The packages folder can be ignored because of Package Restore
|
||||
**/[Pp]ackages/*
|
||||
# except build/, which is used as an MSBuild target.
|
||||
!**/[Pp]ackages/build/
|
||||
# Uncomment if necessary however generally it will be regenerated when needed
|
||||
#!**/[Pp]ackages/repositories.config
|
||||
# NuGet v3's project.json files produces more ignorable files
|
||||
*.nuget.props
|
||||
*.nuget.targets
|
||||
|
||||
# Microsoft Azure Build Output
|
||||
csx/
|
||||
*.build.csdef
|
||||
|
||||
# Microsoft Azure Emulator
|
||||
ecf/
|
||||
rcf/
|
||||
|
||||
# Windows Store app package directories and files
|
||||
AppPackages/
|
||||
BundleArtifacts/
|
||||
Package.StoreAssociation.xml
|
||||
_pkginfo.txt
|
||||
*.appx
|
||||
|
||||
# Visual Studio cache files
|
||||
# files ending in .cache can be ignored
|
||||
*.[Cc]ache
|
||||
# but keep track of directories ending in .cache
|
||||
!*.[Cc]ache/
|
||||
|
||||
# Others
|
||||
ClientBin/
|
||||
~$*
|
||||
*~
|
||||
*.dbmdl
|
||||
*.dbproj.schemaview
|
||||
*.jfm
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
orleans.codegen.cs
|
||||
|
||||
# Including strong name files can present a security risk
|
||||
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
||||
#*.snk
|
||||
|
||||
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
||||
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
||||
#bower_components/
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
# Backup & report files from converting an old project file
|
||||
# to a newer Visual Studio version. Backup files are not needed,
|
||||
# because we have git ;-)
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
UpgradeLog*.htm
|
||||
ServiceFabricBackup/
|
||||
*.rptproj.bak
|
||||
|
||||
# SQL Server files
|
||||
*.mdf
|
||||
*.ldf
|
||||
*.ndf
|
||||
|
||||
# Business Intelligence projects
|
||||
*.rdl.data
|
||||
*.bim.layout
|
||||
*.bim_*.settings
|
||||
*.rptproj.rsuser
|
||||
|
||||
# Microsoft Fakes
|
||||
FakesAssemblies/
|
||||
|
||||
# GhostDoc plugin setting file
|
||||
*.GhostDoc.xml
|
||||
|
||||
# Node.js Tools for Visual Studio
|
||||
.ntvs_analysis.dat
|
||||
node_modules/
|
||||
|
||||
# Visual Studio 6 build log
|
||||
*.plg
|
||||
|
||||
# Visual Studio 6 workspace options file
|
||||
*.opt
|
||||
|
||||
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
||||
*.vbw
|
||||
|
||||
# Visual Studio LightSwitch build output
|
||||
**/*.HTMLClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/ModelManifest.xml
|
||||
**/*.Server/GeneratedArtifacts
|
||||
**/*.Server/ModelManifest.xml
|
||||
_Pvt_Extensions
|
||||
|
||||
# Paket dependency manager
|
||||
.paket/paket.exe
|
||||
paket-files/
|
||||
|
||||
# FAKE - F# Make
|
||||
.fake/
|
||||
|
||||
# JetBrains Rider
|
||||
.idea/
|
||||
*.sln.iml
|
||||
|
||||
# CodeRush personal settings
|
||||
.cr/personal
|
||||
|
||||
# Python Tools for Visual Studio (PTVS)
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
# Cake - Uncomment if you are using it
|
||||
# tools/**
|
||||
# !tools/packages.config
|
||||
|
||||
# Tabs Studio
|
||||
*.tss
|
||||
|
||||
# Telerik's JustMock configuration file
|
||||
*.jmconfig
|
||||
|
||||
# BizTalk build output
|
||||
*.btp.cs
|
||||
*.btm.cs
|
||||
*.odx.cs
|
||||
*.xsd.cs
|
||||
|
||||
# OpenCover UI analysis results
|
||||
OpenCover/
|
||||
|
||||
# Azure Stream Analytics local run output
|
||||
ASALocalRun/
|
||||
|
||||
# MSBuild Binary and Structured Log
|
||||
*.binlog
|
||||
|
||||
# NVidia Nsight GPU debugger configuration file
|
||||
*.nvuser
|
||||
|
||||
# MFractors (Xamarin productivity tool) working folder
|
||||
.mfractor/
|
||||
|
||||
# Local History for Visual Studio
|
||||
.localhistory/
|
||||
56
venues/Controllers/VenuesController.cs
Normal file
56
venues/Controllers/VenuesController.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using AutoMapper;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Venues.Entities;
|
||||
using Venues.Filter;
|
||||
using Venues.Models;
|
||||
using Venues.Services;
|
||||
using Venues.Wrappers;
|
||||
|
||||
namespace Venues.Controllers
|
||||
{
|
||||
[ApiController]
|
||||
[Route("api/venues")]
|
||||
public class VenuesController : ControllerBase
|
||||
{
|
||||
private readonly IVenuesRepository _venuesRepository;
|
||||
private readonly IMapper _mapper;
|
||||
const int maxVenuesPerPage = 50;
|
||||
|
||||
public VenuesController(IVenuesRepository venuesRepository, IMapper mapper)
|
||||
{
|
||||
_venuesRepository = venuesRepository ?? throw new ArgumentNullException(nameof(venuesRepository));
|
||||
_mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public async Task<ActionResult<IEnumerable<VenueDto>>> GetVenues([FromQuery] PaginationFilter filter)
|
||||
{
|
||||
if (filter.PageSize > maxVenuesPerPage)
|
||||
{
|
||||
filter.PageSize = maxVenuesPerPage;
|
||||
}
|
||||
|
||||
var (venueEntities, paginationMetadata) = await _venuesRepository.GetVenuesAsync(filter.PageNumber, filter.PageSize);
|
||||
|
||||
return Ok(new PagedResponse<IEnumerable<VenueDto>>(_mapper.Map<IEnumerable<VenueDto>>(venueEntities), paginationMetadata));
|
||||
}
|
||||
|
||||
[HttpGet("{id}")]
|
||||
public async Task<ActionResult<VenueDto>> GetVenue(int id)
|
||||
{
|
||||
var venue = await _venuesRepository.GetVenueAsync(id);
|
||||
|
||||
if (venue == null)
|
||||
{
|
||||
return NotFound();
|
||||
}
|
||||
|
||||
return Ok(new Response<VenueDto>(_mapper.Map<VenueDto>(venue)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
52
venues/DbContexts/MlbGameDayContext.cs
Normal file
52
venues/DbContexts/MlbGameDayContext.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Venues.Entities;
|
||||
|
||||
namespace Venues.DbContexts
|
||||
{
|
||||
public partial class MlbGameDayContext : DbContext
|
||||
{
|
||||
public MlbGameDayContext()
|
||||
{
|
||||
}
|
||||
|
||||
public MlbGameDayContext(DbContextOptions<MlbGameDayContext> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
|
||||
public virtual DbSet<Venue> Venues { get; set; } = null!;
|
||||
|
||||
//protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
//{
|
||||
// if (!optionsBuilder.IsConfigured)
|
||||
// {
|
||||
// optionsBuilder.UseNpgsql("Host=localhost;Database=mlb-game-day;Username=postgres;Password=postgres");
|
||||
// }
|
||||
//}
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.Entity<Venue>(entity =>
|
||||
{
|
||||
entity.HasNoKey();
|
||||
|
||||
entity.ToTable("venue");
|
||||
|
||||
entity.Property(e => e.Active).HasColumnName("active");
|
||||
|
||||
entity.Property(e => e.Id).HasColumnName("id");
|
||||
|
||||
entity.Property(e => e.Link).HasColumnName("link");
|
||||
|
||||
entity.Property(e => e.Name).HasColumnName("name");
|
||||
});
|
||||
|
||||
OnModelCreatingPartial(modelBuilder);
|
||||
}
|
||||
|
||||
partial void OnModelCreatingPartial(ModelBuilder modelBuilder);
|
||||
}
|
||||
}
|
||||
22
venues/Dockerfile
Normal file
22
venues/Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["Venues.csproj", "."]
|
||||
RUN dotnet restore "./Venues.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/."
|
||||
RUN dotnet build "Venues.csproj" -c Release -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish "Venues.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
ENTRYPOINT ["dotnet", "Venues.dll"]
|
||||
13
venues/Entities/Venue.cs
Normal file
13
venues/Entities/Venue.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Venues.Entities
|
||||
{
|
||||
public partial class Venue
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public string? Link { get; set; }
|
||||
public string? Active { get; set; }
|
||||
}
|
||||
}
|
||||
22
venues/Filter/PaginationFilter.cs
Normal file
22
venues/Filter/PaginationFilter.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
namespace Venues.Filter
|
||||
{
|
||||
public class PaginationFilter
|
||||
{
|
||||
public int PageNumber { get; set; }
|
||||
public int PageSize { get; set; }
|
||||
|
||||
public PaginationFilter()
|
||||
{
|
||||
this.PageNumber = 1;
|
||||
this.PageSize = 10;
|
||||
}
|
||||
|
||||
public PaginationFilter(int pageNumber, int pageSize)
|
||||
{
|
||||
this.PageNumber = pageNumber < 1 ? 1 : pageNumber;
|
||||
this.PageSize = pageSize > 10 ? 10 : pageSize;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
12
venues/Models/VenueDto.cs
Normal file
12
venues/Models/VenueDto.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
namespace Venues.Models
|
||||
{
|
||||
public class VenueDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Link { get; set; }
|
||||
public string Active { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
14
venues/Profiles/VenueProfile.cs
Normal file
14
venues/Profiles/VenueProfile.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using AutoMapper;
|
||||
|
||||
namespace Venues.Profiles
|
||||
{
|
||||
public class VenueProfile : Profile
|
||||
{
|
||||
public VenueProfile()
|
||||
{
|
||||
CreateMap<Entities.Venue, Models.VenueDto>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
56
venues/Program.cs
Normal file
56
venues/Program.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Serilog;
|
||||
using Venues;
|
||||
using Venues.DbContexts;
|
||||
using Venues.Services;
|
||||
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
.MinimumLevel.Debug()
|
||||
.WriteTo.Console()
|
||||
.WriteTo.File("logs/venues.txt", rollingInterval: RollingInterval.Day)
|
||||
.CreateLogger();
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.Host.UseSerilog();
|
||||
|
||||
// Add services to the container.
|
||||
|
||||
builder.Services.AddControllers(options =>
|
||||
{
|
||||
options.ReturnHttpNotAcceptable = true;
|
||||
}).AddXmlDataContractSerializerFormatters();
|
||||
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddSwaggerGen();
|
||||
|
||||
builder.Services.AddDbContext<MlbGameDayContext>(dbContextOptions =>
|
||||
dbContextOptions.UseNpgsql(builder.Configuration["ConnectionStrings:DBConnectionString"])
|
||||
);
|
||||
|
||||
builder.Services.AddScoped<IVenuesRepository, VenuesRepository>();
|
||||
|
||||
builder.Services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies());
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
|
||||
app.UseRouting();
|
||||
|
||||
app.UseAuthorization();
|
||||
|
||||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
endpoints.MapControllers();
|
||||
});
|
||||
|
||||
app.Run();
|
||||
|
||||
30
venues/Properties/launchSettings.json
Normal file
30
venues/Properties/launchSettings.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/launchsettings.json",
|
||||
"iisSettings": {
|
||||
"windowsAuthentication": false,
|
||||
"anonymousAuthentication": true,
|
||||
"iisExpress": {
|
||||
"applicationUrl": "http://localhost:6222",
|
||||
"sslPort": 44367
|
||||
}
|
||||
},
|
||||
"profiles": {
|
||||
"Venues": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "swagger",
|
||||
"applicationUrl": "https://localhost:7510;http://localhost:5510",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"IIS Express": {
|
||||
"commandName": "IISExpress",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "swagger",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
venues/Services/IVenuesRepository.cs
Normal file
11
venues/Services/IVenuesRepository.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Venues.Entities;
|
||||
|
||||
namespace Venues.Services
|
||||
{
|
||||
public interface IVenuesRepository
|
||||
{
|
||||
Task<(IEnumerable<Venue>, PaginationMetadata)> GetVenuesAsync(int pageNumber, int pageSize);
|
||||
Task<Venue?> GetVenueAsync(int venueId);
|
||||
}
|
||||
}
|
||||
|
||||
20
venues/Services/PaginationMetadata.cs
Normal file
20
venues/Services/PaginationMetadata.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
namespace Venues.Services
|
||||
{
|
||||
public class PaginationMetadata
|
||||
{
|
||||
public int TotalItemCount { get; set; }
|
||||
public int TotalPageCount { get; set; }
|
||||
public int PageSize { get; set; }
|
||||
public int CurrentPage { get; set; }
|
||||
|
||||
public PaginationMetadata(int totalItemCount, int pageSize, int currentPage)
|
||||
{
|
||||
TotalItemCount = totalItemCount;
|
||||
PageSize = pageSize;
|
||||
CurrentPage = currentPage;
|
||||
TotalPageCount = (int)Math.Ceiling(totalItemCount / (double)pageSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
36
venues/Services/VenuesRepository.cs
Normal file
36
venues/Services/VenuesRepository.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Venues.DbContexts;
|
||||
using Venues.Entities;
|
||||
|
||||
namespace Venues.Services
|
||||
{
|
||||
public class VenuesRepository : IVenuesRepository
|
||||
{
|
||||
private readonly MlbGameDayContext _context;
|
||||
|
||||
public VenuesRepository(MlbGameDayContext context)
|
||||
{
|
||||
_context = context ?? throw new ArgumentNullException(nameof(context));
|
||||
}
|
||||
|
||||
public async Task<Venue?> GetVenueAsync(int venueId)
|
||||
{
|
||||
return await _context.Venues.Where(v => v.Id == venueId).FirstOrDefaultAsync();
|
||||
}
|
||||
|
||||
public async Task<(IEnumerable<Venue>, PaginationMetadata)> GetVenuesAsync(int pageNumber, int pageSize)
|
||||
{
|
||||
var collection = _context.Venues as IQueryable<Venue>;
|
||||
var totalItemCount = await collection.CountAsync();
|
||||
var paginationMetadata = new PaginationMetadata(totalItemCount, pageSize, pageNumber);
|
||||
var collectionToReturn = await collection.OrderBy(v => v.Name)
|
||||
.Skip(pageSize * (pageNumber -1))
|
||||
.Take(pageSize)
|
||||
.ToListAsync();
|
||||
|
||||
return (collectionToReturn, paginationMetadata);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
venues/Venues.csproj
Normal file
50
venues/Venues.csproj
Normal file
@@ -0,0 +1,50 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<DockerComposeProjectPath>docker-compose.dcproj</DockerComposeProjectPath>
|
||||
<UserSecretsId>d38d20dc-1ee5-4470-be2f-b7be9db4d899</UserSecretsId>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="6.1.0" />
|
||||
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.8" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.12">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="Controllers\" />
|
||||
<None Remove="Models\" />
|
||||
<None Remove="Serilog.AspNetCore" />
|
||||
<None Remove="Serilog.Sinks.File" />
|
||||
<None Remove="Serilog.Sinks.Console" />
|
||||
<None Remove="Npgsql.EntityFrameworkCore.PostgreSQL" />
|
||||
<None Remove="Microsoft.EntityFrameworkCore.Tools" />
|
||||
<None Remove="Entities\" />
|
||||
<None Remove="DbContexts\" />
|
||||
<None Remove="Services\" />
|
||||
<None Remove="AutoMapper.Extensions.Microsoft.DependencyInjection" />
|
||||
<None Remove="Profiles\" />
|
||||
<None Remove="Wrappers\" />
|
||||
<None Remove="Filter\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Controllers\" />
|
||||
<Folder Include="Models\" />
|
||||
<Folder Include="Entities\" />
|
||||
<Folder Include="DbContexts\" />
|
||||
<Folder Include="Services\" />
|
||||
<Folder Include="Profiles\" />
|
||||
<Folder Include="Wrappers\" />
|
||||
<Folder Include="Filter\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
31
venues/Venues.sln
Normal file
31
venues/Venues.sln
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 25.0.1704.2
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Venues", "Venues.csproj", "{3BB810B0-C2EF-4B75-B176-314E08FFF578}"
|
||||
EndProject
|
||||
Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{E3E56705-2657-4364-A57D-BC417E0EE8A9}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3BB810B0-C2EF-4B75-B176-314E08FFF578}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3BB810B0-C2EF-4B75-B176-314E08FFF578}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3BB810B0-C2EF-4B75-B176-314E08FFF578}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3BB810B0-C2EF-4B75-B176-314E08FFF578}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E3E56705-2657-4364-A57D-BC417E0EE8A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E3E56705-2657-4364-A57D-BC417E0EE8A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E3E56705-2657-4364-A57D-BC417E0EE8A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E3E56705-2657-4364-A57D-BC417E0EE8A9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {866A8BAC-A584-4E59-926D-94E2A1A8A4F9}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
27
venues/Wrappers/PagedResponse.cs
Normal file
27
venues/Wrappers/PagedResponse.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Venues.Services;
|
||||
|
||||
namespace Venues.Wrappers
|
||||
{
|
||||
public class PagedResponse<T>: Response<T>
|
||||
{
|
||||
public int TotalItemCount { get; set; }
|
||||
public int TotalPageCount { get; set; }
|
||||
public int PageSize { get; set; }
|
||||
public int CurrentPage { get; set; }
|
||||
|
||||
public PagedResponse(T results, PaginationMetadata paginationMetadata)
|
||||
{
|
||||
this.TotalItemCount = paginationMetadata.TotalItemCount;
|
||||
this.TotalPageCount = paginationMetadata.TotalPageCount;
|
||||
this.CurrentPage = paginationMetadata.CurrentPage;
|
||||
this.PageSize = paginationMetadata.PageSize;
|
||||
this.CurrentPage = paginationMetadata.CurrentPage;
|
||||
this.Results = results;
|
||||
this.Message = null;
|
||||
this.Succeeded = true;
|
||||
this.Errors = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
26
venues/Wrappers/Response.cs
Normal file
26
venues/Wrappers/Response.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
namespace Venues.Wrappers
|
||||
{
|
||||
public class Response<T>
|
||||
{
|
||||
public T Results { get; set; }
|
||||
public bool Succeeded { get; set; }
|
||||
public string[] Errors { get; set; }
|
||||
public string Message { get; set; }
|
||||
|
||||
public Response()
|
||||
{
|
||||
}
|
||||
|
||||
public Response(T results)
|
||||
{
|
||||
Succeeded = true;
|
||||
Message = string.Empty;
|
||||
Errors = null;
|
||||
Results = results;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
13
venues/appsettings.Development.json
Normal file
13
venues/appsettings.Development.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"ConnectionStrings": {
|
||||
"DBConnectionString": "Host=localhost;Database=mlb-game-day;Username=postgres;Password=postgres"
|
||||
}
|
||||
}
|
||||
|
||||
11
venues/appsettings.Production.json
Normal file
11
venues/appsettings.Production.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "DataSource=app.db"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
10
venues/appsettings.json
Normal file
10
venues/appsettings.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
|
||||
18
venues/docker-compose.dcproj
Normal file
18
venues/docker-compose.dcproj
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" Sdk="Microsoft.Docker.Sdk" DefaultTargets="Build">
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectVersion>2.1</ProjectVersion>
|
||||
<DockerTargetOS>Linux</DockerTargetOS>
|
||||
<ProjectGuid>{E3E56705-2657-4364-A57D-BC417E0EE8A9}</ProjectGuid>
|
||||
<DockerLaunchBrowser>True</DockerLaunchBrowser>
|
||||
<DockerServiceUrl>{Scheme}://localhost:{ServicePort}/swagger</DockerServiceUrl>
|
||||
<DockerServiceName>venues</DockerServiceName>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Include="docker-compose.override.yml">
|
||||
<DependentUpon>docker-compose.yml</DependentUpon>
|
||||
</None>
|
||||
<None Include="docker-compose.yml" />
|
||||
<None Include=".dockerignore" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
13
venues/docker-compose.override.yml
Normal file
13
venues/docker-compose.override.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: '3.4'
|
||||
|
||||
services:
|
||||
venues:
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
- ASPNETCORE_URLS=https://+:443;http://+:80
|
||||
ports:
|
||||
- "80"
|
||||
- "443"
|
||||
volumes:
|
||||
- ~/.aspnet/https:/root/.aspnet/https:ro
|
||||
- ~/.microsoft/usersecrets:/root/.microsoft/usersecrets:ro
|
||||
8
venues/docker-compose.yml
Normal file
8
venues/docker-compose.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
version: '3.4'
|
||||
|
||||
services:
|
||||
venues:
|
||||
image: ${DOCKER_REGISTRY-}venues
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
35
venues/logs/venues20221231.txt
Normal file
35
venues/logs/venues20221231.txt
Normal file
@@ -0,0 +1,35 @@
|
||||
2022-12-31 11:26:01.898 -06:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
|
||||
2022-12-31 11:26:01.958 -06:00 [DBG] Hosting starting
|
||||
2022-12-31 11:26:02.064 -06:00 [DBG] Using development certificate: CN=localhost (Thumbprint: D1AC045DA5B402C2D2761887E1B189C128A0E6AE)
|
||||
2022-12-31 11:26:02.230 -06:00 [INF] Now listening on: https://localhost:7103
|
||||
2022-12-31 11:26:02.230 -06:00 [INF] Now listening on: http://localhost:5106
|
||||
2022-12-31 11:26:02.230 -06:00 [DBG] Loaded hosting startup assembly Venues
|
||||
2022-12-31 11:26:02.230 -06:00 [INF] Application started. Press Ctrl+C to shut down.
|
||||
2022-12-31 11:26:02.230 -06:00 [INF] Hosting environment: Development
|
||||
2022-12-31 11:26:02.230 -06:00 [INF] Content root path: /Users/noahspannbauer/Developer/Work/mlb-game-day/Venues/
|
||||
2022-12-31 11:26:02.230 -06:00 [DBG] Hosting started
|
||||
2022-12-31 11:26:02.241 -06:00 [DBG] Connection id "0HMNBAGBGBQU1" accepted.
|
||||
2022-12-31 11:26:02.242 -06:00 [DBG] Connection id "0HMNBAGBGBQU1" started.
|
||||
2022-12-31 11:26:03.124 -06:00 [DBG] Connection id "0HMNBAGBGBQU1" received FIN.
|
||||
2022-12-31 11:26:03.131 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2022-12-31 11:26:03.164 -06:00 [DBG] Connection id "0HMNBAGBGBQU1" stopped.
|
||||
2022-12-31 11:26:03.168 -06:00 [DBG] Connection id "0HMNBAGBGBQU1" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2022-12-31 11:26:03.181 -06:00 [DBG] Connection id "0HMNBAGBGBQU2" accepted.
|
||||
2022-12-31 11:26:03.181 -06:00 [DBG] Connection id "0HMNBAGBGBQU2" started.
|
||||
2022-12-31 11:26:03.236 -06:00 [DBG] Connection 0HMNBAGBGBQU2 established using the following protocol: "Tls12"
|
||||
2022-12-31 11:26:03.282 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/index.html - -
|
||||
2022-12-31 11:26:03.283 -06:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
|
||||
2022-12-31 11:26:03.335 -06:00 [DBG] Connection id "0HMNBAGBGBQU2" completed keep alive response.
|
||||
2022-12-31 11:26:03.336 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/index.html - - - 200 - text/html;charset=utf-8 55.8462ms
|
||||
2022-12-31 11:26:03.442 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - -
|
||||
2022-12-31 11:26:03.527 -06:00 [DBG] Connection id "0HMNBAGBGBQU2" completed keep alive response.
|
||||
2022-12-31 11:26:03.527 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 85.3100ms
|
||||
2022-12-31 11:27:01.605 -06:00 [DBG] Connection id "0HMNBAGBGBQU2" received FIN.
|
||||
2022-12-31 11:27:01.708 -06:00 [DBG] Connection id "0HMNBAGBGBQU2" sending FIN because: "The client closed the connection."
|
||||
2022-12-31 11:27:01.709 -06:00 [DBG] Connection id "0HMNBAGBGBQU2" disconnecting.
|
||||
2022-12-31 11:27:01.712 -06:00 [DBG] Connection id "0HMNBAGBGBQU2" stopped.
|
||||
512
venues/logs/venues20230102.txt
Normal file
512
venues/logs/venues20230102.txt
Normal file
@@ -0,0 +1,512 @@
|
||||
2023-01-02 10:10:27.795 -06:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
|
||||
2023-01-02 10:10:27.857 -06:00 [DBG] Hosting starting
|
||||
2023-01-02 10:10:27.975 -06:00 [DBG] Using development certificate: CN=localhost (Thumbprint: D1AC045DA5B402C2D2761887E1B189C128A0E6AE)
|
||||
2023-01-02 10:10:28.065 -06:00 [INF] Now listening on: https://localhost:7103
|
||||
2023-01-02 10:10:28.065 -06:00 [INF] Now listening on: http://localhost:5106
|
||||
2023-01-02 10:10:28.065 -06:00 [DBG] Loaded hosting startup assembly Venues
|
||||
2023-01-02 10:10:28.066 -06:00 [INF] Application started. Press Ctrl+C to shut down.
|
||||
2023-01-02 10:10:28.066 -06:00 [INF] Hosting environment: Development
|
||||
2023-01-02 10:10:28.066 -06:00 [INF] Content root path: /Users/noahspannbauer/Developer/Work/mlb-game-day/Venues/
|
||||
2023-01-02 10:10:28.066 -06:00 [DBG] Hosting started
|
||||
2023-01-02 10:10:28.073 -06:00 [DBG] Connection id "0HMNCRFEKCP0T" accepted.
|
||||
2023-01-02 10:10:28.074 -06:00 [DBG] Connection id "0HMNCRFEKCP0T" started.
|
||||
2023-01-02 10:10:29.035 -06:00 [DBG] Connection id "0HMNCRFEKCP0T" received FIN.
|
||||
2023-01-02 10:10:29.057 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2023-01-02 10:10:29.115 -06:00 [DBG] Connection id "0HMNCRFEKCP0T" stopped.
|
||||
2023-01-02 10:10:29.118 -06:00 [DBG] Connection id "0HMNCRFEKCP0T" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2023-01-02 10:10:29.203 -06:00 [DBG] Connection id "0HMNCRFEKCP0U" accepted.
|
||||
2023-01-02 10:10:29.204 -06:00 [DBG] Connection id "0HMNCRFEKCP0U" started.
|
||||
2023-01-02 10:10:29.258 -06:00 [DBG] Connection 0HMNCRFEKCP0U established using the following protocol: "Tls12"
|
||||
2023-01-02 10:10:29.354 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/index.html - -
|
||||
2023-01-02 10:10:29.355 -06:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
|
||||
2023-01-02 10:10:29.411 -06:00 [DBG] Connection id "0HMNCRFEKCP0U" completed keep alive response.
|
||||
2023-01-02 10:10:29.412 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/index.html - - - 200 - text/html;charset=utf-8 59.4324ms
|
||||
2023-01-02 10:10:29.524 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - -
|
||||
2023-01-02 10:10:29.561 -06:00 [DBG] Connection id "0HMNCRFEKCP0V" accepted.
|
||||
2023-01-02 10:10:29.561 -06:00 [DBG] Connection id "0HMNCRFEKCP0V" started.
|
||||
2023-01-02 10:10:29.586 -06:00 [DBG] Connection 0HMNCRFEKCP0V established using the following protocol: "Tls12"
|
||||
2023-01-02 10:10:29.610 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/favicon-16x16.png - -
|
||||
2023-01-02 10:10:29.615 -06:00 [INF] Sending file. Request path: '/favicon-16x16.png'. Physical path: 'N/A'
|
||||
2023-01-02 10:10:29.615 -06:00 [DBG] Connection id "0HMNCRFEKCP0V" completed keep alive response.
|
||||
2023-01-02 10:10:29.615 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/favicon-16x16.png - - - 200 665 image/png 4.5685ms
|
||||
2023-01-02 10:10:29.638 -06:00 [DBG] Connection id "0HMNCRFEKCP0U" completed keep alive response.
|
||||
2023-01-02 10:10:29.638 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 114.4893ms
|
||||
2023-01-02 10:10:33.869 -06:00 [DBG] Connection id "0HMNCRFEKCP10" received FIN.
|
||||
2023-01-02 10:10:33.870 -06:00 [DBG] Connection id "0HMNCRFEKCP10" accepted.
|
||||
2023-01-02 10:10:33.870 -06:00 [DBG] Connection id "0HMNCRFEKCP10" started.
|
||||
2023-01-02 10:10:33.870 -06:00 [DBG] Connection id "0HMNCRFEKCP11" accepted.
|
||||
2023-01-02 10:10:33.897 -06:00 [DBG] Connection id "0HMNCRFEKCP11" started.
|
||||
2023-01-02 10:10:33.871 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2023-01-02 10:10:33.926 -06:00 [DBG] Connection id "0HMNCRFEKCP10" stopped.
|
||||
2023-01-02 10:10:33.929 -06:00 [DBG] Connection id "0HMNCRFEKCP10" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2023-01-02 10:10:33.956 -06:00 [DBG] Connection 0HMNCRFEKCP11 established using the following protocol: "Tls12"
|
||||
2023-01-02 10:10:33.960 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/api/venues - -
|
||||
2023-01-02 10:10:33.961 -06:00 [DBG] The request path does not match the path filter
|
||||
2023-01-02 10:10:33.977 -06:00 [DBG] 1 candidate(s) found for the request path '/api/venues'
|
||||
2023-01-02 10:10:33.981 -06:00 [DBG] Endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)' with route pattern 'api/venues' is valid for the request path '/api/venues'
|
||||
2023-01-02 10:10:33.981 -06:00 [DBG] Request matched endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)'
|
||||
2023-01-02 10:10:33.983 -06:00 [INF] Executing endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)'
|
||||
2023-01-02 10:10:33.997 -06:00 [INF] Route matched with {action = "GetVenues", controller = "Venues"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[Venues.Models.VenueDto]]] GetVenues() on controller Venues.Controllers.VenuesController (Venues).
|
||||
2023-01-02 10:10:33.997 -06:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
|
||||
2023-01-02 10:10:33.998 -06:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
|
||||
2023-01-02 10:10:33.998 -06:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
|
||||
2023-01-02 10:10:33.998 -06:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
|
||||
2023-01-02 10:10:33.998 -06:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
|
||||
2023-01-02 10:10:33.998 -06:00 [DBG] Executing controller factory for controller Venues.Controllers.VenuesController (Venues)
|
||||
2023-01-02 10:10:34.101 -06:00 [DBG] An 'IServiceProvider' was created for internal use by Entity Framework.
|
||||
2023-01-02 10:10:34.117 -06:00 [DBG] Executed controller factory for controller Venues.Controllers.VenuesController (Venues)
|
||||
2023-01-02 10:10:34.470 -06:00 [INF] Entity Framework Core 6.0.12 initialized 'MlbGameDayContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.8+e68dfe8b5cbe4a26d20acc36def6187aa1cfdda3' with options: None
|
||||
2023-01-02 10:10:34.496 -06:00 [DBG] Compiling query expression:
|
||||
'DbSet<Venue>()
|
||||
.OrderBy(v => v.Name)'
|
||||
2023-01-02 10:10:34.657 -06:00 [DBG] Generated query execution expression:
|
||||
'queryContext => new SingleQueryingEnumerable<Venue>(
|
||||
(RelationalQueryContext)queryContext,
|
||||
RelationalCommandCache.SelectExpression(
|
||||
Projection Mapping:
|
||||
EmptyProjectionMember -> Dictionary<IProperty, int> { [Property: Venue.Active (string), 0], [Property: Venue.Id (int?), 1], [Property: Venue.Link (string), 2], [Property: Venue.Name (string), 3] }
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
ORDER BY v.name ASC),
|
||||
Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, Venue>,
|
||||
Venues.DbContexts.MlbGameDayContext,
|
||||
False,
|
||||
False,
|
||||
True
|
||||
)'
|
||||
2023-01-02 10:10:34.683 -06:00 [DBG] Creating DbCommand for 'ExecuteReader'.
|
||||
2023-01-02 10:10:34.724 -06:00 [DBG] Created DbCommand for 'ExecuteReader' (40ms).
|
||||
2023-01-02 10:10:34.730 -06:00 [DBG] Opening connection to database 'mlb-game-day' on server ''.
|
||||
2023-01-02 10:10:34.873 -06:00 [DBG] Opened connection to database 'mlb-game-day' on server 'tcp://localhost:5432'.
|
||||
2023-01-02 10:10:34.880 -06:00 [DBG] Executing DbCommand [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
ORDER BY v.name
|
||||
2023-01-02 10:10:34.929 -06:00 [INF] Executed DbCommand (49ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
ORDER BY v.name
|
||||
2023-01-02 10:10:34.948 -06:00 [DBG] A data reader was disposed.
|
||||
2023-01-02 10:10:34.953 -06:00 [DBG] Closing connection to database 'mlb-game-day' on server 'tcp://localhost:5432'.
|
||||
2023-01-02 10:10:34.957 -06:00 [DBG] Closed connection to database 'mlb-game-day' on server ''.
|
||||
2023-01-02 10:10:34.960 -06:00 [DBG] List of registered output formatters, in the following order: ["Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter"]
|
||||
2023-01-02 10:10:34.961 -06:00 [DBG] No information found on request to perform content negotiation.
|
||||
2023-01-02 10:10:34.961 -06:00 [DBG] Attempting to select an output formatter without using a content type as no explicit content types were specified for the response.
|
||||
2023-01-02 10:10:34.961 -06:00 [DBG] Attempting to select the first formatter in the output formatters list which can write the result.
|
||||
2023-01-02 10:10:34.961 -06:00 [DBG] Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter' and content type 'application/json' to write the response.
|
||||
2023-01-02 10:10:34.961 -06:00 [INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Venues.Models.VenueDto, Venues, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
|
||||
2023-01-02 10:10:34.966 -06:00 [INF] Executed action Venues.Controllers.VenuesController.GetVenues (Venues) in 966.0274ms
|
||||
2023-01-02 10:10:34.967 -06:00 [INF] Executed endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)'
|
||||
2023-01-02 10:10:34.968 -06:00 [DBG] Connection id "0HMNCRFEKCP11" completed keep alive response.
|
||||
2023-01-02 10:10:34.971 -06:00 [DBG] 'MlbGameDayContext' disposed.
|
||||
2023-01-02 10:10:34.973 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/api/venues - - - 200 - application/json;+charset=utf-8 1012.9068ms
|
||||
2023-01-02 10:10:59.826 -06:00 [DBG] Connection id "0HMNCRFEKCP0V" received FIN.
|
||||
2023-01-02 10:10:59.826 -06:00 [DBG] Connection id "0HMNCRFEKCP0U" received FIN.
|
||||
2023-01-02 10:10:59.857 -06:00 [DBG] Connection id "0HMNCRFEKCP0U" sending FIN because: "The client closed the connection."
|
||||
2023-01-02 10:10:59.857 -06:00 [DBG] Connection id "0HMNCRFEKCP0V" sending FIN because: "The client closed the connection."
|
||||
2023-01-02 10:10:59.858 -06:00 [DBG] Connection id "0HMNCRFEKCP0U" disconnecting.
|
||||
2023-01-02 10:10:59.858 -06:00 [DBG] Connection id "0HMNCRFEKCP0V" disconnecting.
|
||||
2023-01-02 10:10:59.861 -06:00 [DBG] Connection id "0HMNCRFEKCP0V" stopped.
|
||||
2023-01-02 10:10:59.861 -06:00 [DBG] Connection id "0HMNCRFEKCP0U" stopped.
|
||||
2023-01-02 10:21:41.325 -06:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
|
||||
2023-01-02 10:21:41.377 -06:00 [DBG] Hosting starting
|
||||
2023-01-02 10:21:41.462 -06:00 [DBG] Using development certificate: CN=localhost (Thumbprint: D1AC045DA5B402C2D2761887E1B189C128A0E6AE)
|
||||
2023-01-02 10:21:41.576 -06:00 [INF] Now listening on: https://localhost:7103
|
||||
2023-01-02 10:21:41.576 -06:00 [INF] Now listening on: http://localhost:5106
|
||||
2023-01-02 10:21:41.576 -06:00 [DBG] Loaded hosting startup assembly Venues
|
||||
2023-01-02 10:21:41.576 -06:00 [INF] Application started. Press Ctrl+C to shut down.
|
||||
2023-01-02 10:21:41.576 -06:00 [INF] Hosting environment: Development
|
||||
2023-01-02 10:21:41.577 -06:00 [INF] Content root path: /Users/noahspannbauer/Developer/Work/mlb-game-day/Venues/
|
||||
2023-01-02 10:21:41.577 -06:00 [DBG] Hosting started
|
||||
2023-01-02 10:21:41.582 -06:00 [DBG] Connection id "0HMNCRLNBFKOT" accepted.
|
||||
2023-01-02 10:21:41.583 -06:00 [DBG] Connection id "0HMNCRLNBFKOT" started.
|
||||
2023-01-02 10:21:42.495 -06:00 [DBG] Connection id "0HMNCRLNBFKOT" received FIN.
|
||||
2023-01-02 10:21:42.509 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2023-01-02 10:21:42.560 -06:00 [DBG] Connection id "0HMNCRLNBFKOT" stopped.
|
||||
2023-01-02 10:21:42.563 -06:00 [DBG] Connection id "0HMNCRLNBFKOT" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2023-01-02 10:21:42.630 -06:00 [DBG] Connection id "0HMNCRLNBFKOU" accepted.
|
||||
2023-01-02 10:21:42.631 -06:00 [DBG] Connection id "0HMNCRLNBFKOU" started.
|
||||
2023-01-02 10:21:42.693 -06:00 [DBG] Connection 0HMNCRLNBFKOU established using the following protocol: "Tls12"
|
||||
2023-01-02 10:21:42.795 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/index.html - -
|
||||
2023-01-02 10:21:42.796 -06:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
|
||||
2023-01-02 10:21:42.842 -06:00 [DBG] Connection id "0HMNCRLNBFKOU" completed keep alive response.
|
||||
2023-01-02 10:21:42.843 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/index.html - - - 200 - text/html;charset=utf-8 49.5092ms
|
||||
2023-01-02 10:21:42.945 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - -
|
||||
2023-01-02 10:21:43.012 -06:00 [DBG] Connection id "0HMNCRLNBFKOU" completed keep alive response.
|
||||
2023-01-02 10:21:43.012 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 67.1338ms
|
||||
2023-01-02 10:21:48.085 -06:00 [DBG] Connection id "0HMNCRLNBFKOV" received FIN.
|
||||
2023-01-02 10:21:48.091 -06:00 [DBG] Connection id "0HMNCRLNBFKOV" accepted.
|
||||
2023-01-02 10:21:48.093 -06:00 [DBG] Connection id "0HMNCRLNBFKOV" started.
|
||||
2023-01-02 10:21:48.118 -06:00 [DBG] Connection id "0HMNCRLNBFKP0" accepted.
|
||||
2023-01-02 10:21:48.119 -06:00 [DBG] Connection id "0HMNCRLNBFKP0" started.
|
||||
2023-01-02 10:21:48.120 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2023-01-02 10:21:48.123 -06:00 [DBG] Connection id "0HMNCRLNBFKOV" stopped.
|
||||
2023-01-02 10:21:48.124 -06:00 [DBG] Connection id "0HMNCRLNBFKOV" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2023-01-02 10:21:48.151 -06:00 [DBG] Connection 0HMNCRLNBFKP0 established using the following protocol: "Tls12"
|
||||
2023-01-02 10:21:48.165 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/api/venues - -
|
||||
2023-01-02 10:21:48.168 -06:00 [DBG] The request path does not match the path filter
|
||||
2023-01-02 10:21:48.185 -06:00 [DBG] 1 candidate(s) found for the request path '/api/venues'
|
||||
2023-01-02 10:21:48.188 -06:00 [DBG] Endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)' with route pattern 'api/venues' is valid for the request path '/api/venues'
|
||||
2023-01-02 10:21:48.189 -06:00 [DBG] Request matched endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)'
|
||||
2023-01-02 10:21:48.191 -06:00 [INF] Executing endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)'
|
||||
2023-01-02 10:21:48.203 -06:00 [INF] Route matched with {action = "GetVenues", controller = "Venues"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[Venues.Models.VenueDto]]] GetVenues() on controller Venues.Controllers.VenuesController (Venues).
|
||||
2023-01-02 10:21:48.204 -06:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
|
||||
2023-01-02 10:21:48.204 -06:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
|
||||
2023-01-02 10:21:48.204 -06:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
|
||||
2023-01-02 10:21:48.204 -06:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
|
||||
2023-01-02 10:21:48.204 -06:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
|
||||
2023-01-02 10:21:48.205 -06:00 [DBG] Executing controller factory for controller Venues.Controllers.VenuesController (Venues)
|
||||
2023-01-02 10:21:48.307 -06:00 [DBG] An 'IServiceProvider' was created for internal use by Entity Framework.
|
||||
2023-01-02 10:21:48.387 -06:00 [DBG] Executed controller factory for controller Venues.Controllers.VenuesController (Venues)
|
||||
2023-01-02 10:21:48.730 -06:00 [INF] Entity Framework Core 6.0.12 initialized 'MlbGameDayContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.8+e68dfe8b5cbe4a26d20acc36def6187aa1cfdda3' with options: None
|
||||
2023-01-02 10:21:48.755 -06:00 [DBG] Compiling query expression:
|
||||
'DbSet<Venue>()
|
||||
.OrderBy(v => v.Name)'
|
||||
2023-01-02 10:21:48.913 -06:00 [DBG] Generated query execution expression:
|
||||
'queryContext => new SingleQueryingEnumerable<Venue>(
|
||||
(RelationalQueryContext)queryContext,
|
||||
RelationalCommandCache.SelectExpression(
|
||||
Projection Mapping:
|
||||
EmptyProjectionMember -> Dictionary<IProperty, int> { [Property: Venue.Active (string), 0], [Property: Venue.Id (int?), 1], [Property: Venue.Link (string), 2], [Property: Venue.Name (string), 3] }
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
ORDER BY v.name ASC),
|
||||
Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, Venue>,
|
||||
Venues.DbContexts.MlbGameDayContext,
|
||||
False,
|
||||
False,
|
||||
True
|
||||
)'
|
||||
2023-01-02 10:21:48.939 -06:00 [DBG] Creating DbCommand for 'ExecuteReader'.
|
||||
2023-01-02 10:21:48.980 -06:00 [DBG] Created DbCommand for 'ExecuteReader' (40ms).
|
||||
2023-01-02 10:21:48.986 -06:00 [DBG] Opening connection to database 'mlb-game-day' on server ''.
|
||||
2023-01-02 10:21:49.187 -06:00 [DBG] Opened connection to database 'mlb-game-day' on server 'tcp://localhost:5432'.
|
||||
2023-01-02 10:21:49.194 -06:00 [DBG] Executing DbCommand [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
ORDER BY v.name
|
||||
2023-01-02 10:21:49.247 -06:00 [INF] Executed DbCommand (54ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
ORDER BY v.name
|
||||
2023-01-02 10:21:49.268 -06:00 [DBG] A data reader was disposed.
|
||||
2023-01-02 10:21:49.274 -06:00 [DBG] Closing connection to database 'mlb-game-day' on server 'tcp://localhost:5432'.
|
||||
2023-01-02 10:21:49.279 -06:00 [DBG] Closed connection to database 'mlb-game-day' on server ''.
|
||||
2023-01-02 10:21:49.295 -06:00 [DBG] List of registered output formatters, in the following order: ["Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter"]
|
||||
2023-01-02 10:21:49.296 -06:00 [DBG] No information found on request to perform content negotiation.
|
||||
2023-01-02 10:21:49.296 -06:00 [DBG] Attempting to select an output formatter without using a content type as no explicit content types were specified for the response.
|
||||
2023-01-02 10:21:49.296 -06:00 [DBG] Attempting to select the first formatter in the output formatters list which can write the result.
|
||||
2023-01-02 10:21:49.296 -06:00 [DBG] Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter' and content type 'application/json' to write the response.
|
||||
2023-01-02 10:21:49.296 -06:00 [INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Venues.Models.VenueDto, Venues, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
|
||||
2023-01-02 10:21:49.302 -06:00 [INF] Executed action Venues.Controllers.VenuesController.GetVenues (Venues) in 1094.9008ms
|
||||
2023-01-02 10:21:49.302 -06:00 [INF] Executed endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)'
|
||||
2023-01-02 10:21:49.304 -06:00 [DBG] Connection id "0HMNCRLNBFKP0" completed keep alive response.
|
||||
2023-01-02 10:21:49.306 -06:00 [DBG] 'MlbGameDayContext' disposed.
|
||||
2023-01-02 10:21:49.310 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/api/venues - - - 200 - application/json;+charset=utf-8 1144.6185ms
|
||||
2023-01-02 10:22:13.034 -06:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
|
||||
2023-01-02 10:22:13.087 -06:00 [DBG] Hosting starting
|
||||
2023-01-02 10:22:13.175 -06:00 [DBG] Using development certificate: CN=localhost (Thumbprint: D1AC045DA5B402C2D2761887E1B189C128A0E6AE)
|
||||
2023-01-02 10:22:13.290 -06:00 [INF] Now listening on: https://localhost:7103
|
||||
2023-01-02 10:22:13.290 -06:00 [INF] Now listening on: http://localhost:5106
|
||||
2023-01-02 10:22:13.290 -06:00 [DBG] Loaded hosting startup assembly Venues
|
||||
2023-01-02 10:22:13.291 -06:00 [INF] Application started. Press Ctrl+C to shut down.
|
||||
2023-01-02 10:22:13.291 -06:00 [INF] Hosting environment: Development
|
||||
2023-01-02 10:22:13.291 -06:00 [INF] Content root path: /Users/noahspannbauer/Developer/Work/mlb-game-day/Venues/
|
||||
2023-01-02 10:22:13.291 -06:00 [DBG] Hosting started
|
||||
2023-01-02 10:22:13.296 -06:00 [DBG] Connection id "0HMNCRM0PTSFL" accepted.
|
||||
2023-01-02 10:22:13.297 -06:00 [DBG] Connection id "0HMNCRM0PTSFL" started.
|
||||
2023-01-02 10:22:14.243 -06:00 [DBG] Connection id "0HMNCRM0PTSFL" received FIN.
|
||||
2023-01-02 10:22:14.257 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2023-01-02 10:22:14.376 -06:00 [DBG] Connection id "0HMNCRM0PTSFL" stopped.
|
||||
2023-01-02 10:22:14.382 -06:00 [DBG] Connection id "0HMNCRM0PTSFL" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2023-01-02 10:22:14.438 -06:00 [DBG] Connection id "0HMNCRM0PTSFM" accepted.
|
||||
2023-01-02 10:22:14.438 -06:00 [DBG] Connection id "0HMNCRM0PTSFM" started.
|
||||
2023-01-02 10:22:14.507 -06:00 [DBG] Connection 0HMNCRM0PTSFM established using the following protocol: "Tls12"
|
||||
2023-01-02 10:22:14.618 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/index.html - -
|
||||
2023-01-02 10:22:14.619 -06:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
|
||||
2023-01-02 10:22:14.668 -06:00 [DBG] Connection id "0HMNCRM0PTSFM" completed keep alive response.
|
||||
2023-01-02 10:22:14.669 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/index.html - - - 200 - text/html;charset=utf-8 52.2322ms
|
||||
2023-01-02 10:22:14.776 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - -
|
||||
2023-01-02 10:22:14.843 -06:00 [DBG] Connection id "0HMNCRM0PTSFM" completed keep alive response.
|
||||
2023-01-02 10:22:14.844 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 67.4693ms
|
||||
2023-01-02 10:22:21.776 -06:00 [DBG] Connection id "0HMNCRM0PTSFN" received FIN.
|
||||
2023-01-02 10:22:21.777 -06:00 [DBG] Connection id "0HMNCRM0PTSFN" accepted.
|
||||
2023-01-02 10:22:21.777 -06:00 [DBG] Connection id "0HMNCRM0PTSFN" started.
|
||||
2023-01-02 10:22:21.777 -06:00 [DBG] Connection id "0HMNCRM0PTSFO" accepted.
|
||||
2023-01-02 10:22:21.804 -06:00 [DBG] Connection id "0HMNCRM0PTSFO" started.
|
||||
2023-01-02 10:22:21.804 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2023-01-02 10:22:21.807 -06:00 [DBG] Connection id "0HMNCRM0PTSFN" stopped.
|
||||
2023-01-02 10:22:21.807 -06:00 [DBG] Connection id "0HMNCRM0PTSFN" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2023-01-02 10:22:21.836 -06:00 [DBG] Connection 0HMNCRM0PTSFO established using the following protocol: "Tls12"
|
||||
2023-01-02 10:22:21.845 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/api/venues - -
|
||||
2023-01-02 10:22:21.850 -06:00 [DBG] The request path does not match the path filter
|
||||
2023-01-02 10:22:21.868 -06:00 [DBG] 1 candidate(s) found for the request path '/api/venues'
|
||||
2023-01-02 10:22:21.870 -06:00 [DBG] Endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)' with route pattern 'api/venues' is valid for the request path '/api/venues'
|
||||
2023-01-02 10:22:21.871 -06:00 [DBG] Request matched endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)'
|
||||
2023-01-02 10:22:21.874 -06:00 [INF] Executing endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)'
|
||||
2023-01-02 10:22:21.886 -06:00 [INF] Route matched with {action = "GetVenues", controller = "Venues"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[Venues.Models.VenueDto]]] GetVenues() on controller Venues.Controllers.VenuesController (Venues).
|
||||
2023-01-02 10:22:21.886 -06:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
|
||||
2023-01-02 10:22:21.886 -06:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
|
||||
2023-01-02 10:22:21.886 -06:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
|
||||
2023-01-02 10:22:21.886 -06:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
|
||||
2023-01-02 10:22:21.886 -06:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
|
||||
2023-01-02 10:22:21.886 -06:00 [DBG] Executing controller factory for controller Venues.Controllers.VenuesController (Venues)
|
||||
2023-01-02 10:22:22.001 -06:00 [DBG] An 'IServiceProvider' was created for internal use by Entity Framework.
|
||||
2023-01-02 10:22:22.089 -06:00 [DBG] Executed controller factory for controller Venues.Controllers.VenuesController (Venues)
|
||||
2023-01-02 10:22:22.436 -06:00 [INF] Entity Framework Core 6.0.12 initialized 'MlbGameDayContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.8+e68dfe8b5cbe4a26d20acc36def6187aa1cfdda3' with options: None
|
||||
2023-01-02 10:22:22.461 -06:00 [DBG] Compiling query expression:
|
||||
'DbSet<Venue>()
|
||||
.OrderBy(v => v.Name)'
|
||||
2023-01-02 10:22:22.623 -06:00 [DBG] Generated query execution expression:
|
||||
'queryContext => new SingleQueryingEnumerable<Venue>(
|
||||
(RelationalQueryContext)queryContext,
|
||||
RelationalCommandCache.SelectExpression(
|
||||
Projection Mapping:
|
||||
EmptyProjectionMember -> Dictionary<IProperty, int> { [Property: Venue.Active (string), 0], [Property: Venue.Id (int?), 1], [Property: Venue.Link (string), 2], [Property: Venue.Name (string), 3] }
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
ORDER BY v.name ASC),
|
||||
Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, Venue>,
|
||||
Venues.DbContexts.MlbGameDayContext,
|
||||
False,
|
||||
False,
|
||||
True
|
||||
)'
|
||||
2023-01-02 10:22:22.649 -06:00 [DBG] Creating DbCommand for 'ExecuteReader'.
|
||||
2023-01-02 10:22:22.690 -06:00 [DBG] Created DbCommand for 'ExecuteReader' (39ms).
|
||||
2023-01-02 10:22:22.696 -06:00 [DBG] Opening connection to database 'mlb-game-day' on server ''.
|
||||
2023-01-02 10:22:22.858 -06:00 [DBG] Opened connection to database 'mlb-game-day' on server 'tcp://localhost:5432'.
|
||||
2023-01-02 10:22:22.864 -06:00 [DBG] Executing DbCommand [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
ORDER BY v.name
|
||||
2023-01-02 10:22:22.909 -06:00 [INF] Executed DbCommand (44ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
ORDER BY v.name
|
||||
2023-01-02 10:22:22.927 -06:00 [DBG] A data reader was disposed.
|
||||
2023-01-02 10:22:22.932 -06:00 [DBG] Closing connection to database 'mlb-game-day' on server 'tcp://localhost:5432'.
|
||||
2023-01-02 10:22:22.936 -06:00 [DBG] Closed connection to database 'mlb-game-day' on server ''.
|
||||
2023-01-02 10:22:22.951 -06:00 [DBG] List of registered output formatters, in the following order: ["Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter"]
|
||||
2023-01-02 10:22:22.952 -06:00 [DBG] No information found on request to perform content negotiation.
|
||||
2023-01-02 10:22:22.952 -06:00 [DBG] Attempting to select an output formatter without using a content type as no explicit content types were specified for the response.
|
||||
2023-01-02 10:22:22.952 -06:00 [DBG] Attempting to select the first formatter in the output formatters list which can write the result.
|
||||
2023-01-02 10:22:22.952 -06:00 [DBG] Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter' and content type 'application/json' to write the response.
|
||||
2023-01-02 10:22:22.952 -06:00 [INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Venues.Models.VenueDto, Venues, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
|
||||
2023-01-02 10:22:22.957 -06:00 [INF] Executed action Venues.Controllers.VenuesController.GetVenues (Venues) in 1068.576ms
|
||||
2023-01-02 10:22:22.958 -06:00 [INF] Executed endpoint 'Venues.Controllers.VenuesController.GetVenues (Venues)'
|
||||
2023-01-02 10:22:22.959 -06:00 [DBG] Connection id "0HMNCRM0PTSFO" completed keep alive response.
|
||||
2023-01-02 10:22:22.962 -06:00 [DBG] 'MlbGameDayContext' disposed.
|
||||
2023-01-02 10:22:22.965 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/api/venues - - - 200 - application/json;+charset=utf-8 1120.2250ms
|
||||
2023-01-02 10:22:58.141 -06:00 [DBG] Connection id "0HMNCRM0PTSFM" received FIN.
|
||||
2023-01-02 10:22:58.180 -06:00 [DBG] Connection id "0HMNCRM0PTSFM" sending FIN because: "The client closed the connection."
|
||||
2023-01-02 10:22:58.181 -06:00 [DBG] Connection id "0HMNCRM0PTSFM" disconnecting.
|
||||
2023-01-02 10:22:58.184 -06:00 [DBG] Connection id "0HMNCRM0PTSFM" stopped.
|
||||
2023-01-02 10:28:15.209 -06:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
|
||||
2023-01-02 10:28:15.262 -06:00 [DBG] Hosting starting
|
||||
2023-01-02 10:28:15.360 -06:00 [DBG] Using development certificate: CN=localhost (Thumbprint: D1AC045DA5B402C2D2761887E1B189C128A0E6AE)
|
||||
2023-01-02 10:28:15.503 -06:00 [INF] Now listening on: https://localhost:7103
|
||||
2023-01-02 10:28:15.529 -06:00 [INF] Now listening on: http://localhost:5106
|
||||
2023-01-02 10:28:15.529 -06:00 [DBG] Loaded hosting startup assembly Venues
|
||||
2023-01-02 10:28:15.529 -06:00 [INF] Application started. Press Ctrl+C to shut down.
|
||||
2023-01-02 10:28:15.529 -06:00 [INF] Hosting environment: Development
|
||||
2023-01-02 10:28:15.529 -06:00 [INF] Content root path: /Users/noahspannbauer/Developer/Work/mlb-game-day/Venues/
|
||||
2023-01-02 10:28:15.529 -06:00 [DBG] Hosting started
|
||||
2023-01-02 10:28:15.535 -06:00 [DBG] Connection id "0HMNCRPCOGC2P" accepted.
|
||||
2023-01-02 10:28:15.536 -06:00 [DBG] Connection id "0HMNCRPCOGC2P" started.
|
||||
2023-01-02 10:28:16.404 -06:00 [DBG] Connection id "0HMNCRPCOGC2P" received FIN.
|
||||
2023-01-02 10:28:16.417 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2023-01-02 10:28:16.457 -06:00 [DBG] Connection id "0HMNCRPCOGC2P" stopped.
|
||||
2023-01-02 10:28:16.460 -06:00 [DBG] Connection id "0HMNCRPCOGC2P" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2023-01-02 10:28:16.511 -06:00 [DBG] Connection id "0HMNCRPCOGC2Q" accepted.
|
||||
2023-01-02 10:28:16.512 -06:00 [DBG] Connection id "0HMNCRPCOGC2Q" started.
|
||||
2023-01-02 10:28:16.568 -06:00 [DBG] Connection 0HMNCRPCOGC2Q established using the following protocol: "Tls12"
|
||||
2023-01-02 10:28:16.676 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/index.html - -
|
||||
2023-01-02 10:28:16.676 -06:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
|
||||
2023-01-02 10:28:16.725 -06:00 [DBG] Connection id "0HMNCRPCOGC2Q" completed keep alive response.
|
||||
2023-01-02 10:28:16.726 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/index.html - - - 200 - text/html;charset=utf-8 51.8814ms
|
||||
2023-01-02 10:28:16.833 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - -
|
||||
2023-01-02 10:28:16.902 -06:00 [DBG] Connection id "0HMNCRPCOGC2Q" completed keep alive response.
|
||||
2023-01-02 10:28:16.902 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 68.6707ms
|
||||
2023-01-02 10:28:27.989 -06:00 [DBG] Connection id "0HMNCRPCOGC2R" received FIN.
|
||||
2023-01-02 10:28:27.990 -06:00 [DBG] Connection id "0HMNCRPCOGC2R" accepted.
|
||||
2023-01-02 10:28:27.991 -06:00 [DBG] Connection id "0HMNCRPCOGC2R" started.
|
||||
2023-01-02 10:28:27.991 -06:00 [DBG] Connection id "0HMNCRPCOGC2S" accepted.
|
||||
2023-01-02 10:28:27.991 -06:00 [DBG] Connection id "0HMNCRPCOGC2S" started.
|
||||
2023-01-02 10:28:27.992 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2023-01-02 10:28:27.993 -06:00 [DBG] Connection id "0HMNCRPCOGC2R" stopped.
|
||||
2023-01-02 10:28:27.994 -06:00 [DBG] Connection id "0HMNCRPCOGC2R" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2023-01-02 10:28:28.021 -06:00 [DBG] Connection 0HMNCRPCOGC2S established using the following protocol: "Tls12"
|
||||
2023-01-02 10:28:28.027 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/api/venues/3312 - -
|
||||
2023-01-02 10:28:28.029 -06:00 [DBG] The request path does not match the path filter
|
||||
2023-01-02 10:28:28.043 -06:00 [DBG] 1 candidate(s) found for the request path '/api/venues/3312'
|
||||
2023-01-02 10:28:28.046 -06:00 [DBG] Endpoint 'Venues.Controllers.VenuesController.GetVenue (Venues)' with route pattern 'api/venues/{id}' is valid for the request path '/api/venues/3312'
|
||||
2023-01-02 10:28:28.046 -06:00 [DBG] Request matched endpoint 'Venues.Controllers.VenuesController.GetVenue (Venues)'
|
||||
2023-01-02 10:28:28.049 -06:00 [INF] Executing endpoint 'Venues.Controllers.VenuesController.GetVenue (Venues)'
|
||||
2023-01-02 10:28:28.070 -06:00 [INF] Route matched with {action = "GetVenue", controller = "Venues"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[Venues.Models.VenueDto]] GetVenue(Int32) on controller Venues.Controllers.VenuesController (Venues).
|
||||
2023-01-02 10:28:28.070 -06:00 [DBG] Execution plan of authorization filters (in the following order): ["None"]
|
||||
2023-01-02 10:28:28.071 -06:00 [DBG] Execution plan of resource filters (in the following order): ["None"]
|
||||
2023-01-02 10:28:28.071 -06:00 [DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000)"]
|
||||
2023-01-02 10:28:28.071 -06:00 [DBG] Execution plan of exception filters (in the following order): ["None"]
|
||||
2023-01-02 10:28:28.071 -06:00 [DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)"]
|
||||
2023-01-02 10:28:28.071 -06:00 [DBG] Executing controller factory for controller Venues.Controllers.VenuesController (Venues)
|
||||
2023-01-02 10:28:28.175 -06:00 [DBG] An 'IServiceProvider' was created for internal use by Entity Framework.
|
||||
2023-01-02 10:28:28.254 -06:00 [DBG] Executed controller factory for controller Venues.Controllers.VenuesController (Venues)
|
||||
2023-01-02 10:28:28.256 -06:00 [DBG] Attempting to bind parameter 'id' of type 'System.Int32' ...
|
||||
2023-01-02 10:28:28.256 -06:00 [DBG] Attempting to bind parameter 'id' of type 'System.Int32' using the name 'id' in request data ...
|
||||
2023-01-02 10:28:28.257 -06:00 [DBG] Done attempting to bind parameter 'id' of type 'System.Int32'.
|
||||
2023-01-02 10:28:28.257 -06:00 [DBG] Done attempting to bind parameter 'id' of type 'System.Int32'.
|
||||
2023-01-02 10:28:28.257 -06:00 [DBG] Attempting to validate the bound parameter 'id' of type 'System.Int32' ...
|
||||
2023-01-02 10:28:28.257 -06:00 [DBG] Done attempting to validate the bound parameter 'id' of type 'System.Int32'.
|
||||
2023-01-02 10:28:28.607 -06:00 [INF] Entity Framework Core 6.0.12 initialized 'MlbGameDayContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.8+e68dfe8b5cbe4a26d20acc36def6187aa1cfdda3' with options: None
|
||||
2023-01-02 10:28:28.644 -06:00 [DBG] Compiling query expression:
|
||||
'DbSet<Venue>()
|
||||
.Where(v => v.Id == __venueId_0)
|
||||
.FirstOrDefault()'
|
||||
2023-01-02 10:28:28.809 -06:00 [DBG] Generated query execution expression:
|
||||
'queryContext => ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync<Venue>(
|
||||
asyncEnumerable: new SingleQueryingEnumerable<Venue>(
|
||||
(RelationalQueryContext)queryContext,
|
||||
RelationalCommandCache.SelectExpression(
|
||||
Projection Mapping:
|
||||
EmptyProjectionMember -> Dictionary<IProperty, int> { [Property: Venue.Active (string), 0], [Property: Venue.Id (int?), 1], [Property: Venue.Link (string), 2], [Property: Venue.Name (string), 3] }
|
||||
SELECT TOP(1) v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
WHERE v.id == @__venueId_0),
|
||||
Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, Venue>,
|
||||
Venues.DbContexts.MlbGameDayContext,
|
||||
False,
|
||||
False,
|
||||
True
|
||||
),
|
||||
cancellationToken: queryContext.CancellationToken)'
|
||||
2023-01-02 10:28:28.844 -06:00 [DBG] Creating DbCommand for 'ExecuteReader'.
|
||||
2023-01-02 10:28:28.887 -06:00 [DBG] Created DbCommand for 'ExecuteReader' (41ms).
|
||||
2023-01-02 10:28:28.894 -06:00 [DBG] Opening connection to database 'mlb-game-day' on server ''.
|
||||
2023-01-02 10:28:29.058 -06:00 [DBG] Opened connection to database 'mlb-game-day' on server 'tcp://localhost:5432'.
|
||||
2023-01-02 10:28:29.066 -06:00 [DBG] Executing DbCommand [Parameters=[@__venueId_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
WHERE v.id = @__venueId_0
|
||||
LIMIT 1
|
||||
2023-01-02 10:28:29.119 -06:00 [INF] Executed DbCommand (56ms) [Parameters=[@__venueId_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
|
||||
SELECT v.active, v.id, v.link, v.name
|
||||
FROM venue AS v
|
||||
WHERE v.id = @__venueId_0
|
||||
LIMIT 1
|
||||
2023-01-02 10:28:29.139 -06:00 [DBG] A data reader was disposed.
|
||||
2023-01-02 10:28:29.144 -06:00 [DBG] Closing connection to database 'mlb-game-day' on server 'tcp://localhost:5432'.
|
||||
2023-01-02 10:28:29.148 -06:00 [DBG] Closed connection to database 'mlb-game-day' on server ''.
|
||||
2023-01-02 10:28:29.157 -06:00 [DBG] List of registered output formatters, in the following order: ["Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter","Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter"]
|
||||
2023-01-02 10:28:29.158 -06:00 [DBG] No information found on request to perform content negotiation.
|
||||
2023-01-02 10:28:29.158 -06:00 [DBG] Attempting to select an output formatter without using a content type as no explicit content types were specified for the response.
|
||||
2023-01-02 10:28:29.158 -06:00 [DBG] Attempting to select the first formatter in the output formatters list which can write the result.
|
||||
2023-01-02 10:28:29.158 -06:00 [DBG] Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter' and content type 'application/json' to write the response.
|
||||
2023-01-02 10:28:29.158 -06:00 [INF] Executing OkObjectResult, writing value of type 'Venues.Models.VenueDto'.
|
||||
2023-01-02 10:28:29.163 -06:00 [INF] Executed action Venues.Controllers.VenuesController.GetVenue (Venues) in 1089.8089ms
|
||||
2023-01-02 10:28:29.164 -06:00 [INF] Executed endpoint 'Venues.Controllers.VenuesController.GetVenue (Venues)'
|
||||
2023-01-02 10:28:29.165 -06:00 [DBG] Connection id "0HMNCRPCOGC2S" completed keep alive response.
|
||||
2023-01-02 10:28:29.168 -06:00 [DBG] 'MlbGameDayContext' disposed.
|
||||
2023-01-02 10:28:29.172 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/api/venues/3312 - - - 200 - application/json;+charset=utf-8 1145.4517ms
|
||||
2023-01-02 10:29:02.056 -06:00 [DBG] Connection id "0HMNCRPCOGC2Q" received FIN.
|
||||
2023-01-02 10:29:02.109 -06:00 [DBG] Connection id "0HMNCRPCOGC2Q" sending FIN because: "The client closed the connection."
|
||||
2023-01-02 10:29:02.110 -06:00 [DBG] Connection id "0HMNCRPCOGC2Q" disconnecting.
|
||||
2023-01-02 10:29:02.113 -06:00 [DBG] Connection id "0HMNCRPCOGC2Q" stopped.
|
||||
2023-01-02 10:29:09.777 -06:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
|
||||
2023-01-02 10:29:09.849 -06:00 [DBG] Hosting starting
|
||||
2023-01-02 10:29:09.939 -06:00 [DBG] Using development certificate: CN=localhost (Thumbprint: D1AC045DA5B402C2D2761887E1B189C128A0E6AE)
|
||||
2023-01-02 10:29:09.999 -06:00 [INF] Now listening on: https://localhost:7103
|
||||
2023-01-02 10:29:09.999 -06:00 [INF] Now listening on: http://localhost:5106
|
||||
2023-01-02 10:29:10.000 -06:00 [DBG] Loaded hosting startup assembly Venues
|
||||
2023-01-02 10:29:10.000 -06:00 [INF] Application started. Press Ctrl+C to shut down.
|
||||
2023-01-02 10:29:10.000 -06:00 [INF] Hosting environment: Development
|
||||
2023-01-02 10:29:10.000 -06:00 [INF] Content root path: /Users/noahspannbauer/Developer/Work/mlb-game-day/Venues/
|
||||
2023-01-02 10:29:10.000 -06:00 [DBG] Hosting started
|
||||
2023-01-02 10:29:10.007 -06:00 [DBG] Connection id "0HMNCRPSVVSRR" accepted.
|
||||
2023-01-02 10:29:10.033 -06:00 [DBG] Connection id "0HMNCRPSVVSRR" started.
|
||||
2023-01-02 10:29:11.002 -06:00 [DBG] Connection id "0HMNCRPSVVSRR" received FIN.
|
||||
2023-01-02 10:29:11.017 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2023-01-02 10:29:11.066 -06:00 [DBG] Connection id "0HMNCRPSVVSRR" stopped.
|
||||
2023-01-02 10:29:11.070 -06:00 [DBG] Connection id "0HMNCRPSVVSRR" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2023-01-02 10:29:11.140 -06:00 [DBG] Connection id "0HMNCRPSVVSRS" accepted.
|
||||
2023-01-02 10:29:11.141 -06:00 [DBG] Connection id "0HMNCRPSVVSRS" started.
|
||||
2023-01-02 10:29:11.197 -06:00 [DBG] Connection 0HMNCRPSVVSRS established using the following protocol: "Tls12"
|
||||
2023-01-02 10:29:11.315 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/index.html - -
|
||||
2023-01-02 10:29:11.315 -06:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
|
||||
2023-01-02 10:29:11.364 -06:00 [DBG] Connection id "0HMNCRPSVVSRS" completed keep alive response.
|
||||
2023-01-02 10:29:11.365 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/index.html - - - 200 - text/html;charset=utf-8 51.4456ms
|
||||
2023-01-02 10:29:11.472 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - -
|
||||
2023-01-02 10:29:11.539 -06:00 [DBG] Connection id "0HMNCRPSVVSRS" completed keep alive response.
|
||||
2023-01-02 10:29:11.539 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 66.7127ms
|
||||
2023-01-02 10:29:17.659 -06:00 [DBG] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider","Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"]
|
||||
2023-01-02 10:29:17.733 -06:00 [DBG] Hosting starting
|
||||
2023-01-02 10:29:17.833 -06:00 [DBG] Using development certificate: CN=localhost (Thumbprint: D1AC045DA5B402C2D2761887E1B189C128A0E6AE)
|
||||
2023-01-02 10:29:17.992 -06:00 [INF] Now listening on: https://localhost:7103
|
||||
2023-01-02 10:29:17.992 -06:00 [INF] Now listening on: http://localhost:5106
|
||||
2023-01-02 10:29:17.992 -06:00 [DBG] Loaded hosting startup assembly Venues
|
||||
2023-01-02 10:29:17.992 -06:00 [INF] Application started. Press Ctrl+C to shut down.
|
||||
2023-01-02 10:29:17.993 -06:00 [INF] Hosting environment: Development
|
||||
2023-01-02 10:29:17.993 -06:00 [INF] Content root path: /Users/noahspannbauer/Developer/Work/mlb-game-day/Venues/
|
||||
2023-01-02 10:29:17.993 -06:00 [DBG] Hosting started
|
||||
2023-01-02 10:29:17.999 -06:00 [DBG] Connection id "0HMNCRPVC6QKH" accepted.
|
||||
2023-01-02 10:29:18.000 -06:00 [DBG] Connection id "0HMNCRPVC6QKH" started.
|
||||
2023-01-02 10:29:18.855 -06:00 [DBG] Connection id "0HMNCRPVC6QKH" received FIN.
|
||||
2023-01-02 10:29:18.874 -06:00 [DBG] Failed to authenticate HTTPS connection.
|
||||
System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
|
||||
at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
|
||||
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
|
||||
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
|
||||
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
|
||||
2023-01-02 10:29:18.897 -06:00 [DBG] Connection id "0HMNCRPVC6QKH" stopped.
|
||||
2023-01-02 10:29:18.900 -06:00 [DBG] Connection id "0HMNCRPVC6QKH" sending FIN because: "The Socket transport's send loop completed gracefully."
|
||||
2023-01-02 10:29:18.901 -06:00 [DBG] Connection id "0HMNCRPVC6QKI" accepted.
|
||||
2023-01-02 10:29:18.901 -06:00 [DBG] Connection id "0HMNCRPVC6QKI" started.
|
||||
2023-01-02 10:29:18.942 -06:00 [DBG] Connection 0HMNCRPVC6QKI established using the following protocol: "Tls12"
|
||||
2023-01-02 10:29:18.968 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/index.html - -
|
||||
2023-01-02 10:29:18.968 -06:00 [DBG] Wildcard detected, all requests with hosts will be allowed.
|
||||
2023-01-02 10:29:19.018 -06:00 [DBG] Connection id "0HMNCRPVC6QKI" completed keep alive response.
|
||||
2023-01-02 10:29:19.019 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/index.html - - - 200 - text/html;charset=utf-8 53.3133ms
|
||||
2023-01-02 10:29:19.074 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - -
|
||||
2023-01-02 10:29:19.130 -06:00 [DBG] Connection id "0HMNCRPVC6QKI" completed keep alive response.
|
||||
2023-01-02 10:29:19.130 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:7103/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 55.5481ms
|
||||
Reference in New Issue
Block a user