Commit 26554026 authored by cann-alberto's avatar cann-alberto
Browse files

first commit

parent 3fa76582
...@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 ...@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17 # Visual Studio Version 17
VisualStudioVersion = 17.11.35312.102 VisualStudioVersion = 17.11.35312.102
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1", "WebApplication1\WebApplication1.csproj", "{6F661852-364B-4030-AA18-3C29F916DFA7}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MMM-Server", "MMM-Server\MMM-Server.csproj", "{219572AA-400D-419B-9C5D-707ABF6496AF}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
...@@ -11,15 +11,15 @@ Global ...@@ -11,15 +11,15 @@ Global
Release|Any CPU = Release|Any CPU Release|Any CPU = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6F661852-364B-4030-AA18-3C29F916DFA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {219572AA-400D-419B-9C5D-707ABF6496AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6F661852-364B-4030-AA18-3C29F916DFA7}.Debug|Any CPU.Build.0 = Debug|Any CPU {219572AA-400D-419B-9C5D-707ABF6496AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6F661852-364B-4030-AA18-3C29F916DFA7}.Release|Any CPU.ActiveCfg = Release|Any CPU {219572AA-400D-419B-9C5D-707ABF6496AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6F661852-364B-4030-AA18-3C29F916DFA7}.Release|Any CPU.Build.0 = Release|Any CPU {219572AA-400D-419B-9C5D-707ABF6496AF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {709D5799-6258-4FCC-A435-E29E9A942BE2} SolutionGuid = {09C0B7CE-5187-42EC-B9FD-E79D0F546734}
EndGlobalSection EndGlobalSection
EndGlobal EndGlobal
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
namespace WebApplication1.Controllers namespace MMM_Server.Controllers
{ {
[ApiController] [ApiController]
[Route("[controller]")] [Route("[controller]")]
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MMM_Server</RootNamespace>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
......
@MMM_Server_HostAddress = http://localhost:5141
GET {{MMM_Server_HostAddress}}/weatherforecast/
Accept: application/json
###
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
"windowsAuthentication": false, "windowsAuthentication": false,
"anonymousAuthentication": true, "anonymousAuthentication": true,
"iisExpress": { "iisExpress": {
"applicationUrl": "http://localhost:37479", "applicationUrl": "http://localhost:54833",
"sslPort": 44346 "sslPort": 44387
} }
}, },
"profiles": { "profiles": {
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"dotnetRunMessages": true, "dotnetRunMessages": true,
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "swagger", "launchUrl": "swagger",
"applicationUrl": "http://localhost:5042", "applicationUrl": "http://localhost:5141",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
"dotnetRunMessages": true, "dotnetRunMessages": true,
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "swagger", "launchUrl": "swagger",
"applicationUrl": "https://localhost:7273;http://localhost:5042", "applicationUrl": "https://localhost:7099;http://localhost:5141",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }
......
namespace WebApplication1 namespace MMM_Server
{ {
public class WeatherForecast public class WeatherForecast
{ {
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
"compilationOptions": {}, "compilationOptions": {},
"targets": { "targets": {
".NETCoreApp,Version=v8.0": { ".NETCoreApp,Version=v8.0": {
"WebApplication1/1.0.0": { "MMM-Server/1.0.0": {
"dependencies": { "dependencies": {
"Swashbuckle.AspNetCore": "6.4.0" "Swashbuckle.AspNetCore": "6.4.0"
}, },
"runtime": { "runtime": {
"WebApplication1.dll": {} "MMM-Server.dll": {}
} }
}, },
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {}, "Microsoft.Extensions.ApiDescription.Server/6.0.5": {},
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
} }
}, },
"libraries": { "libraries": {
"WebApplication1/1.0.0": { "MMM-Server/1.0.0": {
"type": "project", "type": "project",
"serviceable": false, "serviceable": false,
"sha512": "" "sha512": ""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment