c#
How to make Json.Net skip serialization of empty collections
I have an object that contains several properties that are a List of strings List<String> or a dictionary of strings Dictionary<string,string>. I want to serialize the object to json using Json.net and I want to have the least amount of text generated.
WebClient.DownloadFileAsync – Download files one at a time
I am using the code below to download multiple attachments from a TFS server:
Stripping out non-numeric characters in string
I’m looking to strip out non-numeric characters in a string in ASP.NET C#, i.e. 40,595 p.a. would end up as 40595.
Can System.Web be used with ASP.Net Core with Full Framework
We are running serveral sites based on different .Net versions.
There was no endpoint listening at (url) that could accept the message
I’m building an ASP.NET website – it’s a solution with a few projects, a data base and a web service. Everything worked fine, but last time I tried to run the project, I got the following error:
Change the requested url of WebResource.axd
My web application (http://www.something.com/social/competition/) is currently requesting the WebResource.axd file like this:
Set ID of Items In a Repeater
In my aspx, I have a repeater which contains three textboxes:
Invalid length for a Base-64 char array during decoding/decryption
Q: I face the following big problem :
Directory.Exists not working for a network path
I have a line of code checking if a directory exists and then getting the list of files in it.