Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

asp.net core get previouse url

public IActionResult SomeAction()
{
    return Redirect(Request.GetTypedHeaders().Referer.ToString());
}
Comment

how to get previous page url aspnet core

public async Task<IActionResult> Edit(int? id)
{     
     ...
     ... 
     ViewBag.returnUrl = Request.Headers["Referer"].ToString();
     return View(customer);
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# get all enum values 
Csharp :: c# get folder path from file path 
Csharp :: LINQ query to select top 5 
Csharp :: c# OrderBy desc 
Csharp :: rock paper scissors c# 
Csharp :: httpcontext in .net standard 
Csharp :: unity ihandler click right button 
Csharp :: roman to int 
Csharp :: how to rotate object in unity only on one axis 
Csharp :: string to datetime c# 
Csharp :: c# read last 10 lines of file 
Csharp :: c# add object to array 
Csharp :: c# edit element in list 
Csharp :: unity find child by name 
Csharp :: convert xml string to file c# 
Csharp :: delegate in c# 
Csharp :: vector3 unity 
Csharp :: unity gui text 
Csharp :: c# increase length of array 
Csharp :: long number multiplication 
Csharp :: how to show an arrya in c# 
Csharp :: c# get type of class 
Csharp :: C# network traffic 
Csharp :: print all complete object in list c# 
Csharp :: c# string to int 
Csharp :: c# list.foreach 
Csharp :: how to make player movement in unity 2d 
Csharp :: string to chararray c# 
Csharp :: dapper sql builder where 
Csharp :: autofac .net core 6 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =