Skip to content

Commit 7f76a11

Browse files
committed
Implement code changes to enhance functionality and improve performance
1 parent ffb95ad commit 7f76a11

File tree

5 files changed

+49
-6
lines changed

5 files changed

+49
-6
lines changed

README.md

Lines changed: 48 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,57 @@ Tags: Container, Azure, WebSite, Inventory, ServerInfo
1515

1616
# Server Info
1717

18-
This application exposes Server and Client details and informations available in code (dotnet).
18+
- Have you ever needed a tool that exposes some information of the request client? (What headers is comming to server, what client IP, in witch header?)
19+
- Have you ever needed a tool that exposes some enviroment variable that application is considering, in a non-develop environment?
20+
- Have you ever be curious what developer have the information to use in thier applicatons?
21+
22+
This application exposes Server and Client request details available in code (dotnet).
1923

2024
Usefull to IT Admins to know details of environment, mainly in diferent contexts, such as contaniner environment.
2125

2226
Usefull to developers in development time to know the environment virables and other informations about destination environment.
2327

24-
Not recommended to leave on production environments with public access.
28+
> [!IMPORTANT]
29+
> This is a debugging tool. Not recommended to leave on production environments with public access.
30+
31+
This is the portable version to run standalone, or in a Docker container.
32+
33+
## Pre-Requisites
34+
35+
To run the project locally, you'll need to make sure the following tools are installed:
36+
37+
- [.NET 9](https://dotnet.microsoft.com/downloads/)
38+
- [Git](https://git-scm.com/downloads)
39+
- [Azure Developer CLI (azd)](https://aka.ms/install-azd)
40+
- [Visual Studio Code](https://code.visualstudio.com/Download) or [Visual Studio](https://visualstudio.microsoft.com/downloads/)
41+
- If using Visual Studio Code, install the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit)
42+
43+
### Run the solution
44+
45+
Follow these steps to run the project locally
2546

26-
This is the portable version to run in a Docker container.
47+
- Open your terminal
48+
- Navigate to your repos folder
2749

28-
## 1) Site Overview
50+
- Clone repository:
51+
52+
```bash
53+
git clone https://github.com/microsoft/Server-Info.git
54+
```
55+
56+
- Navigate to cloned folder
57+
58+
```bash
59+
cd Server-info/Server-info
60+
```
61+
62+
- Run the project:
63+
64+
```bash
65+
dotnet run
66+
````
67+
68+
## Overview
2969

3070
<br/>
3171

@@ -37,12 +77,15 @@ This is the portable version to run in a Docker container.
3777

3878
<br/>
3979

40-
- Client site exposes information about client (browser) that is accessing the site, as well some client informations that is available in code.
80+
- Client tab exposes information about client (browser) that is accessing the site, as well some client informations that is available in code.
4181

4282
<br/>
4383

4484
![Overview](images/server-info-2.png)
4585

86+
- To see header information, scroll down to see more information about client request
87+
![Overview](images/server-info-3.png)
88+
4689
## Contributing
4790

4891
This project welcomes contributions and suggestions. Most contributions require you to agree to a

Server-Info/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"environmentVariables": {
1515
"ASPNETCORE_ENVIRONMENT": "Development"
1616
},
17-
"applicationUrl": "https://localhost:7028;http://localhost:5028",
17+
"applicationUrl": "https://localhost:7028",
1818
"dotnetRunMessages": true
1919
},
2020
"IIS Express": {

images/server-info-1.png

-15.3 KB
Loading

images/server-info-2.png

-7.46 KB
Loading

images/server-info-3.png

91.9 KB
Loading

0 commit comments

Comments
 (0)