Quantcast
Channel: Net Awakening » .Net
Browsing latest articles
Browse All 5 View Live

.Net 4.0 ThrowIfMaxHttpCollectionKeysExceeded Issue

I got a bug through on one of our applications the other day, the user said the system kept on crashing on them. When I checked the error log the inner exception coming through was...

View Article



Friendly .Net Session Timeout alert

Using javascript it’s very easy to deal with Session timeouts neatly, I’ll outline a very simple example below: <script type="text/javascript"> //Set the warning and timeout integers var...

View Article

Entity Framework: Dealing with Nulls in Lambda Expressions

Been too long since I put a post up, this little gotcha seems a good time to add to this. Writing a lambda expression for work I couldn’t understand why I was getting no result back when there was...

View Article

Convert String to Enum and Enum to string using Generic

Too long since I did a C# post, recently faced with a requirement to use an enum in code but save it as string in the database. Rather than do implicit conversions every time this change was required I...

View Article

Applying Grouping in an Asp.Net ListView

Currently I have a requirement to add a Grouped Items list in asp.net webforms. I found the best way to approach this was to nest a ListView inside a ListView and then use the Datasource to specify the...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images