소스 검색

Add project files.

Rodrigo Morian Loures 1 년 전
부모
커밋
28268a66ab
6개의 변경된 파일85개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      Program.cs
  2. 28 0
      Properties/launchSettings.json
  3. 9 0
      Teste02.csproj
  4. 25 0
      Teste02.sln
  5. 8 0
      appsettings.Development.json
  6. 9 0
      appsettings.json

+ 6 - 0
Program.cs

@@ -0,0 +1,6 @@
+var builder = WebApplication.CreateBuilder(args);
+var app = builder.Build();
+
+app.MapGet("/", () => "Hello World!");
+
+app.Run();

+ 28 - 0
Properties/launchSettings.json

@@ -0,0 +1,28 @@
+{
+  "iisSettings": {
+    "windowsAuthentication": false,
+    "anonymousAuthentication": true,
+    "iisExpress": {
+      "applicationUrl": "http://localhost:10610",
+      "sslPort": 0
+    }
+  },
+  "profiles": {
+    "Teste02": {
+      "commandName": "Project",
+      "dotnetRunMessages": true,
+      "launchBrowser": true,
+      "applicationUrl": "http://localhost:5124",
+      "environmentVariables": {
+        "ASPNETCORE_ENVIRONMENT": "Development"
+      }
+    },
+    "IIS Express": {
+      "commandName": "IISExpress",
+      "launchBrowser": true,
+      "environmentVariables": {
+        "ASPNETCORE_ENVIRONMENT": "Development"
+      }
+    }
+  }
+}

+ 9 - 0
Teste02.csproj

@@ -0,0 +1,9 @@
+<Project Sdk="Microsoft.NET.Sdk.Web">
+
+  <PropertyGroup>
+    <TargetFramework>net6.0</TargetFramework>
+    <Nullable>enable</Nullable>
+    <ImplicitUsings>enable</ImplicitUsings>
+  </PropertyGroup>
+
+</Project>

+ 25 - 0
Teste02.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.8.34511.84
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Teste02", "Teste02.csproj", "{E4B2490D-3D5C-4585-AAAA-CCAC75A4472E}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{E4B2490D-3D5C-4585-AAAA-CCAC75A4472E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{E4B2490D-3D5C-4585-AAAA-CCAC75A4472E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{E4B2490D-3D5C-4585-AAAA-CCAC75A4472E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{E4B2490D-3D5C-4585-AAAA-CCAC75A4472E}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {63619ECD-01A5-47C2-A3C3-1DDBCD3F54DC}
+	EndGlobalSection
+EndGlobal

+ 8 - 0
appsettings.Development.json

@@ -0,0 +1,8 @@
+{
+  "Logging": {
+    "LogLevel": {
+      "Default": "Information",
+      "Microsoft.AspNetCore": "Warning"
+    }
+  }
+}

+ 9 - 0
appsettings.json

@@ -0,0 +1,9 @@
+{
+  "Logging": {
+    "LogLevel": {
+      "Default": "Information",
+      "Microsoft.AspNetCore": "Warning"
+    }
+  },
+  "AllowedHosts": "*"
+}