By tag: Tricks
0
kicks
Tips and Tricks to prevent SQL Injection in .Net Code
There are many detailed articles available on web on SQL Injection topic and hence I’ll just try to keep it short and simple in this post.
SQL Injection is an attack in which malicious code is inserted into strings that are later passed to an instance of SQL Server for parsing and execution. This...
0
kicks
Visual Studio 2008 Tips & Tricks for Developers
This article shows most common tips and tricks every .net developer should know,these tricks will help you in increasing your productivity while developing.I will make it a point to regularly update this post feel free to add few more tips,give me a comment if i find your trick worthy i will include...
0
kicks
C# Delegate Shortcut – No more null testing on events for subscribers
Do you use this syntax? It adds up as you can leave null tests in the dust for event subscribers:
EXAMPLE:
public event EventHandler<AnimationImageEventArgs> AnimationImageClicked = delegate { };
Post has full details, but most might already know this. If not your wasting cycles.
0
kicks
Handling functions accepting "ref" and "out" arguments in NMock
The article shows how you can go about writing code for expectations for functions that accept arguments by reference using the "ref" and the "out" keyword
0
kicks
DotNetNuke container customized
ou will find in the following zipped file the default Image Header - Color Background container but I made customized it to use div instead of tables.
0
kicks
DotNetNuke skin customized
You will find in the following zipped file the default DNN-Blue skin but I made customized it to use div instead of tables and to be 4 columns instead of 3.
0
kicks
Test your apps faster with Firefox Server Switcher
Just a quick little article noting the great add-on available for Firefox to help toggle between dev and live servers.
0
kicks
Client coordinates and Screen coordinates
The .NET Framework can provide the mouse coordinates using the client coordinates system or the screen coordinates system. In some mouse-based scenarios we need exactly to know which coordinates system is used in order to use the correct offset.
0
kicks
Trick: Making Non Themeable Properties of ASP.NET Controls Themeable
Excellent hack to make Non Themeable properties of ASP.NET controls Themeable. After learning this hack, you would be able to set the Display and the ValidationExpression properties of the RegularExpressionValidator control directly from a Skin file !!! Even the MaxLength property of a TextBox. Woul...
0
kicks
Tips & Tricks - Sql Server 2005 - Increase your Management Studio's p
Tips & Tricks - Sql Server 2005 - Increase your Management Studio's p
0
kicks
Rendering a Control to a String
This is a really handy little function for rendering a control to a string. Really handy if you want to pass back rendered HTML from a StaticPageMethod or WebService.
0
kicks
Javascript tricks for ASP.net developers
This is a post I wanted to write really long time ago, but I never had enough time to sit and write.
The following listing will be my agenda for this post
1. Why Javascript for ASP.net developers is different ?
2. Javascript tricks for ASP.net developers
* Reading ASP.net contr...
0
kicks
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps
MasterPages are a great addition to the ASP.NET 2.0 feature set, but are not without their quirks. This article will highlight the common problems developers face with master pages, and provide tips and tricks to use master pages to their fullest potential.
0
kicks
DotNetKicks.com integration into Blogger.com
The quickest way to submit your post on Blogger.com to DotNetKicks.com.