What is ASP.NET


ASP.NET is not just the next version of ASP; it is the next era of web
development. ASP.NET allows you to use a full featured programming language
such as C# (pronounced C-Sharp) or VB.NET to build web applications easily.

ASP.NET still renders HTML

Unfortunately, the Internet still has bandwidth limitations and not every
person is running the same web browser.

These issues make it necessary to stick with HTML as our mark-up language
of choice. This means that web pages won't look quite as amazing as a fully
fledged application running under Windows, but with a bit of skill and
creative flair, you can make some rather amazing web applications with
ASP.NET.

ASP.NET processes all code on the server (in a similar way to a normal
application). When the ASP.NET code has been processed, the server returns
the resultant HTML to the client. If the client supports JavaScript, then
the server will use it to make the clients browser experience quicker and
easier. Even with HTML being the limiting factor here, ASP.NET still
manages to bring true OOP (Object Oriented Programming) to the Internet.

OOP on the Internet

Object Oriented Programming makes it possible to build extremely large
applications, while still keeping your code clean and structured. Now with
ASP.NET, we can do the same on the web. Traditional ASP uses HTML and
VBScript (or Jscript) to process and render pages, but because VBScript is
a scripting language, you were forced to write spaghetti code (VBScript was
entwined in the HTML and ended up rather messy in larger applications).

ASP.NET separates code from display, and you can even have pages with no
ASP.NET code in them at all. By adding references in your HTML (called
controls), you can tell ASP.NET that you want a button here, some text
there, and then in your code, you can manipulate what these controls look
like, what they display, how big they are, etc.

Controls can do more than just display information. You can add events to
controls, so that when a visitor clicks on a button, for example, ASP.NET
executes a function of your choice.

Web Services

One great feature of ASP.NET are Web Services. Web services mean that you
can literally have several pieces of your application on different servers
all around the world, and the entire application will work perfectly and
seamlessly. Web services can even work with normal.NET Windows applications.

For example: A lot of people would like to have a stock ticker on their web
site, but not many people want to manually type in all changes to the
prices. If one company (a stock broker) creates a web service and updates
the stock prices periodically, then all of those people wanting the prices
can use this web service to log in, run a function which grabs the current
price for a chosen company, and return it. Web services can be used for so
many things: news, currency exchange, login verification.. the ways in
which they can be used are limited to your imagination!

Great XML Support

ASP.NET makes it simple to use XML for data storage, configuration and
manipulation. The tools which are built into ASP.NET for working with XML
are very easy to use. XML is excellent for storing information that rarely
changes, because you can just cache that information in the computers
memory after it has been initially extracted.

.NET is still in Beta development

Microsoft is still working on the entire.NET framework, however you can
still download the Beta 2 version (which works just fine... I'm yet to come
across any major bugs) from the ASP.NET homepage. The final release of.NET
is scheduled for February 18th, 2002.

Complete Compatibility

One of the most important goals of.NET was to allow developers to write an
ASP.NET application using multiple programming languages. As long as each
ASP.NET page contains only one programming language, you can mix and match
different pages using different languages and they will work together
seamlessly. This means you can now have a team of developers with half
programming in C#, and the other half in VB.NET, with no need to worry
about language incompatibilities, etc.

A cool little side-affect of all this is that all the programming languages
look very similar, and differ only by their language syntax.

Take the following code snippets for example. They both do exactly the same
thing but the first is written in C#, and the second in VB.NET.

The C# version:
void PageLoad(Object S, EventArgs E) { myLabel.Text "Hello world!!";


The VB.NET version:
Sub PageLoad(S As Object, E As EventArgs) myLabel.Text "Hello world!!"
End Sub


If you take either of the code examples shown above and add the following
HTML to them, then they would both run perfectly inside of an ASP.NET page:


"Hello World" example!< itle><br/></head><br/><body><br/><asp:Label id"myLabel" runat"server" /><br/></body><br/></html><br/><br/>Conclusion<br/><br/>Unfortunately, because ASP.NET is new, there is not as much material on the <br/>web for it as there is for traditional ASP. The best place to start <br/>learning ASP.NET (if you have previous programming experience) is <br/>http://www.gotdotnet.com. As you start getting into ASP.NET, you will rely <br/>greatly on the MSDN library which includes the complete class library <br/>definitions amongst other things.<br/><p> About the Author <p>Mitchell is the senior editor and founder of http://www.devarticles.com. <br/>DevArticles.com provides its visitors with a wide range of development <br/>articles, interviews and code samples to help them succeed when trying to <br/>learn a new programming language, such as ASP, PHP or any of the.NET <br/>languages.</div><div class="panel panel-default" style="padding: 10px 10px 10px 10px;"><a class="btn btn-outline-primary btn-sm" href="/on/development/">development</a> <a class="btn btn-outline-primary btn-sm" href="/on/aspnet/">aspnet</a> <a class="btn btn-outline-primary btn-sm" href="/on/code/">code</a> <a class="btn btn-outline-primary btn-sm" href="/on/programming/">programming</a> <a class="btn btn-outline-primary btn-sm" href="/on/html/">html</a> </div> </div> </div> <!-- /#page-content-wrapper --> </div> <!-- /#wrapper --> <footer class="footer"> <div class="container-fluid text-right"> <p class="text-muted"><i class="fa fa-copyright" aria-hidden="true"></i> <a href="http://ondapc.com/" target="_blank">ondapc</a> project 2024</p> </div> </footer> <!-- CONTACT US --> <div class="modal" id="contact"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title"><i class="far fa-envelope"></i> Contact Me</h4> <button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i></button> </div> <div class="modal-body"> <form id="contactar" name="contactar" method="post"> <input type="hidden" name="token" value="0f83b1a020207f39b769ed9fd1745124"> <input type="hidden" name="captcha" value=""> <div class="form-group"> <div class="input-group-prepend"> <span class="input-group-text"><i class="fas fa-user"></i></span> <input class="form-control" id="name" name="name" placeholder="Your Name" required="required" value="" type="text"> </div> </div> <div class="form-group"> <div class="input-group-prepend"> <span class="input-group-text"><i class="far fa-envelope"></i></span> <input class="form-control" id="email" name="email" placeholder="Email" required="required" value="" type="email"> </div> </div> <div class="form-group"> <div class="input-group-prepend"> <span class="input-group-text"><i class="fas fa-edit"></i></span> <textarea name="message" id="message" class="form-control" rows="9" cols="25" placeholder="Write a message" required="required"></textarea> </div> </div> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary">Send <i class="fas fa-chevron-right"></i></button> </div> </div> </div> </div> <div id="contact" class="modal fade" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i></button> <h4 class="modal-title"><i class="fa fa-envelope-o"></i> Contact Me</h4> </div> <div class="modal-body"> </div> </div> </div> <script> $(function(){ $('#contactar').on('submit', function(e){ e.preventDefault(); $.ajax({ url: '/contactx/', type: 'POST', data: $('#contactar').serialize(), success: function(data){ $('#contactar')[0].reset(); $("#contact-success").append('<span><i class="fa fa-check"></i> Message Sent!</span>'); } }); }); }); </script> <!-- Bootstrap core JavaScript --> <script src="vendor/jquery/jquery.min.js"></script> <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script> <!-- Menu Toggle Script --> <script> $("#menu-toggle").click(function(e) { e.preventDefault(); $("#wrapper").toggleClass("toggled"); }); </script> </body> </html> <!-- CACHE e7b713207874015b1bec55783ee19fb5 2024-05-15 14:54:48 -->