An open API service indexing awesome lists of open source software.

https://github.com/sql-mistermagoo/blazorclientip

Display your IP in Blazor server 2 ways
https://github.com/sql-mistermagoo/blazorclientip

Last synced: 6 months ago
JSON representation

Display your IP in Blazor server 2 ways

Awesome Lists containing this project

README

          

# BlazorClientIP

Demonstrates two ways to get the client IP address

`_Host.cshtml` uses HttpContext to retrieve the request remote address and pass it to the `App`

`Index.razor` displays that IP address and additionally makes a call to the browser to `fetch` the IP address

You would normally not use `eval` but this is just a demo.

Try it out : https://blazorclientip.azurewebsites.net/