For some reason I always forget that you do not do .Join on your actual string array. So i might as well write it down here so i never forget about this again. string mycommalist = string.Join(“,”, alternatives.Select(x=>x.Item.Name).ToArray())
For some reason I always forget that you do not do .Join on your actual string array. So i might as well write it down here so i never forget about this again. string mycommalist = string.Join(“,”, alternatives.Select(x=>x.Item.Name).ToArray())
Today i decided to look through tweets a favorited the last couple of months and one of the tweets I favorited was about a small add-on to Visual Studio called Metalscroll. Metal scroll basically makes your scrollbar a lot more interesting. It’s kind of hard to describe but a picture says more than 1000 words so have a
If you request a URL that returns an application/JSON result Firefox will give you a “Download this file” dialog by default. If you rather want the JSON data to show up just as a XML, RSS or HTML page would you could download this little extension called JsonView that will do this for you. Another nice little
I use a custom MSBUILD XML file to build some of my projects so that I can run stuff to compress CSS/JS files and stuff like that. After installing Visual Studio 2010 and playing around a bit with suddenly my builds started to fail. C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0WebApplicationsMicrosoft.WebApplication.targets(132,11): error MSB4064: The “Retries” parameter is not supported
I have been playing around with the awesome performance measuring tool New Relic lately and have been struggling with some performance issues that would have been hard to find without measuring the actual metrics from the real production server. Anyway, during the different changes, I made I changed the option runAllManagedModulesForAllRequests from “true” to “false” in Web. Config
I have had problems doing proper 404 redirects in ASP.NET ever since I started to care about proper 404 pages. I do not have any trouble if the page does not exist. But say for example that I require a query string on some page and for some reason, I do not get a query string.
I was running some optional Windows Updates this morning and after I was done I noticed that my remote desktop connections become extremely slow. Our internet at my office has always been a bit up and down so I assumed it was some temporary issue. But it stayed there and then I looked at Windows
I got this strange Stackoverflow exception today in my MVC project. I have made some modifications to my data model and all of a sudden I got a stack overflow exception when I was submitting data via a form. I started googling about it and found this thread on the asp.net message board. It turns out that
I am a .net developer and haven’t done any PHP work ever. But I use WordPress and for some time now I have been looking for a plugin that could generate a URL for Amazon S3 that is “signed” and will expire after a certain amount of time. I posted the question on both WordPress and amazon forums but
I had a really hard time getting a simple cascade delete to work with the Entity Framework and I thought I had to write it down here so that I can remember it in the future. I was trying to delete an item from my database with some children. But I got the error A