I'm a (web) software developer from Nuremberg/Germany, currently working on some ASP.NET MVC Projects.

Dec
18
awarded Yearling
Dec
18
awarded Autobiographer
Dec
11
answered Query nested documents with C# MongoDB
Dec
5
comment Javascript - Calculate age
You set the year to either 1900 or to 2000. You mean more something like "var year = 1900 + yy" and same for 2000.
Dec
5
comment Javascript - Calculate age
I like this one: stackoverflow.com/a/15555947/265165 this is the shortest answer you can get.
Dec
5
comment Parse Javascript date to C# DateTime, FF data is other then Chrome date
Alternatively, you can try to use milliseconds/seconds as the common base, see: stackoverflow.com/a/1877827/265165
Dec
3
comment ASP.NET MVC bypass/simulate ws-federation/claims-based authentication
Thanks, yes I know that, but it wouldn't bypass the whole redirection process, and I was hoping to get rid of that, the stress-test scenario would work much better without that
Dec
2
revised ASP.NET MVC bypass/simulate ws-federation/claims-based authentication
added tag
Dec
2
comment c# asp.net selective locking between multiple instances
Thank you, while this is a first approach, it's not exactly what I want, because it's actually not locking. Here, the method assumes that when the lock is set for the given giftId, it should return because "someone claimed it just now". This assumption is not inevitably right. (in this simplified scenario maybe, but imagine this is maybe not claimed for free but sold, and the process would also check the user's balance etc.)
Dec
2
asked ASP.NET MVC bypass/simulate ws-federation/claims-based authentication
Nov
27
comment c# asp.net selective locking between multiple instances
web-farm is a good point. But maybe it still has not to be at database level. It just has to be a level "global enough" across the instances... just some thought.
Nov
27
comment c# asp.net selective locking between multiple instances
@hazimdikenli OK I already implemented this kind of optimistic concurrency in EF before, but It's just not the same, this one is about attempting to prevent this scenario at all, plus the Repository is neither EF nor SQL Server (Currently, its MongoDB but I don't want this solution to be Database-specific)
Nov
27
asked c# asp.net selective locking between multiple instances
Nov
18
awarded Scholar
Nov
18
accepted Access denied on a directory (my own): So locked down that everything fails from icacls to takeown
Nov
18
answered Access denied on a directory (my own): So locked down that everything fails from icacls to takeown
Nov
18
answered MVC5 Log Off link fails from different Areas
Nov
18
comment MVC5 Log Off link fails from different Areas
I can't see any occurence of the snippet new { area = "" } in your Code. The right place is within the Html.BeginForm(...) parameters
Nov
18
comment C# program on low ram - backgroundworker not completing DoWork task before ending
It's possible that you don't clean up your memory properly. Especially, check if the HttpSession object can be Disposed, also if opening Files (inside your saveToTextFile method) there is potential to forget to Dispose()
Nov
9
comment C# how to use multiple lines instead of 1
Just to mention it, I'd discourage you from building your SQL Like this. Why? Because of SQL Injection vulnerability: ( en.wikipedia.org/wiki/SQL_injection ) Try to use proper SQL Parameters instead, it would also make your life easier: stackoverflow.com/a/18752337/265165
1 2 3 4 5