Monday, 17 November 2014

Basic Introduction to ASP.NET web technology

Introduction To Web Applications

 In general Internet is a collection of websites.website provides collection of webpages.webpage provides information which is to be displayed to user/tacking information from user.
Internet technology is based on 4 things mainly
1.Web browser
2.Client side scripting
3.Web server
4.Server side scripting

1.Web browser

web browser is a software with collection of services[HTML interpreter,scripting language interpreter]




2.Client side scripting

The logic  executed by the browser is called client side scripting.this will reduce burden on server

ex: javascript , jquery etc.


3.Web server

web server is a software to manage webpages,provides security to web pages.web server will accept "http request" and provides http response  so it is also called http server.

Web site


web site is an application managed by web server to maintain physical path of webpages.



                                                                                                                                                      

Server side technology

web server alone cannot perform code execution at server system,it requires additional intelligence.
that is nothing but a server side technology

There are different approaches given by different companies to work with server side technology
ex: Asp,Asp.net, PHP ,cold fusion ,JSP etc.


Asp(active server pages)

Asp is provided by Microsoft before .net to  develop dynamic webpages with server side programming.asp providing scripting languages(VB script etc) for server side programming.


Drawback: scripting languages re interpreter based ,this requires syntax checking towards each execution,this will effect performance

Microsoft as given ASP.NET to overcome problems of ASP[classic asp]

ASP.NET(active server pages for .net)

Asp.net is a server side technology providing set of specifications to build web based applications with server side programming.

Asp.net is providing .net languages to support for server side programming.

            .NET is language independent, which means you can use any .NET supported language to make .NET applications. The most common languages for writing ASP.NET applications are C# and VB.NET.



Difference between Asp&Asp.Net

One of the main differences between ASP.NET and Classic ASP is the fact that ASP.NET is compiled, while Classic ASP is always interpreted.


                                  Asp.net Basic Server Object


1.Application Object
2.Request Object
3.Response Object
4.Server Object
5.Session Object

Application Object

           Describes the methods, properties, and collections of the object that stores information related to the entire Web application, including variables and objects that exist for the lifetime of the application.

Request Object

        Describes the methods, properties, and collections of the object that stores information related to the HTTP request. This includes forms, cookies, server variables, and certificate data.

Response Object

       Describes the methods, properties, and collections of the object that stores information related to the server's response. This includes displaying content, manipulating headers, setting locales, and redirecting requests.

Server Object

         Describes the methods and properties of the object that provides methods for various server tasks. With these methods you can execute code, get error conditions, encode text strings, create objects for use by the Web page, and map physical paths.

Session Object

       Describes the methods, properties, and collections of the object that stores information related to the user's session, including variables and objects that exist for the lifetime of the session.

No comments:

Post a Comment