简体   繁体   中英

How i write this code in vb.net

I'm trying to use route within httpget request , how can I write this code in vb.net?, Here is my code:

    [HttpGet("[action]")]
    or
    [HttpGet("create")]

VB.NET uses angle brackets <> around its attributes. In this case it would be:

<HttpGet("[action]")>

You can see more at MSDN .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM