ASP 101 - Active Server Pages 101 - Web03
The Place ASP Developers Go!

Please visit our partners


Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates














ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash


 Top ASP 101 Stories Top ASP 101 Stories
An Overview of ASP.NET
Connections, Commands, And Procedures
What is ASP?

QUICK TIP:
Persistent Radio Buttons
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates
 Active Server News from 15seconds.com Active Server News from 15seconds.com
1) Microsoft Tiptoes Ahead on Live Mesh
2) Microsoft to Begin Pushing XP SP3 to Users
3) Microsoft Server Bundles Almost Ready
4) Microsoft Tries Annual Fee in New Office Bundle
5) XP's 'Last Day' Less Final Than Gates'
 DevX .NET Content DevX .NET Content
- Beginning F#: Card Tricks
- WPF Wonders: Getting Started with WPF
- Trimming Items in a String Array
- SharePoint 2007 and the Thin .NET 3.5 Development Model
- The Mono 2.0 Offerings for Debian GNU/Linux.
ASPWire News
9/2ASP.NET MVC Preview 5 and Form Posting Scenarios
9/2SEO-Friendly Pagination Using the DataPager Control
9/2Create A Netflix/Blockbuster Style Pop-Up Using the AJAX Control Toolkit's HoverPopUpMenu
9/2Create A Netflix/Blockbuster Style Pop-Up Using the AJAX Control Toolkit's HoverPopUpMenu
9/2Mastering iTunes using LINQ To XML
9/2Book Excerpt: Microsoft Expression Blend Unleashed
9/2Interpreting Images with MRDS Services
9/2AJAX World RIA Conference & Expo 2008 West: Themes & Topics
9/2Using jQuery with ASP.NET MVC
9/2From the Editors: Don't fracture .NET


New  Name Tag Sample Code

This sample shows you how to load a background image from a file, add some text to the image using ASP.NET's graphics capabilities, and serve the resulting image to a browser.

New  ASP 101's Year in Review - A Look Back At 2008

As always seems to happen this time of year, I find myself wondering where the year went. Our faithful readers will probably recall that my usual reaction to this feeling is to take a few minutes out of the hectic holday season to look back and highlight some of the best content we published this year. So without any further ado... here's ASP 101's year in review for 2008.

New  How to Register a Control for Application-Wide Use

Did you know that you can register a custom server or user control in your web.config file and use it throughout your application without the need for the <%@ Register %> directive at the top of each page?

ASP.NET's MachineKey Element and Web Farms

The default configuration of ASP.NET's machineKey element works great on a single server. The problems emerge when you deploy your application to a Web farm.

Spell Check from Within Visual Studio

If you've ever cut and pasted text from Visual Studio into Microsoft Word just to check for spelling errors then this tip is for you.

Visual Studio Item Templates

When you add a new page to your Web site, do you often find yourself cutting and pasting from another page to get started? If you're spending more time importing controls and setting up content regions for your master page than actually working on the new page, you might want to look into creating an "Item template" in Visual Studio.

Cut or Copy Entire Lines Instantly in Visual Studio

While this is really more of a Visual Studio tip than an ASP tip, it's a huge time saver that few people seem to know about.

Using the Response.RedirectLocation Property

It appears that ASP.NET actually includes a Response.RedirectLocation property which you can set instead of using the AppendHeader method we originally used in our tip about permanent redirects. The end result is the same, but based on the feedback we've received it seems that many of our readers prefer the RedirectLocation method.

Improved Proper Case Sample Function

As often happens, a visitor has taken one of our scripts and improved upon it. Our original was designed to mimic VB's vbProperCase format. The problem is that they both fail miserably on things like "Peter O'Tool" or "Camilla Parker-Bowles". This new version handles both of those correctly.

Response.Redirect vs. "301 Moved Permanently"

We've all used Response.Redirect at one time or another. It's the quick and easy way to get visitors pointed in the right direction if they somehow end up in the wrong place. But did you know that Response.Redirect sends an HTTP response status code of "302 Found" when you might really want to send "301 Moved Permanently"?

Microsoft Releases Silverlight 2

Microsoft has shipped the release version of Silverlight 2. The runtime is currently available for Windows and Mac browsers.

Using HttpOnly Cookies in ASP.NET 1.x and Classic ASP

I've gotten a number of email from users anxious to use HttpOnly cookies in their legacy Web projects. Rest assured, you can get the same HttpOnly functionality regardless of your server side tool of choice... it's just takes a little more work.

Help Stop Cross-Site Scripting Attacks with HttpOnly Cookies

Did you know that there's a simple little change you can make in the way you handle cookies that can help prevent your users from falling victim to a cross-site scripting attack? Implementing HttpOnly cookies is quick, easy, and goes a long way towards making your application safer for everyone.

Classic ASP Ad Rotator Sample

This sample illustrates the basics of how to use the Ad Rotator control. The control is easy to use, and just like its .NET counterpart, it can be useful even if you're not actually serving advertisements.

Jump To a File in Windows Explorer Directly From Visual Studio

Did you know that recent versions of Visual Studio all come with the handy little feature of being able to jump directly to the folder that contains the file you're currently working on?

ASP.NET Ad Rotator Sample

This sample illustrates the basics of how to use the ASP.NET Ad Rotator control. The control is quite simple and even if you're not actually serving advertisements it's a great way to rotate the display of other images as well.

Yet Another User-Contributed Version of the Calendar Sample

We must've done something right when we wrote this sample, because it's ten years later and users are still using it and even sending us their own customized versions. Quite a few changes in this version. If any of these features are something you think might be useful, download it and give it a whirl!

Visual Studio 2008 SP1 and .NET Framework 3.5 SP1

After a healthy run in beta, Microsoft has finally released both Visual Studio 2008 Service Pack 1 and .NET Framework 3.5 Service Pack 1.

Case-Insensitive Usernames and Passwords

Our login and password sample code has always been case-sensitive. While we don't really recommend it, if you must make your usernames and/or passwords case-insensitive, it's actually quite easy to do.

How To List The Tables In A Database

While developers are usually interested in accessing the data contained within a database's tables, occasionally you need to know something about the tables themselves. It's at these times when this quick ASP.NET tip might come in handy.

Form ViewState ASP.NET Sample Code

This sample illustrates how ASP.NET handles the problem of maintaining a Web form's ViewState for you automatically. As such, the actual code involved is not that exciting, but the fact that it does all the work for you should excite you some.

Name Your Development Sites

Do you ever get sick of trying to remember the IP address to the local development version of a site you're working on? Here's a little tip that might help.

Installing IIS on Windows Vista Home Premium

While you may expect to be able to install IIS 7.0 on Windows Vista Business and Vista Ultimate, you might be surprised to learn that you can also install IIS 7.0 on Windows Vista Home Premium.

Leaving Scripts and Styles Inline

When deciding if you should leave a Web page's JavaScript and styles inline or move them to a separate linked .js or .css file, there are a few different factors to consider.

Move Settings Out of the Web.config File

Did you know that you can move sections of your Web.config file into other files? Whether it's to keep things tidy or simply to make it easier to find the settings you change often, it's easy to do and yet few people even realize you can.

Use the Same Event Handler for Multiple Objects

As a developer, repetitive code is your enemy. It takes longer to write, leads to larger files, and is harder to maintain. Which brings me to the point of this tip. Did you know that you can tie the same event handler to multiple objects? It's easy to do, but most people never think to try it.

Checkbox to Database Sample

This sample builds upon our original Checkbox sample by showing you how to display boolean data as a checkbox and then how to save the state of that checkbox back to a database.

How To Calculate Age

Determining a person's age given their date of birth seems simple enough, but I get a lot of email from people who can't seem to get the code working as it should.

46 New ASP.NET AJAX Control Toolkit Tutorials

Microsoft just published a series of 46 -- that's right 46! -- tutorials that provide step-by-step instructions for implementing the different controls in the ASP.NET AJAX Control Toolkit. If you've been putting off messing with AJAX, what can I say... sometimes procrastination does pay off!

A No-Frills Text File Editor

There are times when it's nice to have a full blown development environment like Visual Studio to mangage your site with, but there are also times when a simple little web app fits the bill perfectly.

Sortable Date Format

Why do people insist on using mm-dd-year or dd-mm-year when creating log files? Are you really trying to see what happened on the same month of every year or the same day of every month? You might want to try this alternative, which when sorted numerically actually puts the files into chronological order.

Support for CSS in Visual Studio 2008

It sure took Microsoft long enough to add decent style sheet support to Visual Studio, but man was it worth the wait. This article examines the new CSS capabilities available in Visual Studio 2008.


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers