Differences between ASP.Net tools from normal HTML tools

3

I'm starting to program Web in ASP.Net and I've seen that in Visual Studio in the toolbox you can put <asp:Button> and things of this style. How would a <asp:Button> of a <Button> change, as if it were a HTML normal?

    
asked by wuasaa 13.12.2016 в 03:56
source

4 answers

1

Well the difference between a <asp:button> and a <button> is that the <asp:button> has many properties accessible by code while the <button> normal you have to place them by CSS or Javascript .

ASP.Net is a framework that has many things already made just for you to use at your best convenience ... among these database manipulation, HTML is just the maqueado of data ...

If you start with web, look for a framework that fits you is the best to work ... of course you can do everything with HTML, CSS y Javascript ... but it is more practical and faster to work with frameworks ... there are several ASP.Net(mvc), Ruby on Rails, PHP Laravel ... the one you like the most ...

    
answered by 13.12.2016 / 20:05
source
0

First of all, your question is not very readable. But I think I understand what you're asking.

Microsoft itself tells you the following characteristics:

ASP.NET includes:

  • Page framework and controls
  • ASP.NET Compiler
  • Security infrastructure
  • Status management functions
  • Application settings
  • Status monitoring and performance characteristics
  • Debug capability
  • XML Web Services Framework
  • Extensible host environment and lifecycle management of the
  • applications
  • Extensible designer environment

I personally have been working with asp.net quite a lot and I have to tell you that if you are going to create a medium sized project, it will be very helpful to use this technology, otherwise, if it is a small project, the learning curve It is quite large, so I would not recommend using it, and limit myself to the pure html with php.

    
answered by 13.12.2016 в 08:51
0

The main difference is the access to the control from your .net code, if you define a podras you can access it by its name from the code associated to the page, the aspx.cs, while an html tag you will not be able to do it, except that the define the property runat="server" with which you convert it into a html control.

Overview of ASP.NET Web server controls

In the article explains the difference between "HTML server controls" and "Web server controls", it is clear that the controls that asp.net provides allow to control the render and access a wider range of events in the server

    
answered by 13.12.2016 в 10:55
0

A is a server control, this includes JavaScript code that makes the calls PostBack (it is the communication of the client with the server when an event of an ASP.Net control is launched), unlike the <button> of HTML that only renders in the browser with the defined properties.

    
answered by 13.12.2016 в 17:17