Simo
Simo
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
hehe thanks
27 replies
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
fix the logging, string interp etc etc
27 replies
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
but I beleive newer SQL server versions support .net 4.x framework in this context, so big scope to optimise the crap out of this sloppily written DLL
27 replies
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
yeah
27 replies
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
so here I am, up to my neck
27 replies
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
an assembly running in SQL server that everyone is scared to touch
27 replies
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
.net 2, old old school
27 replies
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
thanks !
27 replies
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
ok thank you, I will currently just not call the debug log as I'm trapped in .net 2 right now
27 replies
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
that is neat, I would normally use constants for logging in my .net core projects, but that is a benefit I hadn't realised
27 replies
CC#
Created by Simo on 10/19/2023 in #help
❔ DIY logging methods
This is a .net 2 dll which I believe I can migrate to .net 4 now, but I want to fix a bunch of key issues before that upgrade
27 replies
CC#
Created by Simo on 7/27/2023 in #help
❔ What is happening under the covers to allow this to work
thank you
11 replies
CC#
Created by Simo on 7/27/2023 in #help
❔ What is happening under the covers to allow this to work
that is pretty wild, I was wondering wtf was going on
11 replies
CC#
Created by Simo on 7/27/2023 in #help
❔ What is happening under the covers to allow this to work
does it just insert it into the first method that has a single string param?
11 replies
CC#
Created by Simo on 7/27/2023 in #help
❔ What is happening under the covers to allow this to work
sorry yea a method, said that wrong
11 replies
CC#
Created by Simo on 12/23/2022 in #help
❔ ModelState.IsValid
that explains this type of response then:
{
"errors": {
"EmailAddress": [
"The EmailAddress field is required."
]
},
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"traceId": "00-eba25af423d72cafb9cd245658d426c4-18ed1876309cd757-01"
}
{
"errors": {
"EmailAddress": [
"The EmailAddress field is required."
]
},
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"traceId": "00-eba25af423d72cafb9cd245658d426c4-18ed1876309cd757-01"
}
5 replies
CC#
Created by Simo on 12/23/2022 in #help
❔ ModelState.IsValid
thank you! that clears it up
5 replies
CC#
Created by Saba Jangidze on 12/21/2022 in #help
❔ HTTP Error 413.1 - Request Entity Too Large
you can see in the error it is in the RequestFilteringModule, which maps to the
<system.webServer>
<security>
<requestFiltering>
<system.webServer>
<security>
<requestFiltering>
section of web.config
5 replies
CC#
Created by Saba Jangidze on 12/21/2022 in #help
❔ HTTP Error 413.1 - Request Entity Too Large
you need to override them with a bigger value i think
5 replies
CC#
Created by Saba Jangidze on 12/21/2022 in #help
❔ HTTP Error 413.1 - Request Entity Too Large
I think these are configured in web.config for maxRequestLength & maxAllowedContentLength
5 replies