├── LICENSE
├── README.MD
├── _docs
├── DTO.png
├── architecture.png
├── assets
│ ├── carbon.png
│ └── icon.png
├── modelo de arquitetura.pptx
├── notes.md
└── prompts.md
└── src
├── .vs
└── MegamanApi
│ └── v15
│ └── .suo
├── .vscode
├── launch.json
└── tasks.json
├── Controllers
└── RobotsController.cs
├── Database
├── DTOs
│ └── Robots
│ │ ├── RobotCreateDTO.cs
│ │ └── RobotReadDTO.cs
├── EntityFramework
│ ├── Context
│ │ └── RobotsContext.cs
│ └── Migrations
│ │ ├── 20201010003954_InitialMigration.Designer.cs
│ │ ├── 20201010003954_InitialMigration.cs
│ │ └── RobotsContextModelSnapshot.cs
└── Repositories
│ └── Robots
│ ├── IRobotRepository.cs
│ ├── MockRobotRepository.cs
│ └── SqlRobotRepository.cs
├── MegamanApi.csproj
├── MegamanApi.sln
├── Models
└── Robot.cs
├── Program.cs
├── Properties
└── launchSettings.json
├── Services
└── Robots
│ ├── IRobotServices.cs
│ └── RobotServices.cs
├── Startup.cs
├── appsettings.Development.json
├── appsettings.json
├── bin
└── Debug
│ └── netcoreapp3.1
│ ├── MegamanApi.deps.json
│ ├── MegamanApi.dll
│ ├── MegamanApi.exe
│ ├── MegamanApi.pdb
│ ├── MegamanApi.runtimeconfig.dev.json
│ ├── MegamanApi.runtimeconfig.json
│ ├── Microsoft.Bcl.AsyncInterfaces.dll
│ ├── Microsoft.Bcl.HashCode.dll
│ ├── Microsoft.Data.SqlClient.dll
│ ├── Microsoft.EntityFrameworkCore.Abstractions.dll
│ ├── Microsoft.EntityFrameworkCore.Design.dll
│ ├── Microsoft.EntityFrameworkCore.Relational.dll
│ ├── Microsoft.EntityFrameworkCore.SqlServer.dll
│ ├── Microsoft.EntityFrameworkCore.dll
│ ├── Microsoft.Extensions.Caching.Abstractions.dll
│ ├── Microsoft.Extensions.Caching.Memory.dll
│ ├── Microsoft.Extensions.Configuration.Abstractions.dll
│ ├── Microsoft.Extensions.Configuration.Binder.dll
│ ├── Microsoft.Extensions.Configuration.dll
│ ├── Microsoft.Extensions.DependencyInjection.Abstractions.dll
│ ├── Microsoft.Extensions.DependencyInjection.dll
│ ├── Microsoft.Extensions.Logging.Abstractions.dll
│ ├── Microsoft.Extensions.Logging.dll
│ ├── Microsoft.Extensions.Options.dll
│ ├── Microsoft.Extensions.Primitives.dll
│ ├── Microsoft.Identity.Client.dll
│ ├── Microsoft.IdentityModel.JsonWebTokens.dll
│ ├── Microsoft.IdentityModel.Logging.dll
│ ├── Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
│ ├── Microsoft.IdentityModel.Protocols.dll
│ ├── Microsoft.IdentityModel.Tokens.dll
│ ├── Newtonsoft.Json.dll
│ ├── Properties
│ └── launchSettings.json
│ ├── System.Collections.Immutable.dll
│ ├── System.Configuration.ConfigurationManager.dll
│ ├── System.Diagnostics.DiagnosticSource.dll
│ ├── System.IdentityModel.Tokens.Jwt.dll
│ ├── System.Runtime.Caching.dll
│ ├── System.Security.Cryptography.ProtectedData.dll
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ ├── global.json
│ └── runtimes
│ ├── unix
│ └── lib
│ │ ├── netcoreapp2.0
│ │ └── System.Runtime.Caching.dll
│ │ └── netcoreapp2.1
│ │ └── Microsoft.Data.SqlClient.dll
│ ├── win-arm64
│ └── native
│ │ └── sni.dll
│ ├── win-x64
│ └── native
│ │ └── sni.dll
│ ├── win-x86
│ └── native
│ │ └── sni.dll
│ └── win
│ └── lib
│ ├── netcoreapp2.0
│ └── System.Runtime.Caching.dll
│ ├── netcoreapp2.1
│ └── Microsoft.Data.SqlClient.dll
│ └── netstandard2.0
│ └── System.Security.Cryptography.ProtectedData.dll
├── global.json
├── middlewares
├── MiddlewareLog.cs
└── MiddlewareLogExtesions.cs
└── obj
├── Debug
└── netcoreapp3.1
│ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs
│ ├── MegamanApi.AssemblyInfo.cs
│ ├── MegamanApi.AssemblyInfoInputs.cache
│ ├── MegamanApi.GeneratedMSBuildEditorConfig.editorconfig
│ ├── MegamanApi.MvcApplicationPartsAssemblyInfo.cache
│ ├── MegamanApi.RazorTargetAssemblyInfo.cache
│ ├── MegamanApi.assets.cache
│ ├── MegamanApi.csproj.AssemblyReference.cache
│ ├── MegamanApi.csproj.CopyComplete
│ ├── MegamanApi.csproj.CoreCompileInputs.cache
│ ├── MegamanApi.csproj.FileListAbsolute.txt
│ ├── MegamanApi.csprojAssemblyReference.cache
│ ├── MegamanApi.dll
│ ├── MegamanApi.exe
│ ├── MegamanApi.genruntimeconfig.cache
│ ├── MegamanApi.pdb
│ ├── apphost.exe
│ └── staticwebassets
│ ├── MegamanApi.StaticWebAssets.Manifest.cache
│ └── MegamanApi.StaticWebAssets.xml
├── MegamanApi.csproj.nuget.dgspec.json
├── MegamanApi.csproj.nuget.g.props
├── MegamanApi.csproj.nuget.g.targets
├── project.assets.json
└── project.nuget.cache
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2020 Felipe Aguiar
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/README.MD:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 | Mega Man Robots API
10 |
11 | (MEGA-MAN-ROBOTS)
14 |
15 |
18 |
22 |
23 |
24 |
28 |
29 |
30 |
31 |
32 | This .NET Core API is designed to serve JSON formatted data about bosses from
33 | the Mega Man series. It is a backend service built with .NET Core 3.1 and
34 | various modern dependencies for data management and API response handling.
35 |
36 |
37 |
38 |
39 | Developed with Entity Framework Core and other modern .NET technologies, this
40 | project aims to provide a robust API for accessing Mega Man robot data.
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | ## API Endpoints
50 |
51 |
52 |
53 | Method |
54 | Endpoint |
55 | Description |
56 |
57 |
58 | GET |
59 | /api/v1/robots |
60 | Returns a list of all robots |
61 |
62 |
63 | GET |
64 | /api/v1/robots/{id} |
65 | Returns details of a specific robot by ID |
66 |
67 |
68 | POST |
69 | /api/v1/robots |
70 | Endpoint to create a new robot entry |
71 |
72 |
73 |
74 | ## Techniques Used
75 |
76 |
77 | - Entity Framework Core: ORM for data management.
78 | - RESTful API Design: Ensures clear and effective communication
79 | endpoints.
80 | - Dependency Injection: Used throughout to promote loose coupling and
81 | enhanced testability.
82 |
83 |
84 | ## Dependencies
85 |
86 |
87 |
88 | Package |
89 | Version |
90 | Link |
91 |
92 |
93 | Microsoft.EntityFrameworkCore |
94 | 3.1.8 |
95 |
96 | NuGet
100 | |
101 |
102 |
103 | Microsoft.EntityFrameworkCore.Design |
104 | 3.1.8 |
105 |
106 | NuGet
110 | |
111 |
112 |
113 | Microsoft.EntityFrameworkCore.SqlServer |
114 | 3.1.8 |
115 |
116 | NuGet
120 | |
121 |
122 |
123 | Newtonsoft.Json |
124 | 12.0.2 |
125 |
126 | NuGet
127 | |
128 |
129 |
130 |
131 | ## :gear: Arch
132 |
133 | ```🌐
134 | src
135 | ├── 📂 Controllers [Routes for endpoints]
136 | ├── 📂 Models [Database models]
137 | ├── 📂 Services [Business rules]
138 | ├── 📂 Middlewares [Intermediate functions between the HTTP request and the final server response]
139 | ├── 📂 Database [Structures related to the database]
140 | │ ├── 📂 DTOs [Input Models and View Models (Data Transfer Objects)]
141 | │ ├── 📂 EntityFramework [Files related to the ORM Entity Framework]
142 | │ │ ├── 📂 Context [Entity context settings]
143 | │ │ ├── 📂 Migrations [Migrations for database updates]
144 | │ ├── 📂 Repositories [Repository pattern]
145 | ```
146 |
147 | ## License This software is licensed under the terms of the [MIT]
148 |
149 | ⌨️ FelipeAguiar -
150 | [Github](https://github.com/felipeAguiarCode)
151 |
--------------------------------------------------------------------------------
/_docs/DTO.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/_docs/DTO.png
--------------------------------------------------------------------------------
/_docs/architecture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/_docs/architecture.png
--------------------------------------------------------------------------------
/_docs/assets/carbon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/_docs/assets/carbon.png
--------------------------------------------------------------------------------
/_docs/assets/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/_docs/assets/icon.png
--------------------------------------------------------------------------------
/_docs/modelo de arquitetura.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/_docs/modelo de arquitetura.pptx
--------------------------------------------------------------------------------
/_docs/notes.md:
--------------------------------------------------------------------------------
1 | # Arquitetura
2 | src
3 | 📂|- Controllers
4 | 📂|- Services
5 | 📂|- Database
6 | 📂|- DTOs
7 | 📂|- EntityFramework
8 | 📂|- Repositories
9 | 📂|- Middlewares
10 | 📂|- Models
11 |
12 | # Padronização:
13 | - Controllers no plural
14 | - Models no singular
15 |
16 | # Services lifetimes
17 | - AddSingleton
18 | - O Mesmo para todas Requisições
19 | - AddScoped
20 | - Criado um para cada client request
21 | - Transient
22 | - Nova instancia é criada toda vez
23 |
24 | # Pontos importantes
25 | - Sempre dependa de contratos, nunca de implementação
26 |
27 | parei em [2h 44m 15s](https://www.youtube.com/watch?v=fmvcAzHpsk8&t=7454s)
28 |
29 |
30 |
31 | # Adicionado migrations com:
32 | dotnet ef migrations add InitialMigration -o Database/Entity/Migrations
33 |
34 | # Sobre Data Bindings:
35 | https://docs.microsoft.com/en-us/aspnet/core/mvc/advanced/custom-model-binding?view=aspnetcore-3.1
36 |
37 | # Sobre testes
38 | - Crie um projeto de testes com:
39 | dotnet new mstest -o NetCoreTesting.Tests
40 |
41 | - Referencia no projeto principal com:
42 | dotnet add reference ..\NetCoreTesting.Core\NetCoreTesting.Core.csproj.
43 |
44 | - adicione:
45 | - dotnet add package Microsoft.VisualStudio.QualityTools.UnitTestFramework --version 11.0.50727.1
--------------------------------------------------------------------------------
/_docs/prompts.md:
--------------------------------------------------------------------------------
1 | contexto:
2 | Este projeto é um projeto de uma api feito em dotnet, para listar os dados dos bosses de megaman, o objetivo principal é ser um backend que fornece jsons no formato abaixo:
3 |
4 | ```
5 | {
6 | Id =1,
7 | Code = "DLN/DRN-003",
8 | Name = "Cutman",
9 | HP = 150,
10 | Picture = "https://vignette.wikia.nocookie.net/megaman/images/2/22/Cutman.png"
11 | }
12 | ```
13 |
14 | Especificações do projeto:
15 |
16 | ```
17 |
18 |
19 |
20 | netcoreapp3.1
21 |
22 |
23 |
24 |
25 |
26 | runtime; build; native; contentfiles; analyzers; buildtransitive
27 | all
28 |
29 |
30 |
31 |
32 |
33 |
34 | ```
35 |
36 | os endpoints do projeto são:
37 | namespace Megaman.Controllers
38 |
39 | ```
40 | {
41 | //api/v1/robots
42 | [ApiController]
43 | [Route("api/v1/robots")]
44 | public class RobotsController : ControllerBase
45 | {
46 | private readonly IRobotServices _services;
47 | public RobotsController(IRobotServices services)
48 | {
49 | _services = services;
50 | }
51 |
52 | //GET api/robots
53 | [HttpGet]
54 | public ActionResult> GetAllRobots()
55 | {
56 | var robotItems = _services.SearchAll();
57 | return Ok(robotItems);
58 | }
59 |
60 | //GET api/v1/robots/{id}
61 | [HttpGet]
62 | [Route("{id:int}")]
63 | public object GetCommandById([FromRoute]int id)
64 | {
65 | var robot = _services.SearchById(id);
66 |
67 | if(robot != null)
68 | return Ok(robot);
69 |
70 | return NotFound(
71 | new { message = "Nenhum robo encontrado" }
72 | );
73 | }
74 |
75 | //POST api/v1/robots
76 | [HttpPost]
77 | public ActionResult RobotSend(){
78 | return Ok();
79 | }
80 |
81 |
82 | }
83 | }
84 | ```
85 |
86 | REGRAS:
87 |
88 | - Sempre que citar alguma dependência do projeto, deixe ela como hyperlink para a página oficial daquela dependência
89 | - Organize as dependências em uma sessão em formato de tabela
90 |
91 | - crie uma estrutura do projeto com base na arvore de pastas abaixo, e crie uma sessão para explicitar as técnicas utilizadas
92 |
93 | .vs
94 | .vscode
95 | bin
96 | Controllers
97 | Database
98 | middlewares
99 | Models
100 | obj
101 | Properties
102 | Services
103 | appsettings.Development.json
104 | appsettings.json
105 | global.json
106 | MegamanApi.csproj
107 | MegamanApi.sln
108 | Program.cs
109 | Startup.cs
110 |
--------------------------------------------------------------------------------
/src/.vs/MegamanApi/v15/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/.vs/MegamanApi/v15/.suo
--------------------------------------------------------------------------------
/src/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (web)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/MegamanApi.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | "stopAtEntry": false,
17 | // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
18 | "serverReadyAction": {
19 | "action": "openExternally",
20 | "pattern": "\\bNow listening on:\\s+(https?://\\S+)"
21 | },
22 | "env": {
23 | "ASPNETCORE_ENVIRONMENT": "Development"
24 | },
25 | "sourceFileMap": {
26 | "/Views": "${workspaceFolder}/Views"
27 | }
28 | },
29 | {
30 | "name": ".NET Core Attach",
31 | "type": "coreclr",
32 | "request": "attach",
33 | "processId": "${command:pickProcess}"
34 | }
35 | ]
36 | }
--------------------------------------------------------------------------------
/src/.vscode/tasks.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "2.0.0",
3 | "tasks": [
4 | {
5 | "label": "build",
6 | "command": "dotnet",
7 | "type": "process",
8 | "args": [
9 | "build",
10 | "${workspaceFolder}/MegamanApi.csproj",
11 | "/property:GenerateFullPaths=true",
12 | "/consoleloggerparameters:NoSummary"
13 | ],
14 | "problemMatcher": "$msCompile"
15 | },
16 | {
17 | "label": "publish",
18 | "command": "dotnet",
19 | "type": "process",
20 | "args": [
21 | "publish",
22 | "${workspaceFolder}/MegamanApi.csproj",
23 | "/property:GenerateFullPaths=true",
24 | "/consoleloggerparameters:NoSummary"
25 | ],
26 | "problemMatcher": "$msCompile"
27 | },
28 | {
29 | "label": "watch",
30 | "command": "dotnet",
31 | "type": "process",
32 | "args": [
33 | "watch",
34 | "run",
35 | "${workspaceFolder}/MegamanApi.csproj",
36 | "/property:GenerateFullPaths=true",
37 | "/consoleloggerparameters:NoSummary"
38 | ],
39 | "problemMatcher": "$msCompile"
40 | }
41 | ]
42 | }
--------------------------------------------------------------------------------
/src/Controllers/RobotsController.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using Megaman.Dtos;
3 | using Megaman.Services;
4 | using Microsoft.AspNetCore.Mvc;
5 |
6 | namespace Megaman.Controllers
7 | {
8 | //api/v1/robots
9 | [ApiController]
10 | [Route("api/v1/robots")]
11 | public class RobotsController : ControllerBase
12 | {
13 | private readonly IRobotServices _services;
14 | public RobotsController(IRobotServices services)
15 | {
16 | _services = services;
17 | }
18 |
19 | //GET api/robots
20 | [HttpGet]
21 | public ActionResult> GetAllRobots()
22 | {
23 | var robotItems = _services.SearchAll();
24 | return Ok(robotItems);
25 | }
26 |
27 | //GET api/v1/robots/{id}
28 | [HttpGet]
29 | [Route("{id:int}")]
30 | public object GetCommandById([FromRoute]int id)
31 | {
32 | var robot = _services.SearchById(id);
33 |
34 | if(robot != null)
35 | return Ok(robot);
36 |
37 | return NotFound(
38 | new { message = "Nenhum robo encontrado" }
39 | );
40 | }
41 |
42 | //POST api/v1/robots
43 | [HttpPost]
44 | public ActionResult RobotSend(){
45 | return Ok();
46 | }
47 |
48 |
49 | }
50 | }
--------------------------------------------------------------------------------
/src/Database/DTOs/Robots/RobotCreateDTO.cs:
--------------------------------------------------------------------------------
1 | namespace Megaman.Dtos
2 | {
3 | public sealed class RobotCreateDTO
4 | {
5 | public string Name { get; set; }
6 | public string Code { get; set; }
7 | public int HP { get; set; }
8 | public string Picture { get; set; }
9 | }
10 | }
--------------------------------------------------------------------------------
/src/Database/DTOs/Robots/RobotReadDTO.cs:
--------------------------------------------------------------------------------
1 | namespace Megaman.Dtos
2 | {
3 | public sealed class RobotReadDTO
4 | {
5 | public int Id { get; set; }
6 | public string Name { get; set; }
7 | public string Code { get; set; }
8 | public int HP { get; set; }
9 | public string Picture { get; set; }
10 | }
11 | }
--------------------------------------------------------------------------------
/src/Database/EntityFramework/Context/RobotsContext.cs:
--------------------------------------------------------------------------------
1 | using Megaman.Models;
2 | using Microsoft.EntityFrameworkCore;
3 |
4 | namespace Megaman.Database
5 | {
6 | public class RobotsContext: DbContext
7 | {
8 | public RobotsContext(DbContextOptions options):base(options){
9 |
10 | }
11 |
12 | public DbSet Robots { get; set; }
13 |
14 | }
15 | }
--------------------------------------------------------------------------------
/src/Database/EntityFramework/Migrations/20201010003954_InitialMigration.Designer.cs:
--------------------------------------------------------------------------------
1 | //
2 | using Megaman.Database;
3 | using Microsoft.EntityFrameworkCore;
4 | using Microsoft.EntityFrameworkCore.Infrastructure;
5 | using Microsoft.EntityFrameworkCore.Metadata;
6 | using Microsoft.EntityFrameworkCore.Migrations;
7 | using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
8 |
9 | namespace Megaman.Database.Entity.Migrations
10 | {
11 | [DbContext(typeof(RobotsContext))]
12 | [Migration("20201010003954_InitialMigration")]
13 | partial class InitialMigration
14 | {
15 | protected override void BuildTargetModel(ModelBuilder modelBuilder)
16 | {
17 | #pragma warning disable 612, 618
18 | modelBuilder
19 | .HasAnnotation("ProductVersion", "3.1.8")
20 | .HasAnnotation("Relational:MaxIdentifierLength", 128)
21 | .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
22 |
23 | modelBuilder.Entity("Megaman.Models.Robot", b =>
24 | {
25 | b.Property("Id")
26 | .ValueGeneratedOnAdd()
27 | .HasColumnType("int")
28 | .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
29 |
30 | b.Property("Code")
31 | .IsRequired()
32 | .HasColumnType("nvarchar(20)")
33 | .HasMaxLength(20);
34 |
35 | b.Property("HP")
36 | .HasColumnType("int");
37 |
38 | b.Property("Name")
39 | .IsRequired()
40 | .HasColumnType("nvarchar(80)")
41 | .HasMaxLength(80);
42 |
43 | b.Property("Picture")
44 | .HasColumnType("nvarchar(200)")
45 | .HasMaxLength(200);
46 |
47 | b.HasKey("Id");
48 |
49 | b.ToTable("tblRobots");
50 | });
51 | #pragma warning restore 612, 618
52 | }
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/src/Database/EntityFramework/Migrations/20201010003954_InitialMigration.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore.Migrations;
2 |
3 | namespace Megaman.Database.Entity.Migrations
4 | {
5 | public partial class InitialMigration : Migration
6 | {
7 | protected override void Up(MigrationBuilder migrationBuilder)
8 | {
9 | migrationBuilder.CreateTable(
10 | name: "tblRobots",
11 | columns: table => new
12 | {
13 | Id = table.Column(nullable: false)
14 | .Annotation("SqlServer:Identity", "1, 1"),
15 | Name = table.Column(maxLength: 80, nullable: false),
16 | Code = table.Column(maxLength: 20, nullable: false),
17 | HP = table.Column(nullable: false),
18 | Picture = table.Column(maxLength: 200, nullable: true)
19 | },
20 | constraints: table =>
21 | {
22 | table.PrimaryKey("PK_tblRobots", x => x.Id);
23 | });
24 | }
25 |
26 | protected override void Down(MigrationBuilder migrationBuilder)
27 | {
28 | migrationBuilder.DropTable(
29 | name: "tblRobots");
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/src/Database/EntityFramework/Migrations/RobotsContextModelSnapshot.cs:
--------------------------------------------------------------------------------
1 | //
2 | using Megaman.Database;
3 | using Microsoft.EntityFrameworkCore;
4 | using Microsoft.EntityFrameworkCore.Infrastructure;
5 | using Microsoft.EntityFrameworkCore.Metadata;
6 | using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
7 |
8 | namespace Megaman.Database.Entity.Migrations
9 | {
10 | [DbContext(typeof(RobotsContext))]
11 | partial class RobotsContextModelSnapshot : ModelSnapshot
12 | {
13 | protected override void BuildModel(ModelBuilder modelBuilder)
14 | {
15 | #pragma warning disable 612, 618
16 | modelBuilder
17 | .HasAnnotation("ProductVersion", "3.1.8")
18 | .HasAnnotation("Relational:MaxIdentifierLength", 128)
19 | .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
20 |
21 | modelBuilder.Entity("Megaman.Models.Robot", b =>
22 | {
23 | b.Property("Id")
24 | .ValueGeneratedOnAdd()
25 | .HasColumnType("int")
26 | .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
27 |
28 | b.Property("Code")
29 | .IsRequired()
30 | .HasColumnType("nvarchar(20)")
31 | .HasMaxLength(20);
32 |
33 | b.Property("HP")
34 | .HasColumnType("int");
35 |
36 | b.Property("Name")
37 | .IsRequired()
38 | .HasColumnType("nvarchar(80)")
39 | .HasMaxLength(80);
40 |
41 | b.Property("Picture")
42 | .HasColumnType("nvarchar(200)")
43 | .HasMaxLength(200);
44 |
45 | b.HasKey("Id");
46 |
47 | b.ToTable("tblRobots");
48 | });
49 | #pragma warning restore 612, 618
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/src/Database/Repositories/Robots/IRobotRepository.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using Megaman.Models;
3 |
4 | namespace Megaman.Database
5 | {
6 | public interface IRobotRepository
7 | {
8 | bool SaveChanges();
9 |
10 | IEnumerable GetAllRobots();
11 |
12 | Robot GetRobotById(int id);
13 |
14 | void AddRobot(Robot robot);
15 |
16 | }
17 | }
--------------------------------------------------------------------------------
/src/Database/Repositories/Robots/MockRobotRepository.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using Megaman.Models;
3 |
4 | namespace Megaman.Database
5 | {
6 | public class MockRobotRepository : IRobotRepository
7 | {
8 | public void AddRobot(Robot robot)
9 | {
10 | throw new System.NotImplementedException();
11 | }
12 |
13 | public IEnumerable GetAllRobots()
14 | {
15 | var robots = new List
16 | {
17 | new Robot{
18 | Id =1,
19 | Code = "DLN/DRN-003",
20 | Name = "Cutman",
21 | HP = 150,
22 | Picture = "https://vignette.wikia.nocookie.net/megaman/images/2/22/Cutman.png"
23 | },
24 | new Robot{
25 | Id =2,
26 | Code = "112",
27 | Name = "Gutman",
28 | HP = 150,
29 | Picture = ""
30 | },
31 | new Robot{
32 | Id =2,
33 | Code = "112",
34 | Name = "Iceman",
35 | HP = 150,
36 | Picture = ""
37 | }
38 | };
39 |
40 | return robots;
41 | }
42 |
43 | public Robot GetRobotById(int id)
44 | {
45 | return new Robot{
46 | Id =0,
47 | Code = "112",
48 | Name = "Cutman",
49 | HP = 150,
50 | Picture = "https://vignette.wikia.nocookie.net/megaman/images/2/22/Cutman.png"
51 | };
52 | }
53 |
54 | public bool SaveChanges()
55 | {
56 | throw new System.NotImplementedException();
57 | }
58 | }
59 |
60 |
61 | }
--------------------------------------------------------------------------------
/src/Database/Repositories/Robots/SqlRobotRepository.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Linq;
3 | using Megaman.Models;
4 |
5 | namespace Megaman.Database
6 | {
7 | public class SqlRobotRepository : IRobotRepository
8 | {
9 | private readonly RobotsContext _context;
10 |
11 | public SqlRobotRepository(RobotsContext context)
12 | {
13 | _context = context;
14 | }
15 |
16 | public void AddRobot(Robot robot)
17 | {
18 | if(robot == null)
19 | {
20 | throw new System.ArgumentNullException(nameof(robot));
21 | }
22 |
23 | _context.Robots.Add(robot);
24 | }
25 |
26 | public IEnumerable GetAllRobots()
27 | {
28 | return _context.Robots.ToList();
29 | }
30 |
31 | public Robot GetRobotById(int id)
32 | {
33 | return _context.Robots.FirstOrDefault( x => x.Id == id);
34 | }
35 |
36 | public bool SaveChanges()
37 | {
38 | return (_context.SaveChanges() >= 0);
39 | }
40 | }
41 | }
--------------------------------------------------------------------------------
/src/MegamanApi.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 |
7 |
8 |
9 |
10 | runtime; build; native; contentfiles; analyzers; buildtransitive
11 | all
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/MegamanApi.sln:
--------------------------------------------------------------------------------
1 | s
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.26124.0
5 | MinimumVisualStudioVersion = 15.0.26124.0
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MegamanApi", "MegamanApi.csproj", "{E4845CDC-2151-4D07-A205-60C2B6E72F62}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Debug|x64 = Debug|x64
12 | Debug|x86 = Debug|x86
13 | Release|Any CPU = Release|Any CPU
14 | Release|x64 = Release|x64
15 | Release|x86 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
21 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Debug|Any CPU.Build.0 = Debug|Any CPU
23 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Debug|x64.ActiveCfg = Debug|Any CPU
24 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Debug|x64.Build.0 = Debug|Any CPU
25 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Debug|x86.ActiveCfg = Debug|Any CPU
26 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Debug|x86.Build.0 = Debug|Any CPU
27 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Release|Any CPU.ActiveCfg = Release|Any CPU
28 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Release|Any CPU.Build.0 = Release|Any CPU
29 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Release|x64.ActiveCfg = Release|Any CPU
30 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Release|x64.Build.0 = Release|Any CPU
31 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Release|x86.ActiveCfg = Release|Any CPU
32 | {E4845CDC-2151-4D07-A205-60C2B6E72F62}.Release|x86.Build.0 = Release|Any CPU
33 | EndGlobalSection
34 | EndGlobal
35 |
--------------------------------------------------------------------------------
/src/Models/Robot.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel.DataAnnotations;
2 | using System.ComponentModel.DataAnnotations.Schema;
3 |
4 | namespace Megaman.Models
5 | {
6 | [Table("tblRobots")]
7 | public class Robot
8 | {
9 | [Key]
10 | public int Id { get; set; }
11 |
12 | [Required]
13 | [MaxLength(80)]
14 | public string Name { get; set; }
15 |
16 | [Required]
17 | [MaxLength(20)]
18 | public string Code { get; set; }
19 |
20 | public int HP { get; set; }
21 |
22 | [MaxLength(200)]
23 | public string Picture { get; set; }
24 | }
25 | }
--------------------------------------------------------------------------------
/src/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using Microsoft.AspNetCore.Hosting;
6 | using Microsoft.Extensions.Configuration;
7 | using Microsoft.Extensions.Hosting;
8 | using Microsoft.Extensions.Logging;
9 |
10 | namespace Megaman
11 | {
12 | public class Program
13 | {
14 | public static void Main(string[] args)
15 | {
16 | CreateHostBuilder(args).Build().Run();
17 | }
18 |
19 | public static IHostBuilder CreateHostBuilder(string[] args) =>
20 | Host.CreateDefaultBuilder(args)
21 | .ConfigureWebHostDefaults(webBuilder =>
22 | {
23 | webBuilder.UseStartup();
24 | });
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/src/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "http://json.schemastore.org/launchsettings.json",
3 | "iisSettings": {
4 | "windowsAuthentication": false,
5 | "anonymousAuthentication": true,
6 | "iisExpress": {
7 | "applicationUrl": "http://localhost:10831",
8 | "sslPort": 44331
9 | }
10 | },
11 | "profiles": {
12 | "IIS Express": {
13 | "commandName": "IISExpress",
14 | "launchBrowser": true,
15 | "launchUrl": "weatherforecast",
16 | "environmentVariables": {
17 | "ASPNETCORE_ENVIRONMENT": "Development"
18 | }
19 | },
20 | "megaman": {
21 | "commandName": "Project",
22 | "launchBrowser": true,
23 | "launchUrl": "weatherforecast",
24 | "applicationUrl": "https://localhost:5001;http://localhost:5000",
25 | "environmentVariables": {
26 | "ASPNETCORE_ENVIRONMENT": "Development"
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/src/Services/Robots/IRobotServices.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using Megaman.Dtos;
3 | using Megaman.Models;
4 |
5 | namespace Megaman.Services
6 | {
7 | public interface IRobotServices
8 | {
9 | IEnumerable SearchAll();
10 |
11 | RobotReadDTO SearchById(int id);
12 |
13 |
14 | }
15 | }
--------------------------------------------------------------------------------
/src/Services/Robots/RobotServices.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using Megaman.Database;
3 | using Megaman.Dtos;
4 | using Megaman.Models;
5 | using Microsoft.AspNetCore.Mvc;
6 |
7 |
8 | namespace Megaman.Services
9 | {
10 | public class RobotServices : IRobotServices
11 | {
12 | private readonly IRobotRepository _repository;
13 |
14 | public RobotServices(IRobotRepository repository)
15 | {
16 | _repository = repository;
17 | }
18 |
19 | public IEnumerable SearchAll(){
20 | return _repository.GetAllRobots();
21 | }
22 |
23 | public RobotReadDTO SearchById(int id){
24 |
25 | var robot = _repository.GetRobotById(id);
26 | RobotReadDTO robotDTO = null;
27 |
28 | if (robot != null){
29 |
30 | robotDTO = new RobotReadDTO(){
31 | Id = robot.Id,
32 | Code = robot.Code,
33 | HP = robot.HP,
34 | Name = robot.Name,
35 | Picture = robot.Picture
36 | };
37 |
38 | }
39 |
40 | return robotDTO;
41 |
42 | }
43 |
44 | }
45 | }
--------------------------------------------------------------------------------
/src/Startup.cs:
--------------------------------------------------------------------------------
1 | using Megaman.Database;
2 | using Megaman.Services;
3 | using Microsoft.AspNetCore.Builder;
4 | using Microsoft.AspNetCore.Hosting;
5 | using Microsoft.EntityFrameworkCore;
6 | using Microsoft.Extensions.Configuration;
7 | using Microsoft.Extensions.DependencyInjection;
8 | using Microsoft.Extensions.Hosting;
9 | using Megaman.Middlewares;
10 |
11 | namespace Megaman
12 | {
13 | public class Startup
14 | {
15 | public Startup(IConfiguration configuration)
16 | {
17 | Configuration = configuration;
18 | }
19 |
20 | public IConfiguration Configuration { get; }
21 |
22 |
23 | public void ConfigureServices(IServiceCollection services)
24 | {
25 | services.AddDbContext(opt => opt.UseSqlServer
26 | (Configuration.GetConnectionString("dev_ambient")) );
27 |
28 | services.AddControllers();
29 |
30 | services.AddScoped();
31 | services.AddScoped();
32 | }
33 |
34 |
35 | public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
36 | {
37 |
38 | if (env.IsDevelopment())
39 | {
40 | app.UseDeveloperExceptionPage();
41 | }
42 |
43 | app.UseMiddlewareLog();
44 |
45 | app.UseHttpsRedirection();
46 |
47 | app.UseRouting();
48 |
49 | app.UseAuthorization();
50 |
51 | app.UseEndpoints(endpoints =>
52 | {
53 | endpoints.MapControllers();
54 | });
55 | }
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/src/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft": "Warning",
6 | "Microsoft.Hosting.Lifetime": "Information"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/src/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft": "Warning",
6 | "Microsoft.Hosting.Lifetime": "Information"
7 | }
8 | },
9 | "AllowedHosts": "*",
10 | "ConnectionStrings":{
11 | "dev_ambient":"Server=localhost;Initial Catalog=dbMegamanApi;User ID=userapi;Password=SudoPass123;"
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/MegamanApi.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/MegamanApi.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/MegamanApi.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/MegamanApi.exe
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/MegamanApi.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/MegamanApi.pdb
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/MegamanApi.runtimeconfig.dev.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "additionalProbingPaths": [
4 | "C:\\Users\\t_faguiar\\.dotnet\\store\\|arch|\\|tfm|",
5 | "C:\\Users\\t_faguiar\\.nuget\\packages",
6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
7 | ]
8 | }
9 | }
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/MegamanApi.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "netcoreapp3.1",
4 | "framework": {
5 | "name": "Microsoft.AspNetCore.App",
6 | "version": "3.1.0"
7 | },
8 | "configProperties": {
9 | "System.GC.Server": true
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Bcl.AsyncInterfaces.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Bcl.AsyncInterfaces.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Bcl.HashCode.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Bcl.HashCode.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Data.SqlClient.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Data.SqlClient.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.EntityFrameworkCore.Abstractions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.EntityFrameworkCore.Abstractions.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.EntityFrameworkCore.Design.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.EntityFrameworkCore.Design.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.EntityFrameworkCore.Relational.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.EntityFrameworkCore.Relational.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.EntityFrameworkCore.SqlServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.EntityFrameworkCore.SqlServer.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.EntityFrameworkCore.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.EntityFrameworkCore.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Caching.Abstractions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Caching.Abstractions.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Caching.Memory.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Caching.Memory.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Configuration.Abstractions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Configuration.Abstractions.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Configuration.Binder.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Configuration.Binder.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Configuration.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Configuration.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.DependencyInjection.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.DependencyInjection.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Logging.Abstractions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Logging.Abstractions.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Logging.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Logging.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Options.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Options.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Primitives.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Extensions.Primitives.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.Identity.Client.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.Identity.Client.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.JsonWebTokens.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.JsonWebTokens.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Logging.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Logging.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Protocols.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Tokens.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Microsoft.IdentityModel.Tokens.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "http://json.schemastore.org/launchsettings.json",
3 | "iisSettings": {
4 | "windowsAuthentication": false,
5 | "anonymousAuthentication": true,
6 | "iisExpress": {
7 | "applicationUrl": "http://localhost:10831",
8 | "sslPort": 44331
9 | }
10 | },
11 | "profiles": {
12 | "IIS Express": {
13 | "commandName": "IISExpress",
14 | "launchBrowser": true,
15 | "launchUrl": "weatherforecast",
16 | "environmentVariables": {
17 | "ASPNETCORE_ENVIRONMENT": "Development"
18 | }
19 | },
20 | "megaman": {
21 | "commandName": "Project",
22 | "launchBrowser": true,
23 | "launchUrl": "weatherforecast",
24 | "applicationUrl": "https://localhost:5001;http://localhost:5000",
25 | "environmentVariables": {
26 | "ASPNETCORE_ENVIRONMENT": "Development"
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/System.Collections.Immutable.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/System.Collections.Immutable.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/System.Configuration.ConfigurationManager.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/System.Configuration.ConfigurationManager.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/System.Diagnostics.DiagnosticSource.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/System.Diagnostics.DiagnosticSource.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/System.IdentityModel.Tokens.Jwt.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/System.IdentityModel.Tokens.Jwt.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/System.Runtime.Caching.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/System.Runtime.Caching.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/System.Security.Cryptography.ProtectedData.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/System.Security.Cryptography.ProtectedData.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft": "Warning",
6 | "Microsoft.Hosting.Lifetime": "Information"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft": "Warning",
6 | "Microsoft.Hosting.Lifetime": "Information"
7 | }
8 | },
9 | "AllowedHosts": "*",
10 | "ConnectionStrings":{
11 | "dev_ambient":"Server=localhost;Initial Catalog=dbMegamanApi;User ID=userapi;Password=SudoPass123;"
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/global.json:
--------------------------------------------------------------------------------
1 | {
2 | "sdk": {
3 | "version": "3.1.302"
4 | }
5 | }
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/runtimes/unix/lib/netcoreapp2.0/System.Runtime.Caching.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/runtimes/unix/lib/netcoreapp2.0/System.Runtime.Caching.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/runtimes/unix/lib/netcoreapp2.1/Microsoft.Data.SqlClient.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/runtimes/unix/lib/netcoreapp2.1/Microsoft.Data.SqlClient.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/runtimes/win-arm64/native/sni.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/runtimes/win-arm64/native/sni.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/runtimes/win-x64/native/sni.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/runtimes/win-x64/native/sni.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/runtimes/win-x86/native/sni.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/runtimes/win-x86/native/sni.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/runtimes/win/lib/netcoreapp2.0/System.Runtime.Caching.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/runtimes/win/lib/netcoreapp2.0/System.Runtime.Caching.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/runtimes/win/lib/netcoreapp2.1/Microsoft.Data.SqlClient.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/runtimes/win/lib/netcoreapp2.1/Microsoft.Data.SqlClient.dll
--------------------------------------------------------------------------------
/src/bin/Debug/netcoreapp3.1/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/bin/Debug/netcoreapp3.1/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll
--------------------------------------------------------------------------------
/src/global.json:
--------------------------------------------------------------------------------
1 | {
2 | "sdk": {
3 | "version": "3.1.302"
4 | }
5 | }
--------------------------------------------------------------------------------
/src/middlewares/MiddlewareLog.cs:
--------------------------------------------------------------------------------
1 | using System.Threading.Tasks;
2 | using Microsoft.AspNetCore.Http;
3 | using Microsoft.Extensions.Logging;
4 |
5 | namespace Megaman.Middlewares
6 | {
7 | public class MiddlewareLog
8 | {
9 | private readonly RequestDelegate _next;
10 | private readonly ILogger _logger;
11 |
12 | public MiddlewareLog(RequestDelegate next, ILoggerFactory logFactory)
13 | {
14 | _next = next;
15 | _logger = logFactory.CreateLogger("MiddlewareLog");
16 | _logger.LogInformation("[Middleware foi iniciado]...");
17 | _logger.LogWarning("[Middleware foi iniciado em warning]...");
18 | _logger.LogError("[Middleware foi iniciado com erros]...");
19 | }
20 |
21 | public async Task Invoke(HttpContext httpContext)
22 | {
23 | _logger.LogInformation("[O Middleware está em execução]...");
24 | await _next.Invoke(httpContext);
25 |
26 | return;
27 | }
28 |
29 | }
30 | }
--------------------------------------------------------------------------------
/src/middlewares/MiddlewareLogExtesions.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Builder;
2 |
3 | namespace Megaman.Middlewares
4 | {
5 | public static class MiddlewareLogExtensions
6 | {
7 | public static IApplicationBuilder UseMiddlewareLog(this IApplicationBuilder builder)
8 | {
9 | return builder.UseMiddleware();
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]
5 |
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | //
5 | // Changes to this file may cause incorrect behavior and will be lost if
6 | // the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | using System;
11 | using System.Reflection;
12 |
13 | [assembly: System.Reflection.AssemblyCompanyAttribute("MegamanApi")]
14 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
15 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
16 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4567eec3965f42faeb5517bf62519616f28e06c2")]
17 | [assembly: System.Reflection.AssemblyProductAttribute("MegamanApi")]
18 | [assembly: System.Reflection.AssemblyTitleAttribute("MegamanApi")]
19 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
20 |
21 | // Generated by the MSBuild WriteCodeFragment class.
22 |
23 |
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 774bc0c9390cad8c64a61e981e1f8fc3ecedfae02ff792ff6a97f9953530ba54
2 |
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.GeneratedMSBuildEditorConfig.editorconfig:
--------------------------------------------------------------------------------
1 | is_global = true
2 | build_property.RootNamespace = MegamanApi
3 | build_property.ProjectDir = C:\records\raw\Documentação\MegaApiDotnetCore\src\
4 | build_property.EnableComHosting =
5 | build_property.EnableGeneratedComInterfaceComImportInterop =
6 |
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.MvcApplicationPartsAssemblyInfo.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/obj/Debug/netcoreapp3.1/MegamanApi.MvcApplicationPartsAssemblyInfo.cache
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.RazorTargetAssemblyInfo.cache:
--------------------------------------------------------------------------------
1 | 2e079a53562b3b11115173b1bae00c83ac9195a2
2 |
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/obj/Debug/netcoreapp3.1/MegamanApi.assets.cache
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.csproj.AssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/obj/Debug/netcoreapp3.1/MegamanApi.csproj.AssemblyReference.cache
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.csproj.CopyComplete:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/obj/Debug/netcoreapp3.1/MegamanApi.csproj.CopyComplete
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 9ce3fe34623e3664ee928ee0c5ed145e17dddc01
2 |
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\appsettings.Development.json
2 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\appsettings.json
3 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\global.json
4 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Properties\launchSettings.json
5 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\MegamanApi.exe
6 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\MegamanApi.deps.json
7 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\MegamanApi.runtimeconfig.json
8 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\MegamanApi.runtimeconfig.dev.json
9 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\MegamanApi.dll
10 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\MegamanApi.pdb
11 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Bcl.AsyncInterfaces.dll
12 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Bcl.HashCode.dll
13 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Data.SqlClient.dll
14 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.EntityFrameworkCore.dll
15 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.EntityFrameworkCore.Abstractions.dll
16 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.EntityFrameworkCore.Design.dll
17 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.EntityFrameworkCore.Relational.dll
18 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.EntityFrameworkCore.SqlServer.dll
19 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Caching.Abstractions.dll
20 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Caching.Memory.dll
21 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.dll
22 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.Abstractions.dll
23 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Configuration.Binder.dll
24 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.DependencyInjection.dll
25 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.DependencyInjection.Abstractions.dll
26 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.dll
27 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Logging.Abstractions.dll
28 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Options.dll
29 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Extensions.Primitives.dll
30 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.Identity.Client.dll
31 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.IdentityModel.JsonWebTokens.dll
32 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.IdentityModel.Logging.dll
33 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.IdentityModel.Protocols.dll
34 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
35 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Microsoft.IdentityModel.Tokens.dll
36 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\Newtonsoft.Json.dll
37 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\System.Collections.Immutable.dll
38 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\System.Configuration.ConfigurationManager.dll
39 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\System.Diagnostics.DiagnosticSource.dll
40 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\System.IdentityModel.Tokens.Jwt.dll
41 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\System.Runtime.Caching.dll
42 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\System.Security.Cryptography.ProtectedData.dll
43 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\runtimes\unix\lib\netcoreapp2.1\Microsoft.Data.SqlClient.dll
44 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp2.1\Microsoft.Data.SqlClient.dll
45 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\runtimes\win-arm64\native\sni.dll
46 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\runtimes\win-x64\native\sni.dll
47 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\runtimes\win-x86\native\sni.dll
48 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\runtimes\unix\lib\netcoreapp2.0\System.Runtime.Caching.dll
49 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp2.0\System.Runtime.Caching.dll
50 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll
51 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\MegamanApi.csprojAssemblyReference.cache
52 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\MegamanApi.AssemblyInfoInputs.cache
53 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\MegamanApi.AssemblyInfo.cs
54 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\MegamanApi.csproj.CoreCompileInputs.cache
55 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\MegamanApi.MvcApplicationPartsAssemblyInfo.cache
56 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\MegamanApi.RazorTargetAssemblyInfo.cache
57 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\MegamanApi.csproj.CopyComplete
58 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\staticwebassets\MegamanApi.StaticWebAssets.Manifest.cache
59 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\staticwebassets\MegamanApi.StaticWebAssets.xml
60 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\MegamanApi.dll
61 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\MegamanApi.pdb
62 | C:\Users\t_faguiar\Documents\estudos\testes\netrest\megaman\src\obj\Debug\netcoreapp3.1\MegamanApi.genruntimeconfig.cache
63 |
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/obj/Debug/netcoreapp3.1/MegamanApi.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/obj/Debug/netcoreapp3.1/MegamanApi.dll
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/obj/Debug/netcoreapp3.1/MegamanApi.exe
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.genruntimeconfig.cache:
--------------------------------------------------------------------------------
1 | 86c8e15dd33445635927cfaf398408205fd11473
2 |
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/MegamanApi.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/obj/Debug/netcoreapp3.1/MegamanApi.pdb
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/apphost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/obj/Debug/netcoreapp3.1/apphost.exe
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/staticwebassets/MegamanApi.StaticWebAssets.Manifest.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/felipeAguiarCode/MegaApiDotnetCore/7d28d1506d5f77f6262b32fdb890dd88bcf5bc79/src/obj/Debug/netcoreapp3.1/staticwebassets/MegamanApi.StaticWebAssets.Manifest.cache
--------------------------------------------------------------------------------
/src/obj/Debug/netcoreapp3.1/staticwebassets/MegamanApi.StaticWebAssets.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/obj/MegamanApi.csproj.nuget.dgspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "format": 1,
3 | "restore": {
4 | "C:\\records\\raw\\Documentação\\MegaApiDotnetCore\\src\\MegamanApi.csproj": {}
5 | },
6 | "projects": {
7 | "C:\\records\\raw\\Documentação\\MegaApiDotnetCore\\src\\MegamanApi.csproj": {
8 | "version": "1.0.0",
9 | "restore": {
10 | "projectUniqueName": "C:\\records\\raw\\Documentação\\MegaApiDotnetCore\\src\\MegamanApi.csproj",
11 | "projectName": "MegamanApi",
12 | "projectPath": "C:\\records\\raw\\Documentação\\MegaApiDotnetCore\\src\\MegamanApi.csproj",
13 | "packagesPath": "C:\\Users\\Felipe\\.nuget\\packages\\",
14 | "outputPath": "C:\\records\\raw\\Documentação\\MegaApiDotnetCore\\src\\obj\\",
15 | "projectStyle": "PackageReference",
16 | "configFilePaths": [
17 | "C:\\Users\\Felipe\\AppData\\Roaming\\NuGet\\NuGet.Config"
18 | ],
19 | "originalTargetFrameworks": [
20 | "netcoreapp3.1"
21 | ],
22 | "sources": {
23 | "https://api.nuget.org/v3/index.json": {}
24 | },
25 | "frameworks": {
26 | "netcoreapp3.1": {
27 | "targetAlias": "netcoreapp3.1",
28 | "projectReferences": {}
29 | }
30 | },
31 | "warningProperties": {
32 | "warnAsError": [
33 | "NU1605"
34 | ]
35 | },
36 | "restoreAuditProperties": {
37 | "enableAudit": "true",
38 | "auditLevel": "low",
39 | "auditMode": "direct"
40 | }
41 | },
42 | "frameworks": {
43 | "netcoreapp3.1": {
44 | "targetAlias": "netcoreapp3.1",
45 | "dependencies": {
46 | "Microsoft.EntityFrameworkCore": {
47 | "target": "Package",
48 | "version": "[3.1.8, )"
49 | },
50 | "Microsoft.EntityFrameworkCore.Design": {
51 | "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
52 | "suppressParent": "All",
53 | "target": "Package",
54 | "version": "[3.1.8, )"
55 | },
56 | "Microsoft.EntityFrameworkCore.SqlServer": {
57 | "target": "Package",
58 | "version": "[3.1.8, )"
59 | },
60 | "Newtonsoft.Json": {
61 | "target": "Package",
62 | "version": "[12.0.2, )"
63 | }
64 | },
65 | "imports": [
66 | "net461",
67 | "net462",
68 | "net47",
69 | "net471",
70 | "net472",
71 | "net48",
72 | "net481"
73 | ],
74 | "assetTargetFallback": true,
75 | "warn": true,
76 | "downloadDependencies": [
77 | {
78 | "name": "Microsoft.AspNetCore.App.Ref",
79 | "version": "[3.1.10, 3.1.10]"
80 | },
81 | {
82 | "name": "Microsoft.NETCore.App.Host.win-x64",
83 | "version": "[3.1.32, 3.1.32]"
84 | },
85 | {
86 | "name": "Microsoft.NETCore.App.Ref",
87 | "version": "[3.1.0, 3.1.0]"
88 | },
89 | {
90 | "name": "Microsoft.WindowsDesktop.App.Ref",
91 | "version": "[3.1.0, 3.1.0]"
92 | }
93 | ],
94 | "frameworkReferences": {
95 | "Microsoft.AspNetCore.App": {
96 | "privateAssets": "none"
97 | },
98 | "Microsoft.NETCore.App": {
99 | "privateAssets": "all"
100 | }
101 | },
102 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.404\\RuntimeIdentifierGraph.json"
103 | }
104 | }
105 | }
106 | }
107 | }
--------------------------------------------------------------------------------
/src/obj/MegamanApi.csproj.nuget.g.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | True
5 | NuGet
6 | $(MSBuildThisFileDirectory)project.assets.json
7 | $(UserProfile)\.nuget\packages\
8 | C:\Users\Felipe\.nuget\packages\
9 | PackageReference
10 | 6.11.1
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/obj/MegamanApi.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/obj/project.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 2,
3 | "dgSpecHash": "oY1pW0QzQn8=",
4 | "success": true,
5 | "projectFilePath": "C:\\records\\raw\\Documentação\\MegaApiDotnetCore\\src\\MegamanApi.csproj",
6 | "expectedPackageFiles": [
7 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\1.1.1\\microsoft.bcl.asyncinterfaces.1.1.1.nupkg.sha512",
8 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.bcl.hashcode\\1.1.0\\microsoft.bcl.hashcode.1.1.0.nupkg.sha512",
9 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
10 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.data.sqlclient\\1.1.3\\microsoft.data.sqlclient.1.1.3.nupkg.sha512",
11 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.entityframeworkcore\\3.1.8\\microsoft.entityframeworkcore.3.1.8.nupkg.sha512",
12 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\3.1.8\\microsoft.entityframeworkcore.abstractions.3.1.8.nupkg.sha512",
13 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\3.1.8\\microsoft.entityframeworkcore.analyzers.3.1.8.nupkg.sha512",
14 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.entityframeworkcore.design\\3.1.8\\microsoft.entityframeworkcore.design.3.1.8.nupkg.sha512",
15 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\3.1.8\\microsoft.entityframeworkcore.relational.3.1.8.nupkg.sha512",
16 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\3.1.8\\microsoft.entityframeworkcore.sqlserver.3.1.8.nupkg.sha512",
17 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\3.1.8\\microsoft.extensions.caching.abstractions.3.1.8.nupkg.sha512",
18 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.caching.memory\\3.1.8\\microsoft.extensions.caching.memory.3.1.8.nupkg.sha512",
19 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.configuration\\3.1.8\\microsoft.extensions.configuration.3.1.8.nupkg.sha512",
20 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\3.1.8\\microsoft.extensions.configuration.abstractions.3.1.8.nupkg.sha512",
21 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.configuration.binder\\3.1.8\\microsoft.extensions.configuration.binder.3.1.8.nupkg.sha512",
22 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\3.1.8\\microsoft.extensions.dependencyinjection.3.1.8.nupkg.sha512",
23 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\3.1.8\\microsoft.extensions.dependencyinjection.abstractions.3.1.8.nupkg.sha512",
24 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.logging\\3.1.8\\microsoft.extensions.logging.3.1.8.nupkg.sha512",
25 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\3.1.8\\microsoft.extensions.logging.abstractions.3.1.8.nupkg.sha512",
26 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.options\\3.1.8\\microsoft.extensions.options.3.1.8.nupkg.sha512",
27 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.extensions.primitives\\3.1.8\\microsoft.extensions.primitives.3.1.8.nupkg.sha512",
28 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.identity.client\\3.0.8\\microsoft.identity.client.3.0.8.nupkg.sha512",
29 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\5.5.0\\microsoft.identitymodel.jsonwebtokens.5.5.0.nupkg.sha512",
30 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.identitymodel.logging\\5.5.0\\microsoft.identitymodel.logging.5.5.0.nupkg.sha512",
31 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.identitymodel.protocols\\5.5.0\\microsoft.identitymodel.protocols.5.5.0.nupkg.sha512",
32 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.identitymodel.protocols.openidconnect\\5.5.0\\microsoft.identitymodel.protocols.openidconnect.5.5.0.nupkg.sha512",
33 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.identitymodel.tokens\\5.5.0\\microsoft.identitymodel.tokens.5.5.0.nupkg.sha512",
34 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.netcore.platforms\\2.0.0\\microsoft.netcore.platforms.2.0.0.nupkg.sha512",
35 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
36 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.win32.registry\\4.5.0\\microsoft.win32.registry.4.5.0.nupkg.sha512",
37 | "C:\\Users\\Felipe\\.nuget\\packages\\newtonsoft.json\\12.0.2\\newtonsoft.json.12.0.2.nupkg.sha512",
38 | "C:\\Users\\Felipe\\.nuget\\packages\\runtime.native.system\\4.3.0\\runtime.native.system.4.3.0.nupkg.sha512",
39 | "C:\\Users\\Felipe\\.nuget\\packages\\runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
40 | "C:\\Users\\Felipe\\.nuget\\packages\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
41 | "C:\\Users\\Felipe\\.nuget\\packages\\runtime.win-x64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
42 | "C:\\Users\\Felipe\\.nuget\\packages\\runtime.win-x86.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
43 | "C:\\Users\\Felipe\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
44 | "C:\\Users\\Felipe\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512",
45 | "C:\\Users\\Felipe\\.nuget\\packages\\system.collections.immutable\\1.7.1\\system.collections.immutable.1.7.1.nupkg.sha512",
46 | "C:\\Users\\Felipe\\.nuget\\packages\\system.collections.nongeneric\\4.3.0\\system.collections.nongeneric.4.3.0.nupkg.sha512",
47 | "C:\\Users\\Felipe\\.nuget\\packages\\system.collections.specialized\\4.3.0\\system.collections.specialized.4.3.0.nupkg.sha512",
48 | "C:\\Users\\Felipe\\.nuget\\packages\\system.componentmodel\\4.3.0\\system.componentmodel.4.3.0.nupkg.sha512",
49 | "C:\\Users\\Felipe\\.nuget\\packages\\system.componentmodel.annotations\\4.7.0\\system.componentmodel.annotations.4.7.0.nupkg.sha512",
50 | "C:\\Users\\Felipe\\.nuget\\packages\\system.componentmodel.primitives\\4.3.0\\system.componentmodel.primitives.4.3.0.nupkg.sha512",
51 | "C:\\Users\\Felipe\\.nuget\\packages\\system.componentmodel.typeconverter\\4.3.0\\system.componentmodel.typeconverter.4.3.0.nupkg.sha512",
52 | "C:\\Users\\Felipe\\.nuget\\packages\\system.configuration.configurationmanager\\4.5.0\\system.configuration.configurationmanager.4.5.0.nupkg.sha512",
53 | "C:\\Users\\Felipe\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512",
54 | "C:\\Users\\Felipe\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.7.1\\system.diagnostics.diagnosticsource.4.7.1.nupkg.sha512",
55 | "C:\\Users\\Felipe\\.nuget\\packages\\system.diagnostics.tools\\4.3.0\\system.diagnostics.tools.4.3.0.nupkg.sha512",
56 | "C:\\Users\\Felipe\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\system.diagnostics.tracing.4.3.0.nupkg.sha512",
57 | "C:\\Users\\Felipe\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512",
58 | "C:\\Users\\Felipe\\.nuget\\packages\\system.globalization.extensions\\4.3.0\\system.globalization.extensions.4.3.0.nupkg.sha512",
59 | "C:\\Users\\Felipe\\.nuget\\packages\\system.identitymodel.tokens.jwt\\5.5.0\\system.identitymodel.tokens.jwt.5.5.0.nupkg.sha512",
60 | "C:\\Users\\Felipe\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512",
61 | "C:\\Users\\Felipe\\.nuget\\packages\\system.io.filesystem\\4.3.0\\system.io.filesystem.4.3.0.nupkg.sha512",
62 | "C:\\Users\\Felipe\\.nuget\\packages\\system.io.filesystem.primitives\\4.3.0\\system.io.filesystem.primitives.4.3.0.nupkg.sha512",
63 | "C:\\Users\\Felipe\\.nuget\\packages\\system.linq\\4.3.0\\system.linq.4.3.0.nupkg.sha512",
64 | "C:\\Users\\Felipe\\.nuget\\packages\\system.net.nameresolution\\4.3.0\\system.net.nameresolution.4.3.0.nupkg.sha512",
65 | "C:\\Users\\Felipe\\.nuget\\packages\\system.net.primitives\\4.3.0\\system.net.primitives.4.3.0.nupkg.sha512",
66 | "C:\\Users\\Felipe\\.nuget\\packages\\system.private.datacontractserialization\\4.3.0\\system.private.datacontractserialization.4.3.0.nupkg.sha512",
67 | "C:\\Users\\Felipe\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512",
68 | "C:\\Users\\Felipe\\.nuget\\packages\\system.reflection.emit\\4.3.0\\system.reflection.emit.4.3.0.nupkg.sha512",
69 | "C:\\Users\\Felipe\\.nuget\\packages\\system.reflection.emit.ilgeneration\\4.3.0\\system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512",
70 | "C:\\Users\\Felipe\\.nuget\\packages\\system.reflection.emit.lightweight\\4.3.0\\system.reflection.emit.lightweight.4.3.0.nupkg.sha512",
71 | "C:\\Users\\Felipe\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512",
72 | "C:\\Users\\Felipe\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512",
73 | "C:\\Users\\Felipe\\.nuget\\packages\\system.reflection.typeextensions\\4.3.0\\system.reflection.typeextensions.4.3.0.nupkg.sha512",
74 | "C:\\Users\\Felipe\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512",
75 | "C:\\Users\\Felipe\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
76 | "C:\\Users\\Felipe\\.nuget\\packages\\system.runtime.caching\\4.5.0\\system.runtime.caching.4.5.0.nupkg.sha512",
77 | "C:\\Users\\Felipe\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.5.0\\system.runtime.compilerservices.unsafe.4.5.0.nupkg.sha512",
78 | "C:\\Users\\Felipe\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512",
79 | "C:\\Users\\Felipe\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512",
80 | "C:\\Users\\Felipe\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512",
81 | "C:\\Users\\Felipe\\.nuget\\packages\\system.runtime.serialization.formatters\\4.3.0\\system.runtime.serialization.formatters.4.3.0.nupkg.sha512",
82 | "C:\\Users\\Felipe\\.nuget\\packages\\system.runtime.serialization.json\\4.3.0\\system.runtime.serialization.json.4.3.0.nupkg.sha512",
83 | "C:\\Users\\Felipe\\.nuget\\packages\\system.runtime.serialization.primitives\\4.3.0\\system.runtime.serialization.primitives.4.3.0.nupkg.sha512",
84 | "C:\\Users\\Felipe\\.nuget\\packages\\system.security.accesscontrol\\4.5.0\\system.security.accesscontrol.4.5.0.nupkg.sha512",
85 | "C:\\Users\\Felipe\\.nuget\\packages\\system.security.cryptography.cng\\4.5.0\\system.security.cryptography.cng.4.5.0.nupkg.sha512",
86 | "C:\\Users\\Felipe\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\system.security.cryptography.primitives.4.3.0.nupkg.sha512",
87 | "C:\\Users\\Felipe\\.nuget\\packages\\system.security.cryptography.protecteddata\\4.5.0\\system.security.cryptography.protecteddata.4.5.0.nupkg.sha512",
88 | "C:\\Users\\Felipe\\.nuget\\packages\\system.security.permissions\\4.5.0\\system.security.permissions.4.5.0.nupkg.sha512",
89 | "C:\\Users\\Felipe\\.nuget\\packages\\system.security.principal.windows\\4.5.0\\system.security.principal.windows.4.5.0.nupkg.sha512",
90 | "C:\\Users\\Felipe\\.nuget\\packages\\system.security.securestring\\4.3.0\\system.security.securestring.4.3.0.nupkg.sha512",
91 | "C:\\Users\\Felipe\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
92 | "C:\\Users\\Felipe\\.nuget\\packages\\system.text.encoding.codepages\\4.5.0\\system.text.encoding.codepages.4.5.0.nupkg.sha512",
93 | "C:\\Users\\Felipe\\.nuget\\packages\\system.text.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.nupkg.sha512",
94 | "C:\\Users\\Felipe\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512",
95 | "C:\\Users\\Felipe\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
96 | "C:\\Users\\Felipe\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
97 | "C:\\Users\\Felipe\\.nuget\\packages\\system.threading.tasks.extensions\\4.3.0\\system.threading.tasks.extensions.4.3.0.nupkg.sha512",
98 | "C:\\Users\\Felipe\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512",
99 | "C:\\Users\\Felipe\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512",
100 | "C:\\Users\\Felipe\\.nuget\\packages\\system.xml.xmldocument\\4.3.0\\system.xml.xmldocument.4.3.0.nupkg.sha512",
101 | "C:\\Users\\Felipe\\.nuget\\packages\\system.xml.xmlserializer\\4.3.0\\system.xml.xmlserializer.4.3.0.nupkg.sha512",
102 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.netcore.app.ref\\3.1.0\\microsoft.netcore.app.ref.3.1.0.nupkg.sha512",
103 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.windowsdesktop.app.ref\\3.1.0\\microsoft.windowsdesktop.app.ref.3.1.0.nupkg.sha512",
104 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\3.1.10\\microsoft.aspnetcore.app.ref.3.1.10.nupkg.sha512",
105 | "C:\\Users\\Felipe\\.nuget\\packages\\microsoft.netcore.app.host.win-x64\\3.1.32\\microsoft.netcore.app.host.win-x64.3.1.32.nupkg.sha512"
106 | ],
107 | "logs": [
108 | {
109 | "code": "NU1903",
110 | "level": "Warning",
111 | "warningLevel": 1,
112 | "message": "Package 'Newtonsoft.Json' 12.0.2 has a known high severity vulnerability, https://github.com/advisories/GHSA-5crp-9r3c-p9vr",
113 | "libraryId": "Newtonsoft.Json",
114 | "targetGraphs": [
115 | ".NETCoreApp,Version=v3.1"
116 | ]
117 | }
118 | ]
119 | }
--------------------------------------------------------------------------------