Yuyuqt commited on
Commit
93d516e
·
1 Parent(s): f53877e

add: frontend

Browse files
LibraryManagement.Frontend/LibraryManagement.Frontend.csproj ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <Project Sdk="Microsoft.NET.Sdk.Web">
2
+
3
+ <PropertyGroup>
4
+ <TargetFramework>net8.0</TargetFramework>
5
+ <Nullable>enable</Nullable>
6
+ <ImplicitUsings>enable</ImplicitUsings>
7
+ </PropertyGroup>
8
+
9
+ <ItemGroup>
10
+ <Folder Include="wwwroot\" />
11
+ </ItemGroup>
12
+
13
+ </Project>
LibraryManagement.Frontend/Program.cs ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ var builder = WebApplication.CreateBuilder(args);
2
+ var app = builder.Build();
3
+
4
+ app.MapGet("/", () => "Hello World!");
5
+
6
+ app.Run();
LibraryManagement.Frontend/Properties/launchSettings.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "http://json.schemastore.org/launchsettings.json",
3
+ "iisSettings": {
4
+ "windowsAuthentication": false,
5
+ "anonymousAuthentication": true,
6
+ "iisExpress": {
7
+ "applicationUrl": "http://localhost:3118",
8
+ "sslPort": 44391
9
+ }
10
+ },
11
+ "profiles": {
12
+ "http": {
13
+ "commandName": "Project",
14
+ "dotnetRunMessages": true,
15
+ "launchBrowser": true,
16
+ "applicationUrl": "http://localhost:5016",
17
+ "environmentVariables": {
18
+ "ASPNETCORE_ENVIRONMENT": "Development"
19
+ }
20
+ },
21
+ "https": {
22
+ "commandName": "Project",
23
+ "dotnetRunMessages": true,
24
+ "launchBrowser": true,
25
+ "applicationUrl": "https://localhost:7047;http://localhost:5016",
26
+ "environmentVariables": {
27
+ "ASPNETCORE_ENVIRONMENT": "Development"
28
+ }
29
+ },
30
+ "IIS Express": {
31
+ "commandName": "IISExpress",
32
+ "launchBrowser": true,
33
+ "environmentVariables": {
34
+ "ASPNETCORE_ENVIRONMENT": "Development"
35
+ }
36
+ }
37
+ }
38
+ }
LibraryManagement.Frontend/appsettings.Development.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Logging": {
3
+ "LogLevel": {
4
+ "Default": "Information",
5
+ "Microsoft.AspNetCore": "Warning"
6
+ }
7
+ }
8
+ }
LibraryManagement.Frontend/appsettings.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Logging": {
3
+ "LogLevel": {
4
+ "Default": "Information",
5
+ "Microsoft.AspNetCore": "Warning"
6
+ }
7
+ },
8
+ "AllowedHosts": "*"
9
+ }
LibraryManagement.slnx CHANGED
@@ -1,4 +1,5 @@
1
  <Solution>
2
- <Project Path="Database/Database.csproj" Id="1ec23dc7-355d-4456-a503-cfd0fb81cd5c" />
3
- <Project Path="LibraryManagement.Backend/LibraryManagement.Backend.csproj" Id="82e311b1-ce76-4235-9d5f-0d06a942d038" />
 
4
  </Solution>
 
1
  <Solution>
2
+ <Project Path="../../../../../../../../C#learn/LibraryManagement/Database/Database.csproj" Id="1ec23dc7-355d-4456-a503-cfd0fb81cd5c" />
3
+ <Project Path="../../../../../../../../C#learn/LibraryManagement/LibraryManagement.Backend/LibraryManagement.Backend.csproj" Id="82e311b1-ce76-4235-9d5f-0d06a942d038" />
4
+ <Project Path="../../../../../../../../C#learn/LibraryManagement/LibraryManagement.Frontend/LibraryManagement.Frontend.csproj" Id="8a9483fb-4480-49a1-897e-8917cd9e9a12" />
5
  </Solution>