Firebug is a revolutionary Firefox extension that helps web developers and designers test and inspect front-end code. It provides us with many useful features such as a console panel for logging information, a DOM inspector, detailed information about page elements, and much more. Though Firebug is already fully packed with features out of the box, several extensions out there can enhance its utility. In this article, you will find the 10 best...
Tuesday, June 23, 2009
Monday, June 22, 2009
June 22, 2009
I’m not used to use Finalizers in my everyday job but I always thought that if I use it more frequently I could achieve some extra performance. Well, I’m a natural lazy programmer and that prevents me from digging deeper and doing some tests to clarify this guess. Thanks to community, there is always someone ready to share knowledge and help those lazy guys like me. One of those guys were Andrew Hunter that posted an article named “Understanding...
Friday, June 19, 2009
June 19, 2009
I’m working on a little application right now that provides some insight into the assemblies in use for a given application. One of the things that I want to be able to show is whether or not each assembly was built in Debug or Release mode. As you’re no doubt aware, running applications in production that were built in Debug mode can be a major performance problem (at a minimum – depending on what else you have turned on in Debug mode...
Thursday, June 18, 2009
June 18, 2009
CAPTCHA HttpHandler Path This release of BotDetect includes the ability to change the full CAPTCHA HttpHandler request path. It is recommended to change this path to a unique value for each of your applications, since that can improve the CAPTCHA security. For example, if a bot tries scanning many websites for the default LanapCaptcha.aspx path, it becomes slightly more difficult to automatically recognize your site as using BotDetect CAPTCHA...
Wednesday, June 17, 2009
June 17, 2009
For loops have been our friend for so many years. I have fond memories of looping through huge lists of items imperatively bobbing and weaving to construct my final masterpiece! 1.for (int i = 0; i < items.Length; i++) 2.{ 3. if (items[i].SomeValue == "Value I'm Looking For!") 4. { 5. result.Add(items[i]); 6. } 7.} Look at that beauty. I am looping through a list of items, filtering...
June 17, 2009
Typemock have launched a new Unit testing tool, Typemock Racer, and for the launch they are offering a free license for bloggers who will review it. Get the full details on Typemock’s blog. Have released a new deadlock detection, unit testing tool – Typemock Racer, and for the product’s launch, each blogger who will review the Racer will get a free Racer license! As the software world move towards multi-threading platforms, more...
Tuesday, June 16, 2009
June 16, 2009
It feels like forever since SecureString has been introduced in the .Net Framework and yet I keep seeing it being mishandled, in particular by code that returns or receives passwords in clear text, so in this post I’ll show what you should be looking for when doing code reviews and finding conversions from SecureString to string. The main idea with SecureString is that you would never store a password or other textual secret in plain text, unencrypted...
Friday, June 12, 2009
June 12, 2009
Microsoft’s Fiddler Fiddler is a free web performance tool, it is not really a property of Microsoft rather a side project by Eric Lawrence, a PM with Microsoft. I used Fiddler for both security testing and now for performance. I love it a lot. Must mention it requires Net Fx 2.0 as a prerequisite so it is limited to Windows OS. Recently Eric added support to Firefox – Fiddler Hook For Firefox, so the tool is great for both IE and FF. My related...
Thursday, June 11, 2009
June 11, 2009
This is one of the most irritating build errors a developer might see, especially while setting up an existing .NET application on a fresh machine. I have found one solution that works always. Go to "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" ( Modify the framework version, root directory etc according to your environment. ) Now, right-click and open up the Security tabs for this folder. Grant "Full control" to the 'users'...
Wednesday, June 10, 2009
June 10, 2009
'm using Forms Authentication and Role based security for an app I'm working on. Ran into a problem that even though I set the IsPersistent parameter of the FormsAuthenticationTicket to true, next time I open the app I have to log in again... authTkt = new FormsAuthenticationTicket(1, userId, DateTime.Now, DateTime.Now.AddYears(1), true, userRoles); Well, doh, the plain and simple answer is that you need to set the expiry date of the cookie,...
June 10, 2009
9% of the projects my company works on for clients are deployed internally to an enterprise environment managed by a company. We rarely have to worry about deploying to a shared hosting environment which is nice. One of the client projects we finished up recently based on ASP.NET MVC, PLINQO and jQuery was deployed to a shared hosting provider for the client and nothing worked initially. Everything worked locally of course even...
June 10, 2009
Sometimes you want your web page to 'stay alive'. That is, if a user is filling out a complicated form, you do not want the session to time out before they are finished. The user could get very angry and rightfully so: You might even get yelled at! It's not simply a matter of increasing the session timeout to a very large value. If you do that, the sessions would be left active in the server memory for hours—long after the visitors have left...
Tuesday, June 2, 2009
June 02, 2009
I was recently asked to review a licensing solution – CryptoLicensing for .NET(disclosure – I was paid for my time , the time it took to review it, but had only committed to doing a fair and balanced review). After reading Oren’s post a while ago about how he couldn’t find a decent licensing solution to the point of making his own, I was sure that this one will fall out as well over some technicality. Typemock also has a home-grown solution for...
June 02, 2009
We have earlier discussed about Web Deployment and Web Packaging quite a bit, today I wanted to dive into web.config transformation. If you would like to check out the other topics please read through the earlier blog posts below: · Web Deployment with VS 2010 and IIS · Web Packaging: Creating a Web Package using VS 2010 · ...