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
# Visual Studio Version 17
VisualStudioVersion = 17.11.35312.102
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
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
......@@ -11,15 +11,15 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6F661852-364B-4030-AA18-3C29F916DFA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6F661852-364B-4030-AA18-3C29F916DFA7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6F661852-364B-4030-AA18-3C29F916DFA7}.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}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{219572AA-400D-419B-9C5D-707ABF6496AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{219572AA-400D-419B-9C5D-707ABF6496AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{219572AA-400D-419B-9C5D-707ABF6496AF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {709D5799-6258-4FCC-A435-E29E9A942BE2}
SolutionGuid = {09C0B7CE-5187-42EC-B9FD-E79D0F546734}
EndGlobalSection
EndGlobal
using Microsoft.AspNetCore.Mvc;
namespace WebApplication1.Controllers
namespace MMM_Server.Controllers
{
[ApiController]
[Route("[controller]")]
......
......@@ -4,6 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MMM_Server</RootNamespace>
</PropertyGroup>
<ItemGroup>
......
@MMM_Server_HostAddress = http://localhost:5141
GET {{MMM_Server_HostAddress}}/weatherforecast/
Accept: application/json
###
......@@ -4,8 +4,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:37479",
"sslPort": 44346
"applicationUrl": "http://localhost:54833",
"sslPort": 44387
}
},
"profiles": {
......@@ -14,7 +14,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "http://localhost:5042",
"applicationUrl": "http://localhost:5141",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
......@@ -24,7 +24,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "https://localhost:7273;http://localhost:5042",
"applicationUrl": "https://localhost:7099;http://localhost:5141",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
......
namespace WebApplication1
namespace MMM_Server
{
public class WeatherForecast
{
......
......@@ -6,12 +6,12 @@
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"WebApplication1/1.0.0": {
"MMM-Server/1.0.0": {
"dependencies": {
"Swashbuckle.AspNetCore": "6.4.0"
},
"runtime": {
"WebApplication1.dll": {}
"MMM-Server.dll": {}
}
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {},
......@@ -64,7 +64,7 @@
}
},
"libraries": {
"WebApplication1/1.0.0": {
"MMM-Server/1.0.0": {
"type": "project",
"serviceable": false,
"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