Archive for the Category asp.net

 
 

Converting web projects to ?local? (non-web) projects and stripping away SourceSafe bindings

Gulli makes a couple of small utilities, one for tweaking VS.Net 2003 for web items support in non-web-projects la AspNetWithoutWebProjects2, and one for converting web projects out of their misery, removing any Visual SourceSafe bindings at the same time.

Download Gulli’s utilities

Trackback Spam Blocker for .Text

The interesting solution allowing to stop a spam .In this solution regular expression analyze trackback on occurrence of the certain words characteristic
for a spam.

Note: This solution was built to work with version 0.95.2004.0102

Read more

[Via Roy Osherove]

ASP.NET Client-side validation Controls that work in Firefox as well as Internet Explorer

ASP.NET Client-side validation controls that work the same as ASP.NET standard validation controls with two important differences. Firstly, the controls will work in Firefox 1.0 and later, as well as Internet Explorer.Secondly, they are fully HTML DOM compliant.

Download the DOMValidators for Firefox and IE here.

FormShield - Dynamically Generates CAPTCHA Style Images

After fighting with comments spam I took an hour to implement CAPTCHA on my blog. The implementation based on amazing FormShield control .FormShield control is free for both personal and commercial use.

Download

http://www.dotnetfreak.co.uk/controls/dotNetFreak.WebControls.FormShield.zip

Integrating with the .Text Blogging Engine

Quick guide on integrating FormShield with .Text to prevent spam on your blog by Davide Mauri.

http://www.dotnetfreak.co.uk/docs/FormShield-dotText.zip

FormShield Control Features:

  • Generates BMP, GIF, JPEG, PNG or TIFF images.
  • Choose the pixel format and smoothing mode used to render the image.
  • Set the height, width and alignment of the image as well as the alternate text displayed.
  • Image is built using 3 layers - Background, foreground and noise.
  • Provides 6 fill styles, 4 gradient styles, 53 hatch styles and 2 colors for each layer.
  • Set the length and case (lower, mixed or upper) of the automatically generated text.
  • Choose the type of characters you want to use to generate the text (alpha, numeric, symbols or a combination).
  • Choose the fonts you want to use to draw the text as well as the font style (4 combinable styles, 16 in total).
  • Pick a text effect (5 combinable effects, 23 in total) and decrease the noise level to decrease readability.
  • Draw a border on the image using one of 5 styles and your choice of color.
  • Randomise the fill style, gradient style, hatch style, font style, text case, text style, text effect and border style.
  • 6 Presets included; Default, Fire, Forest, Sand, Sea, ChessBoard.
  • Supports 3 persistent methods; ViewState, SessionState or FormField (hidden input field) - ideal if ViewState and/or SessionState isn’t available to persist property values on postback.
  • Values stored using any of the persistent methods are automatically encrypted for additional security.
  • Image is rendered on demand (either inline or using an Image Provider), and not saved as a file.
  • Encrypts the querystring to prevent deciphering by reading the HTML source.
  • Works with existing ASP.NET validation controls as well as StringCompareValidator.
  • Can be used on standalone WebForms as well as UserControls.
  • Supports .Text Blogging Engine (no compile needed) to prevent spam on blogs.
  • Full Visual Studio .NET designer integration, including optional rendering whilst in design mode.

Using the Visual Studio .NET 2003 Debugger with ASP.NET Applications

This article outlines the more commonly seen problems associated with debugging ASP.NET applications, shows examples of the errors, and explains how to fix them.

[ Via Giulio Vian's WebLog ]


Page 3 of 41234