Click here to Skip to main content
15,891,372 members

Articles by SoftwareMonkeys (Tip/Tricks: 7)

Tip/Tricks: 7

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 3.47

Programming Languages
C#
7 Jan 2012   Updated: 7 Jan 2012   Rating: 2.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 33,605     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
It's common to extract a single page from a set of records. This utility simplifies the maths involved.
29 Dec 2011   Updated: 29 Dec 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 22,241     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Circular references aren't allowed between assemblies, but there is a way to do something just as good, or even better.
3 Feb 2012   Updated: 3 Feb 2012   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 13,971     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
While I think alternative 3 could be quite useful I often have access to the assembly name and not the actual file name.For example the assembly name might be:Company.ProductWhereas the file name might be:Company.Product.dllThere are times when I'll fully qualify a class such...
29 Jan 2012   Updated: 4 Feb 2012   Rating: 2.17/5    Votes: 5   Popularity: 1.51
Licence: CPOL    Views: 58,615     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Sometimes, it's useful to know whether you're running in debug or release mode so you can do extra work during debugging and skip it during release. This class makes that as simple as possible.
Web Development
ASP.NET
29 Dec 2011   Updated: 29 Dec 2011   Rating: 4.67/5    Votes: 15   Popularity: 5.35
Licence: CPOL    Views: 41,441     Bookmarked: 35   Downloaded: 0
Please Sign up or sign in to vote.
Logging client side JavaScript errors to the server.
3 Jan 2012   Updated: 3 Jan 2012   Rating: 2.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 15,740     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
How do you display the results of an action to a user and ensure it shows up no matter which page they are redirected to afterwards?
15 Jan 2012   Updated: 15 Jan 2012   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 23,820     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Generally when you divide up your tiers, your lower level tiers lose access to HttpContext.Current and other important presentation components. This pattern works easily around that issue.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
SoftwareMonkeys
Australia Australia
Founder of www.softwaremonkeys.net