docluv

Stories submitted by docluv

Building a Basic IP BlackList Filter in ASP.NET (professionalaspnet.com)

submitted by docluvdocluv(1575) 4 years, 8 months ago

Explains a little about IP addresses, SPAMMERS and Hackers and a simple method to block their access to your site through an ASP.NET httpModule. read more...

add a comment |category: |Views: 36

tags: another

Reporting Exceptions through E-Mail (professionalaspnet.com)

submitted by docluvdocluv(1575) 4 years, 8 months ago

One of the terrible things we as developers have to deal with is unhandled exceptions, we all have them good and bad developers. The problem is that no matter how well thought out an application may be we will always have holes that we never anticipated. Unfortunately one day an end user will find it and our application will ungracefully blow up. This article is a simple error reporting routine to e-mail exception details. read more...

4 comments |category: |Views: 14

tags: another

Blocking IIS IP Addresses with ASP.NET(west-wind.com)

submitted by docluvdocluv(1575) 4 years, 8 months ago

Blocking IP addresses of SPAM bots and hackers is important for any web site's security plan. read more...

add a comment |category: |Views: 4

tags: another

Creating a Background Thread When the Web Site First Starts (professionalaspnet.com)

submitted by docluvdocluv(1575) 4 years, 8 months ago

There have been several instances along the way where a Web application I am developing would be served by having a thread periodically spin up to perform a needed task at a specified interval. For example the application may need to log the state of some variables every hour on the hour or perform an update against a database. I have found there are two ways to set this in motion, through the Application_Start event handler in the Global.asax file or by creating a custom httpModule. Either way the same worker method can be called to perform the needed task. read more...

1 comment |category: |Views: 10

tags: another

Create an HttpModule to Process Wildcard Extension Mapping in ASP.NET (professionalaspnet.com)

submitted by docluvdocluv(1575) 4 years, 8 months ago

After you have configured IIS to allow wildcard extensions through ASP.NET how do you handle these request in ASP.NET. The answer is a custom httpModule and I extend this to a simple custom httpHandler. read more...

add a comment |category: |Views: 19

tags: another

Configure IIS for Wildcard Extensions in ASP.NET(professionalaspnet.com)

submitted by docluvdocluv(1575) 4 years, 8 months ago

Wanting to map URLs without an extension through IIS for URL Rewriting, this is will get you started with how to configure IIS to allow this. read more...

add a comment |category: |Views: 15

tags: another

On The Care and Handling of Cookies(codeproject.com)

submitted by docluvdocluv(1575) 4 years, 10 months ago

A very detail look into the programatice use of cookies in ASP.NET. read more...

add a comment |category: |Views: 29

tags: another

Handling Master Page Click Events in the Content Page(professionalaspnet.com)

submitted by docluvdocluv(1575) 5 years ago

This article explains how to set the Click Event Handler of a button on a Master Page in the Content Page. read more...

add a comment |category: |Views: 91

tags: another

Create a Common Copyright Control(professionalaspnet.com)

submitted by docluvdocluv(1575) 5 years, 1 month ago

This is an article that goes through creating a simple control to insert on a site to keep the Copyright years current. read more...

1 comment |category: |Views: 0

tags: another

Using a RequiredFieldValidator with a RadioButtonList, DropDownList, L(professionalaspnet.com)

submitted by docluvdocluv(1575) 5 years, 1 month ago

We often need to require a user select an item in a RadioButtonList, or any other web control derived from ListControl. Often an uninitiated programmer will add a RequiredFieldValidation control to their form and set the ControlToValidate property to the RadioButtonList in question. read more...

add a comment |category: |Views: 2455

tags: another

Unable to cast object of type 'ASP.masterpage_master' to type 'ASP.mas(professionalaspnet.com)

submitted by docluvdocluv(1575) 5 years, 1 month ago

If you ever come across this error you can you can usually resolve it pretty quickly, but most likely it will crop up again. The InvalidCastException, “Unable to cast object of type ‘ASP.type’ to ‘ASP.Type’” is an extremely random occurring error. There seem to be some common ways to correct this error, but none are reasonable for many situations. read more...

add a comment |category: |Views: 13

tags: another