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.

VB’s "My" for C# Developers

Dan Fernandez has resulted very interesting example of use That in C# 2.0.

As you know for this purpose in VB already there is keyword My.

Using "My", you can write code like this:

Dim contents As String
contents = My.Computer.FileSystem.ReadAllText("c:\mytextfile.txt")

Instead of this

 

Dim contents As String
contents = IO.File.ReadAllText("c:\mytextfile.txt")

Many developers requested similar functionality for C#.

Juval Lowy realized static class That with functionality similar to My in VB.NET.

Browse smarter with tabs

Microsoft has added new functionality(Tabbed browsing) in MSN Search Toolbar.Tabbed browsing makes surfing the web faster and more convenient.Web pages are
loaded in "tabs" within the same browser window, making it easy to switch back and forth among multiple web pages.

Get MSN Search Toolbar 1.2

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.


Page 37 of 59« First...102030...3536373839...50...Last »