Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

blazor get current url

MyNavigationManager.Uri
#> https://localhost:5001/counter/3?q=hi

MyNavigationManager.BaseUri
#> https://localhost:5001/

MyNavigationManager.NavigateTo("http://new location")
#> Navigates to new location

MyNavigationManager.LocationChanged
#> An event that fires when the navigation location has changed.

MyNavigationManager.ToAbsoluteUri("pepe")
#> https://localhost:5001/pepe

MyNavigationManager.ToBaseRelativePath(MyNavigationManager.Uri)
#> counter/3?q=hi

Helper: AddQueryParm( "q2", "bye" ) // (*1)
#> https://localhost:5001/counter/3?q=hi&q2=bye

Helper: GetQueryParm( "q" )
#> hi
Comment

PREVIOUS NEXT
Code Example
Csharp :: unity foreach dictionary 
Csharp :: using variables from other procedures C# 
Csharp :: c# format string to date yyyymmdd 
Csharp :: unity coroutine 
Csharp :: how get url in laravel 
Csharp :: unity application quit 
Csharp :: rigidbody2d unfreeze position 
Csharp :: c# how to simulate mouse click 
Csharp :: c# boilerplate 
Csharp :: dotnet executable directory 
Csharp :: current directory in sln file c# 
Csharp :: read file c# 
Csharp :: how to make among us clone in unity 
Csharp :: Csharp cast string to double 
Csharp :: C# save pdf stream to file 
Csharp :: how to get rigidbody speed in unity 
Csharp :: if animation ends 
Csharp :: scenemanager c# 
Csharp :: c# ip address translate localhost 
Csharp :: Unity rotate player to mouse point slowly 
Csharp :: how to move your character in unity 2d game 
Csharp :: c# iformfile to string 
Csharp :: set mouse over colors for button wpf 
Csharp :: How To Copy a text C# unity 
Csharp :: asp.net core redirecttoaction with parameters 
Csharp :: Directory Entry c# get computer list 
Csharp :: text not centered winforms button 
Csharp :: restart animation unity 
Csharp :: camera follow player 
Csharp :: unity2d click on gameobject 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =