ASP.NET
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Iron Speed
Go Back   Tutorialized ForumsWeb Design & DevelopmentASP.NET

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old October 5th, 2004, 11:00 PM
ashish ashish is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Australia
Posts: 74 ashish New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 15 m 32 sec
Reputation Power: 0
ASP.NET

Hi,

Don’t know if this is better suited to the general programming talk section, but i just wanted to start a tutorial regarding the introduction to ASP.NET, its pretty cool and i am learning it myself .

ASP.net by Microsoft is also known as ASP+ is not reallly a upgraded version of ASP. It is a entirely new technology in terms of server side scripting.

ASP.NET delivers amazing performance when used with the .NET framework allowing you to get a drag and drop coding interface resulting in much less coding


What is Server Side Scripting?

Normally, In case of a web page coded in HTML, the request for the page is sent to the server and the HTML file is sent back to the user.

server side scripting allows you to execute some code, some event before the page is sent back to the user so, here when the user requests a ASP page, the request is sent back to the server from the browser, the ASP engine reads the file line by line executing the script written in the file and afte erading all the lines and executing the code the ASP file is returned to the user in the form of a HTML page.


What is .Net Framework?

the .NET Framework is an API for building, deploying, and running Web Services and Applications developed by Microsoft.



Are there any differences between ASP.NET Vs ASP

Here are a few major differences between the two scriptin languages:

The Default extension for a ASP.net file is '.aspx'.

ASP.net offers full compatibility with languages like Visual Basic, C#, C++ where as ASP does not.

ASP.Net contains a huge set of HTML controls all of which can be defined as ASP.NET control objects which in turn can be controlled by scripts.

There is better event handling, all the objects on a page can be processed by the code written in ASp.net

Supports custom forms based user authentification & according to the priviliges of the user he has access to information displayed.

At the first request of a ASP.net page the code is compiled and a copy of it is created & cached in the memory, thus allowing for increased performance.


Can I install ASP.net?

You will need a windows compatible PC & a windows O/S, windows 2000 or XP are good options.
You will also need the internet information server installed, this comes bundled with the 2000 & XP & some other versions of the microsoft O/S, you can install it by going to the add/remove programs in your control panel.

A internet connection to downlaod & install the .Net framework from the microsoft website, this is different from the .Net SDK which is bigger, around 130MBs.
__________________
Cheers,
Ashish
M6.Net - ASP Hosting, ASP.Net Web Hosting

Reply With Quote
  #2  
Old October 6th, 2004, 11:30 AM
kurt kurt is offline
Administrator
Tutorialized Novice (500 - 999 posts)
 
Join Date: Jan 2004
Posts: 514 kurt New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 5 m 48 sec
Reputation Power: 0
Great post Ashish, thanks!

Kurt

Reply With Quote
  #3  
Old October 7th, 2004, 12:56 AM
ashish ashish is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Australia
Posts: 74 ashish New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 15 m 32 sec
Reputation Power: 0
no problems kurt, here is some more

Some features of ASP.NET


Crash protection: ASP.NET has been designed to handle your memory leaks efficiently, whenever a memory leak is detected ASP.net creates another copy of itself, all new requests are directed to this new copy, the older copy is deleted along with the memory leak it created when it finishes executing the pending processes.

Memory Leaks - In order for a program to run it needs memory(RAM), after a application is terminated it should
normally free up the computer memory it has been using. However it sometimes does not happen which could be due to a result of a bug/design problem in the application.


Lets say that out of 4 applications 3 fail to release all or a significant part of the memory that they were using. This memory is now tied up, now if a new application is started it could be possible that the computer does not have enough
memory to provide it to run properly, resulting in a huge system slowdown or sometimes crashes.


Caching: ASP.Net allows you to build web applications that are fast, it does that by caching of compiled code, i.e.
certain pages can be cached into the memory, so that they don’t take a longer time to retrieve, now the trick here is that
this code is compiled, this is it is already converted into a machine readable format.


Caching/Cache MemoryIn a computer almost all of your applications and data are stored on your hard disk, whenever you access something the CPU first searches for it in the cache memory, if the data is there it is returned back
the user, otherwise the CPU searches for it in the Hard disk, once the data is found it is first transported to the RAM of your system, and then from to the cache memory and then it is returned to the user.

The memory of the cache depends on the PC configuration, as more and more data is stored in the cache the previous data has to be deleted, caching makes data access faster as if the data is already stored in the cache then it cuts out the step of searching in the memory.

Reply With Quote
  #4  
Old October 7th, 2004, 08:52 PM
ashish ashish is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Australia
Posts: 74 ashish New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 15 m 32 sec
Reputation Power: 0
Hello all,

Here are a few more things about ASP.NET that every novice should know.

In traditional ASP the executable code was written along with the HTML code i.e. some lines of HTML and then some lines of ASP and then some more lines of HTML & so on, for a beginner this make the code very difficult to understand also it is a tiring task to read or even modify such codes.
ASP.NET adderssed this issue as well with the help of three kinds of server controls.

A. HTML Server Controls.
B. Validation Server Controls.
C. Web Server Controls.

ASP.NET was designed with the issue of scalability in mind. ASP.NET is capable of being scaled over several servers at a time with very little loss of communication.

Scalability - In a broad sense of the term scalability in computing means being able to function properly or even better when there is a change in the environment in terms of volume or size.

ASP.net is not cross platform compatible though i.e. you cant play mix and match with it, as its been made by microsoft it can only run on microsoft IIS servers.


ASP.NET is not totally compatible with ASP i.e. it is not fully backwards compatible.


Some information from http://www.w3schools.com

Reply With Quote
  #5  
Old October 12th, 2004, 12:29 AM
ashish ashish is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Australia
Posts: 74 ashish New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 15 m 32 sec
Reputation Power: 0
Hello all,

Here are a few more things about ASP.NET


HTML server controls - Normally, all HTML elements in ASP.NET files are treated as text. HTML server controls are basically HTML tags that are processed by the web server and not the browser i.e. these are HTML tags understood by the web server. HTML controls also slow down page load, so it should be used with a certain amount of caution. If too many are used on a single page then it slows down page loads.

To make a HTML server control we use the runat = "server" attribute in the <form> tag, HTML server controls can only be placed within a <form> tag. We can use the 'id' attribute in order to give the HTML server control a custom defined name.

Some very common HTML server controls are HtmlImage, HtmlButton, HtmlAnchor etc. etc.

Reply With Quote
  #6  
Old October 13th, 2004, 12:46 AM
ashish ashish is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Australia
Posts: 74 ashish New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 15 m 32 sec
Reputation Power: 0
Hello all,

Here is some information on Web Server Controls in ASP.NET


Web Server Controls - Just like HTML server controls, web server controls are also created on the server once again requiring the 'runat' attribute in the <form> tag. However these controls are different from the HTML server controls as these are controls that are special ASP.NET tags that are recognised by the server.

Reply With Quote
  #7  
Old October 14th, 2004, 02:17 AM
ashish ashish is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Australia
Posts: 74 ashish New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 15 m 32 sec
Reputation Power: 0
Hello Everyone,

Here is some more 411 on ASP.NET

The Third and last control in ASP.NET is the


Validation Server control: As the name suggests, these are controls that perform some kind of validation on data entered by the user.

What is Validation: It is a way of checking that the data entered by the user is correct and relevant before a action is performed otherwise a error message is generated to the user. There can be many different kinds of validations.

For Example you might want to validate the age of a person, i.e. in a member registration form you might want the user to be of a specific age before S/he is allowed to register, you can do that by validating the age of the person and informing them if they are below the age.

Validations can also be used to make sure that a particular data is filled by the user for example the password field in some registration forms.

Another kind of validation that you can make is that a field should hold only a certain type of data, like the 'Name' Field in a form should only accept characters and if there are any other characters present then the user should be informed of the error.


ASP.NET comes bundled with a good amount of validation controls, like most languages it allows you to make your own validation criteria as well

Again these controls must be coded in the <form> tag with the runat "server" attribute and a id.


for more information you can visit:
www.411asp.net
www.w3schools.com
www.codewanker.com

Reply With Quote
  #8  
Old October 15th, 2004, 11:20 AM
dasp dasp is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 11 dasp New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 4 m 50 sec
Reputation Power: 0
Thanks for helping promote ASP.NET!!

DiscountASP.NET
http://www.DiscountASP.NET
Experience the Power of ASP.NET for Less

Reply With Quote
  #9  
Old October 21st, 2004, 01:08 AM
ashish ashish is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Australia
Posts: 74 ashish New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 15 m 32 sec
Reputation Power: 0
Hi all,

Just wanted to tell something to all the newbies about the various HTML server controls

Normally, all HTML elements in a ASP.NET file are treated as normal text, however, in order to process a HTML element at the server, you need to add a runat = "server" property in the form and the Html tags.

Once you do that you can programmatically control a Html element, in fact all the HTML controls allow you to control some or the other Html tag at the server.

Here is a list of the various HTML server controls along with the Html tag that they control.

HtmlAnchor - Used for controlling the <a> tag, which is associated with hyper linking.

HtmlButton - Controls the <button> tag.

HtmlForm - Controls forms.

HtmlGeneric - All those Html controls for which there is no specific Html server control are handled by this control, for ex: <body>, <div>, <span>, etc.

HtmlImage - Controls the image tags.

HtmlInputButton - Controls the submit, reset & button HTML elements.

HtmlInputCheckBox - Controls the checkbox element.

HtmlInputFile - Controls the file element.

HtmlInputHidden - Controls the hidden element.

Any suggestion/Corrections/Additions welcome

Some info from www.411asp.net & www.aspalliance.com

Reply With Quote
  #10  
Old November 1st, 2004, 11:50 PM
Ninnad Ninnad is offline
Junior Member
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: mumbai
Posts: 3 Ninnad New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Ninnad
sir thats all ok but how do i start working onASP.Net im beginer. and want do my final year project on ASP.Net
__________________
Sir,
i m final year student and trying my project in ASP.Net so plz. help me out whenever i get stuck

Reply With Quote
  #11  
Old June 16th, 2007, 03:17 AM
mau_mostudio mau_mostudio is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jun 2007
Posts: 31 mau_mostudio User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 35 m 37 sec
Reputation Power: 2
thanks for the info

Reply With Quote
Reply

Viewing: Tutorialized ForumsWeb Design & DevelopmentASP.NET > ASP.NET


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway