Jan
4
accepted Do any modern browsers ever issue an HTTP HEAD request?
Nov
13
awarded Good Answer
Oct
30
comment Do any modern browsers ever issue an HTTP HEAD request?
Thanks. The scenario where I could imagine it being useful, would be before a download (right click save as). First issue a HEAD request, if there is a content-length header, make sure there is enough disk space to store the download before actually wasting bandwidth if there isn't room.
Oct
30
asked Do any modern browsers ever issue an HTTP HEAD request?
Oct
15
awarded Yearling
Oct
15
awarded Yearling
Oct
14
awarded Popular Question
Sep
30
comment Substring \ in C#
This will still throw an exception if the \ is at the end of the string.
Sep
30
comment Substring \ in C#
@lonewolf fixed.
Sep
30
revised Substring \ in C#
added 4 characters in body
Sep
30
answered Linq searching list of objects
Sep
30
answered Substring \ in C#
Sep
14
awarded Civic Duty
Sep
14
awarded Excavator
Sep
14
revised Modular functionality with ASP.NET vNext Core CLR
update github source code links
Aug
10
comment Using C# reflection to call a constructor
It is also worth pointing out that there is another Invoke overload that allows you to invoke the constructor on a pre-existing instance. I think of the Invoke(Object[] args) as an allocator+initializer and Invoke(Object instance, Object[] args) as just an initializer.
Jul
22
comment String Building Issue in Powershell
I'm not a PowerShell expert, but I think it is considered more idiomatic to use interpolated strings: $fullApplicationPath = "{0}//{1}/{2}" -f $protocol, $server, $applicationPath; becomes: $fullApplicationPath = "$protocol//$server/$applicationPath"; The double quotes are important here, single quoted strings won't expand variables.
Jul
15
answered Debugger.Launch not working
Jul
9
answered match doesnt work after adding delimiters
Apr
8
revised Literal notation for Dictionary in C#?
deleted 1 character in body
1 2 3 4 5