Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

query parameters sending to controller action asp.net core

// GET api/user/firstname/lastname/address
[HttpGet("{firstName}/{lastName}/{address}")]
public string GetQuery(string id, string firstName, string lastName, string address)
{
    return $"{firstName}:{lastName}:{address}";
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: How to change ListBox selection background color 
Csharp :: c# decimal 4 casas decimais 
Csharp :: instantiate an array in c# 
Csharp :: BulkWrite c# example mongodb 
Csharp :: wpf listbox binding change style of selected item 
Csharp :: unity error log 
Csharp :: boxing and unboxing in c# 
Csharp :: android jaca how to pass a imageurl in a recyclerview adapter 
Csharp :: c# 10 null checl 
Csharp :: dctionary literal c# 
Csharp :: c# async and await example 
Csharp :: page parent wpf 
Csharp :: linq convert list to another list 
Csharp :: c# string across multiple lines 
Csharp :: c# convert list to string and back 
Csharp :: how to move mouse with c# 
Csharp :: c# define array 
Csharp :: c# arrays 
Csharp :: restrictions 
Csharp :: .net using appsettings variables 
Csharp :: c# out argument 
Csharp :: google mobile ads app id 
Csharp :: How to remove an element from Array List in C#? 
Csharp :: iserviceprovider vs iservicecollection 
Csharp :: C# wpf show hidden window 
Csharp :: c# linq sorting sequential guids 
Csharp :: nullable IList to List 
Csharp :: Set orientation of moving object towards it movement direction without using rigidbody 
Csharp :: pyqt send message to another instance 
Csharp :: make first 2 words upper case c# 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =