Introduction to ASP.NET with C#

Written by Exforsys Inc


Introduction: In this tutorial we will introducerepparttar new technology for building websites. This new technology is known as Asp.net. Asp.net allowsrepparttar 107263 developer to build applications faster. This is achieved due torepparttar 107264 fast that Asp.net makes use ofrepparttar 107265 rich class libraries provided by Microsoft. net framework.

Classic Asp:

Asp, which is now more commonly known as Classic Asp was used extensively in 1990's. The idea of creating dynamic pages and linking them with database wasrepparttar 107266 main purpose of classic Asp. Asp used html controls for user interaction. Apart fromrepparttar 107267 good features available in Asp programming, it also lacks in some ofrepparttar 107268 major areas. These areas include clean coding as asp pages were incline pages and allrepparttar 107269 business logic as well asrepparttar 107270 interface was coded in a single page. This produces many problem whenrepparttar 107271 code had to be updated or modified. Asp pages also lacked performance and scalability which were fixed in Asp.net. Lets see what Asp.net technology has to offer a developer to build dynamic pages much faster.

Asp.net Web Applications:

Asp.net is based onrepparttar 107272 .NET framework for building web applications. Since Asp.net is a part ofrepparttar 107273 Microsoft. NET Framework it hasrepparttar 107274 ability to take advantage of rich class libraries provided by Microsoft. The question is that why should one use Asp.net and not use classic asp or any other web programming technology. Here are some ofrepparttar 107275 features of Asp.net that makes itrepparttar 107276 best web application technology.

Use of Controls:

Asp.net providesrepparttar 107277 developer with several controls to perform basic as well as advanced operations. Controls provided in Asp.net falls under HTML Controls, HTML Server Controls and Web Server Controls.

HTML Controls:

Html controls arerepparttar 107278 basic controls that are executed onrepparttar 107279 client machine. These controls include textbox, label , image etc. A simple example of html control can be given byrepparttar 107280 following code which renders an image.

As you see HTML controls are very easy to use but they don't provide much features. Microsoft decided to introduce HTML Server controls which extendsrepparttar 107281 functionality of simple HTML Controls.

HTML Server Controls:

HTML Server Controls looks exactly likerepparttar 107282 HTML Controls with one difference that they are executed onrepparttar 107283 server rather thanrepparttar 107284 client. A simple example of HTML Server controls is given below:

just add a runat server attribute withrepparttar 107285 image tag.

As you can see thatrepparttar 107286 image tag or control looks exactly likerepparttar 107287 one that we have previously discussed. But it has an additional attribute which is runat. The runat attribute denotes that this is a HTML Server Control and will be executed onrepparttar 107288 Server rather thanrepparttar 107289 client.

An Introduction to Tape Backup

Written by Linus Chang


If you run a small business, chances are you're saving important files to a server. But what happens when disaster strikes? How are you ensuring that your files won't be lost? Many people fail to realize thatrepparttar loss of files could cripple their business. You can insure your office and equipment, but you can't insure files. You can't repair or buy back lost files. Ipso facto, they are lost!

This brings us torepparttar 107262 concept of disaster recovery. What is disaster recovery? If you're thinking that disaster recovery is about frantically trying to get back data that's already been lost, then you're already behindrepparttar 107263 8-ball! Disaster recovery is about safeguarding your organization's data so that it can be safely restored in event of a crippling disaster. And having an industry-standard file backup strategy is undoubtedlyrepparttar 107264 most important part of disaster recovery.

What you have to do is ensure that all files onrepparttar 107265 server are backed up to another storage medium - tape, removable hard disk, NAS device, and so on. Most businesses choose to use tape. Let's look at how you can set up a tape backup strategy for your own business.

1. Tape -repparttar 107266 perfect backup medium

Isn't tape an anachronism inrepparttar 107267 age of optical disks, removable hard drives and a plethora of whiz-bang, random-access storage media? Tape is indeed a dinosaur in relative terms, but it's ideal for backup. Tape is slow, but can store a lot of data... one mid-range tape should be enough to backup your entire server. Plus, tape is extremely cheap - mid-range tapes cost around $20 each.

2. When should you backup?

Typically, tape backup is performed atrepparttar 107268 end of each day. Just put inrepparttar 107269 tape and letrepparttar 107270 backup process run overnight. If your server ever suffers a catastrophic disaster, you have at least saved all your files fromrepparttar 107271 previous day.

3. Tape Rotation

The ideal tape backup solution would involve using a new tape for each backup. This means purchasing a new tape for every day of your business's operations. This is hardly cost-effective for your business. Tape is cheap, but not that cheap!

This is why we speak of tape rotation. Tape rotation means to reuse tapes from previous backups. The simplest tape rotation scheme is to have one tape for each day ofrepparttar 107272 working week. Tapes are labeled Monday, Tuesday, Wednesday, Thursday and Friday.

You can restore data from any one ofrepparttar 107273 tapes in your library, or in this case, any day inrepparttar 107274 pastrepparttar 107275 week. This strategy requires only five tapes, but only provides one week's data backup history.

Cont'd on page 2 ==>
 
ImproveHomeLife.com © 2005
Terms of Use