Industry guru Dave Taylor offers tech support on technical and business topics, including iPhone, iPod, Microsoft Windows, Sony PSP, cellphones, online advertising, CSS, Web design, business, Unix, Linux, SEO, Mac OS X, and shell script programming.     


What is ASP.NET?

What is ASP.NET? If I have to use ASP.NET don't I need to do JavaScript and CGI programming? And where does ASP.NET stand among HTML, XHTML, JavaScript, CSS? If I use ASP.NET with C# don't I need to learn CSS etc?


Dave's Answer:

Y'know, a lot of people talk about ASP.NET, but it's surprisingly hard to find a clear and coherent definition of exactly what it is and how it fits into the world of Web development. Fortunately, Wikipedia has a very nice definition:

"ASP.NET is a set of web development technologies marketed by Microsoft. Programmers can use it to build dynamic web sites, web applications and XML web services. It is part of Microsoft's .NET platform and is the successor to Microsoft's Active Server Pages technology."

The Wikipedia entry continues with:

"Even though ASP.NET takes its name from Microsoft's old web development technology, ASP (Active Server Pages), the two differ significantly. Microsoft has completely rebuilt ASP.NET, based on the CLR shared by all Microsoft .NET applications. Programmers can write ASP.NET code using any of the different programming languages supported by the .NET framework, usually (proprietary) Visual Basic.NET, JScript .NET, or (standardized) C#, but also including open-source languages such as Perl and Python. ASP.NET is faster because the entire web site is precompiled to one or a few dll files on a Web Server and the Web Site runs faster compared to the previous scripting technology.

"ASP.NET attempts to simplify developers' transition from Windows application development to web development by allowing them to build pages composed of controls similar to a Windows user interface. A web control, such as a button or label, functions in very much the same way as its Windows counterpart: code can assign its properties and respond to its events. Controls know how to render themselves: whereas Windows controls draw themselves to the screen, web controls produce segments of HTML which form part of the resulting page sent to the end-user's browser.

"ASP.NET encourages the programmer to develop applications using an event-driven GUI paradigm, rather than in the conventional web scripting fashion. The framework attempts to combine existing technologies such as JavaScript with internal components like "Viewstate" to bring persistent (inter-request) state to the inherently stateless web environment.

"ASP.NET uses the .NET Framework as an infrastructure. The .NET Framework offers a managed runtime environment (like Java), providing a virtual machine with JIT and a class library.

"The numerous .NET controls, classes and tools can cut down on development time by providing a rich set of features for common programming tasks. Data access provides one example, and comes tightly coupled with ASP.NET. A developer can make a page to display a list of records in a database, for example, significantly more readily using ASP.NET than with ASP."

Not enough data? There's also an official ASP.NET site that offers tons of information, downloads, developer tools, starter kits, and much more. Indeed, one of the more popular tools on this site is Visual Web Developer 2005.

In terms of your specific questions, it appears to me that the entire point of ASP.NET is that you don't have to learn JavaScript, CGI programming, or Cascading Style Sheets.

This isn't to say that you can't go into the ASP.NET code and tweak things, however. If you do know JavaScript or CSS, it certainly appears that you can fine-tune your code to make your site work exactly as desired.

In any case, I hope this answers your questions. In addition to the ASP.NET site, remember that there are also a range of ASP.NET books available too, if you prefer learning that way.


More Useful Windows PC Help Articles:
✔   What's the easiest way to speed up my Windows PC laptop?
My Dell Windows 7 laptop is starting to drive me crazy. It's so darn slow! I've had it a few years and I...
✔   Can I force a Windows 7 OS system update?
Every so often Windows 7 pops up a window and tells me that there are updates. That's nice, but how can I force...
✔   Fix Google Drive (Gdrive) no longer supported (out of date)?
I'm a big Google fan and have been using Google Drive for quite a while as a cloud storage device. It's a breeze,...
✔   How do I open or unpack a RAR archive on my Windows PC?
I have some ".rar" files on my Windows 8 PC and am curious how to unpack them to see what's inside. From a...
✔   How can I shrink my Windows 8 Desktop file icons?
I've figured out most things in the new Windows 8 interface, except I can't see how to easily reduce or shrink the file...

Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
    Enter your name: and your email addr:  









Reader Comments To Date: 1

kalindii said, on August 14, 2008 9:40 PM:

Dear Mr Taylor,i have added a text file in sqlserver2000 database and iwant to display the text in a textbox in asp.net but while i am retriving the data from the database it is displaying only a part of the text file.i have done the textmode of the textbox multiline.

Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!

I do have a comment, now that you mention it!











I will never send you any unsolicited email. Ever.






Check This Out Too...

 
Look for Answers
Need Help? Ask Dave Taylor!


Follow Me on Pinterest

Find Me on Google+
ADT on G+
© 2002 - 2013 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. My lawyer says "Thanks".
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.