Federico Fia Sare

C#

General discussions about the c# language, Squirrels | gist.gi...
Nov 25, 2019 13:34
this sentence is correct? public static int Test15Result => 0x18;
Nov 21, 2019 13:54
I'm trying whit this decimal.TryParse(primero, NumberStyles.Any, CultureInfo.CurrentCulture, out p), the culture is en-US and decimal separator "." but when i send "10,5" result is 105
Nov 21, 2019 13:52
I need to catch exception for a number as string with comma as decimal separators
Nov 21, 2019 13:47
Hello
Oct 25, 2019 14:25
Hello, someone worked with embedded Power BI reports?
Sep 19, 2019 10:42
Hello, I need to send a ViewModel to a post request. I'm trying to serialize it with this "@Html.Raw(Json.Encode(Modelo))" but when it arrives to server, the decimal type fields are null when it has decimal values example 1200.43
Mar 22, 2019 14:30
those are not three?
Mar 22, 2019 14:29
how difficult it is to put names to things!
Mar 22, 2019 14:00
@MikaelDúiBolinder what is "q"?
Mar 22, 2019 13:56
and then MyDate.AddMinutes(x * Hours.GetMinutes()) GetMinutes() is a extension method
Mar 22, 2019 13:55
[TimeMinutes(60)] Hours
Mar 22, 2019 13:54
@MikaelDúiBolinder something similar I thought
Mar 22, 2019 13:44
I could add an attribute that indicates the milliseconds that the property equals
Mar 22, 2019 13:33
My logic of doing so is because if they add another type of unit in the list I do not want to have to add another if, I do not know if I understand what I intend
Mar 22, 2019 13:23
Hi, i need add hours, minutes or days to a DateTime according to the value of enumeration selected but i would like make it without check the value (without "if" statement). I thought of a extension method but I'm not sure
Mar 18, 2019 13:19
Mar 15, 2019 16:04
the problem is that he sent a list from the client with javascript and the list and the elements arrive but the values ​​do not arrive.
Mar 15, 2019 15:54
someone can help me with my problem, I think it's a serialization error but I'm not sure
Mar 15, 2019 14:53
@CapricaSix sorry
Mar 15, 2019 14:50
i'm trying this
Mar 15, 2019 14:50
selectedConfigurations: vm.availableRoomTypes.filter(function (o) {
return o.selectedQuantity > 0;
}).map(function (o) {
return {
RoomTypeId: o.RoomTypeId,
Adults: o.MaximumAdults
}
})
Mar 15, 2019 14:49
how to match a list of the type "list<(int,int)>" from JavaScript?
Mar 15, 2019 14:48
Hi
Mar 6, 2019 15:39
@User23332 It is not homework
Mar 6, 2019 15:38
For the rest of the forum, I try to explain what I need because it is a little more complicated.
Mar 6, 2019 15:37
@TomW sorry for your time
Mar 6, 2019 15:33
If it were simply a task, I would look for any post that already exists
Mar 6, 2019 15:29
Someone who can help me?
Mar 6, 2019 15:29
ok
Mar 6, 2019 15:26
@TomW how?
Mar 6, 2019 15:24
Hi, it is possible get all combinations of sums in an array?
Mar 1, 2019 16:50
@mr5 Yes, it does throw before it actually reaches controller.
Mar 1, 2019 16:47
@mr5 @mr5 I did the search for that code but I do not have anything similar
Mar 1, 2019 16:43
any other number works
Mar 1, 2019 16:42
@mr5 that solution does not work. My problem is only with number of 4 digits
Mar 1, 2019 16:18
@mr5 "Message=Could not load file or assembly 'System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."
Mar 1, 2019 16:17
@mr5 yes nullable int
Mar 1, 2019 15:45
I have an error rare, I define a property like int? and from postman send a request to the service with a property and the value with 4 digits, only there run the error, if I send with 3 digits or 5 digits the error not run.
Mar 1, 2019 15:41
Hi
Feb 25, 2019 11:23
but I do not have the bases to answer because no
Feb 25, 2019 11:22
@Wietlol I think same,
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Aug 13, 2019 15:29
!!> 1000000..toLocaleString("es-ES");
Aug 13, 2019 15:24
it's just test code
Aug 13, 2019 15:22
but this only in chrome
Aug 13, 2019 15:22
"1000"
Aug 13, 2019 15:22
var num = 1000;
var n = num.toLocaleString('es');
Aug 13, 2019 15:09
don't*
Aug 13, 2019 15:08
Hi, I've a problem with Number.toLocaleString(). I'm using this method to add thousands separators, but for 'es-ES' locale, it doesn't work.
 

SQL

Got a SQL question? Any SQL flavor here, just ask. Indicate yo...
Mar 15, 2019 14:15
Hi, is there someone?
 

ASP.NET MVC

Merged into C# chat on 4/19/21. Post messages there please as ...
Mar 14, 2019 16:59
Hi, someone have worked with ServiceStack OrmLite?