Renso Hollhumer
16 posts.
- Unit Test for EF LINQ queries using Mocked DbSetGoal: Create a unit test for a EF repository query. As we all know unit tests are infrastructure agnostic and therefore have no kowledge of for example…
- JavaScript–Adding months or days to a dateAdd moths or days (or other increments) to a date in JavaScript. var current = new Date(); var threeMonthsInTheFuture = new Date(new…
- Angular - redirect to login after user session expires (including ajax/background processes)Environment: .Net MVC with Angular v 1 Issue: When the user redirects in Angular app or performs any kind of ajax request (searching inside a search box,…
- Top 10 Browser Productivity TipsYou don’t have to be a geek to be a productive browser user. The tips below have been selected by actions users take most of the time…
- Temporarily disabling foreign key constraints in SQL ServerGoal: Is to temporarily disable all foreign key constraint and later enable the Constraint again? Solutions -- Disable all the constraint in database EXEC…
- Why CoffeeScript is tough to maintainI recently started trying out CoffeeScript only to find out that it caused more headaches. The abstraction level of jQuery was perfect, it did not dictate…
- Operation is not valid due to the current state of the object.Issue: System.InvalidOperationExceptionOperation is not valid due to the current state of the object. System.InvalidOperationException: Operation is not…
- Adding Output Caching and Expire Header in IIS7 to improve performanceImages and other static files will not be cached unless you tell it to. In IIS7 it is remarkably easy to do this.
- A potentially dangerous Request value was detected from the clientDue to an upgrade from .Net 2, 3.0 or 3.5 to .Net 4.0 or you are starting a new .Net 4.0 project, you may run into this message:
- ASP.NET Paths Demystified
- How to set the windows path in Windows 7Setting the windows command path in Windows 7. Modifying the path statement will enable an MS-DOS window opened in Microsoft Windows as well as older…
- jqGrid hide columns but show when editing/addingIssue: I have a grid which I have what I can only describe as containing “Core” data and “Minor” data. What I'd like to be able to do is to show the Core…
- ASP.NET MVC with jQuery GridScenario: You have an ASP.NET MVC!(http://www.assoc-amazon.com/e/ir?t=rensssoftdeve-20&l=as2&o=1&a=1430210079) application and don't want to custom build…
- Useful jQuery Plug-insMy environment: ASP.Net MVC Web-app running on IIS 7, NHibernate!(http://www.assoc-amazon.com/e/ir?t=rensssoftdeve-20&l=as2&o=1&a=1932394923) 's ORM,…
- Firebug Network Monitoring Quick Reference Guide!.png) Network Monitoring Your web app on the server has plenty of tools and ways to measure performance, as well as tools like SQL-Server Profiler for…
- jqGrid Dynamically loading select optionsScenario: You are using the jqGrid to edit rows that contain fields that are of HTML tag type "SELECT". Problem: You do not want to hard code the values…
