« first day (3788 days earlier)      last day (1145 days later) » 

7:13 AM
 
stupid bot
```cs
<form asp-action="Index" asp-controller="Alerts" method="get" style="width: 30%;">
<div class="form-group">
<div class="d-flex flex-row input-group">
<input class="form-control" name="id" placeholder="Enter ID" type="number" />
<input id="submit-button" class="btn btn-secondary"
style="background-color: blueviolet;" type="submit" value="Search" />
</div>
</div>
</form>
```
This is a normal searchform which routes to:
```cs
[Route("/Alerts/{id?}")]
public async Task<IActionResult> Index(string id)
 
7:56 AM
any idea why my design view in xamarin is not showing
only shows this banner the whole time
 
8:10 AM
imagine having ads in Visual Studio...
@c0dem0nkey you need AdBlock VS plugin to use the XAML viewer :) /s
 
you for real?
xaml hot reaload is a default for xamarin way back 2019
@wiet
@Wietlol
 
"/s"
 
i dont get it
you have any idea
lol
 
well... I dont use VS, nor XAML... so I have absolutely no clue
 
8:34 AM
wait what do you use then
vscode?
 
8:55 AM
Rider
but I have no clue how xaml support is in rider
I dont do GUI with C#
 
9:53 AM
[Captain Obvious] hahaha rider
 
10:36 AM
[kesarling] @butler1233, you got a minute? I need a little help with Routing in MVC
[kesarling] How do I get the route to look like /Asset/4?
[kesarling] anyone?
 
10:49 AM
google?
 
[Not Li] Route attribute is magical
[Not Li] More so when you put in Asset/{I'd}
 
that is why you shouldnt put quotes in the value
 
11:17 AM
[Captain Obvious] Yeah the route attribute will do it. Generally good to get in the habit of using it because sometimes things like swagger won't pick up methods if they aren't definied with the attribuites
 
11:38 AM
[kesarling] err, no, the problem is, the request is being sent using a form
[kesarling] that is why it is always being appended with question mark
[Not Li] Then there's not much of a choice
[Not Li] Unless you use post body
[Not Li] Then you can use route and post to the desired URL
 

« first day (3788 days earlier)      last day (1145 days later) »