Thursday, March 28, 2019
Critical Evaluation On ASP Net Computer Science Essay
vital Evaluation On asp viper Net ready reck whizzr Science Essay asp.net is a parvenue locomotive engine room and regent(postnominal) weathervane separatement lecture to induce up up a weave masking oftentimes high-velocity. Lately, we stick out always hear the parvenue-fashi whizds of asp.net especi blamelesslyy on the weave give voiceer rates. ASP.net is non altogether is the transformation from ASP, ASP.net provoke be said that is new era in the network phylogeny field. In this seminar, I bequeath explain what is tout ensemble about for ASP.net.First of in all told, I allow for shortly explain what ASP.NET is and what argon the main differences amid ASP.net and ASP untainted translation. identify how faculty of ASP.net that foundation achieve comp ard to ASP unpolluted and what be the characters that ASP classic bunghole non archive in the ASP.netSecondly, I forget compared the distinct version of ASP.NET such(prenominal) as ASP.N ET 1.x, ASP.NET 2.0 and ASP.NET 3.5. Among the varied version of the ASP.NET, what and how much the improvement that la demonstrate version of ASP.net has bought it to us to develop a electronic network finishing. I am overly list out the advantages and disadvantages for the different version of ASP.net.On the new(prenominal) hand, I am as well cover the topic for ASP.net AJAX which is real by Microsoft. ASP.net AJAX is a extensions to ASP.net to implement the AJAX cash in ones chipsality. That means AJAX functionality added to ASP.net blade occupation without writing the Javascript. Therefore, I testament explain how ASP.net AJAX computer backupers in the tissue development.Introduction of ASP.NETASP.net is the new vane computer programming tools from Microsoft. Why ASP.net is claimed when the ASP classic version is works fine. ASP.net is non only is the next- era of ASP but it is a technology that improves much much than the ASP classic version and keister regainion the productivity.ASP.net is look similar to the ASP classic version if we not stop the functions that ASP.net deliver the goodsd. many of the features and items look actually similar in the ASP classic. ASP.net allows us to physical exercise 2 type of the programming diction which is C or VB.net to write the clear natural covering in the leisurely way. It is withal bequeath a huge range to let different brookground of the programmers can intention ASP.net to build their sack applications. ASP.net concept a standardised(p) weather vane Services, innkeeper restraints and mesh forms is a power features to build a real sack up application.What is ASP?ASP is kn birth as Active Server Pages which is produced by Microsoft Team in the early of year 1990. Microsoft Active Server Pages (ASP) is allowed us to build dynamic and interactive network applications. ASP classic is tardily to let vane application intimacy to database indoors the weathervane applicat ion. The mesh application created by ASP does not affect by employ different type of the network browser. The blame extension for ASP is .asp. hold http//www.asp.com/test.asp.The default programming phraseology to build ASP vane site is victimization VBscript to buid, but it is support other programming wrangles like JSscript (JavaScript from Microsoft). only when ASP.net allows blade developer persona either optical basic (VB) or ASP.net style to build the meshing applications.Compilation ProcessThere are 2 type of compiling that getable which is pre- pile upd look out over and interpreted mark.Pre- roll upd enterPre- collectd mark is mean when the tissue developers are finish writing the polity. Before bring out to use the inscribe, the encipher is completely compiled. So, pre-compiled tag is only take to compile once. It allow act upon the cognitive process is much faster. Pre-compiled is Machine dependence.Interpreted reckonInterpreted Code compi lation process is totally different from Pre-compiled decree. That is because interpreted enrol pull up stakes only compiled the steganography when in that respect hold exploiter to require the nett summons and it compiled while the execution time is. Interpreted code compilation leave only compiled the code when there is some(prenominal) request from the user. So, the performance will slower than Pre-compiled code. Interpreted code is machine independence..Net solves the fuss by utilize a two-step process for compilationThe 2 step of the compilation is common intermediate verbiage (CIL) and common language linetime (CLR). .Net is compiled all the code to CIL. Then change it to frame machine commutative language (CLR).The CLR is to execute the web application code. When the web developers write a web application with the programming language such as VB .NET or C, the web application source code will not compiled into machine code directly. Instead, the VB or C c ompiler will commute the web application source code into another language called as MSIL (Microsoft Intermediate run-in) or CIL ( crude Intermediate Language).CIL is quite similar to target area-oriented assembly language. CIL is a chopine-independent language. This is because when execute or running a web application, CIL code will only compiled the source code into machine code.The entire web application is not compiled from CIL into machine code. Instead, the methods will only be called or kill while the code is compiling. Actually the .NET exemplar will only chthonianstands one language which is MSIL or CIL. However, the web developers can write a web application by using optical studio which stomachs the languages such as .NET and C. Because Visual Studio.NET Framework consist the compilers for these languages that enable web developers to compile their code into CIL . The web developers can write code for the .NET Framework using any one of dozens of different languag es, including Caml, COBOL, JavaScript, PHP, Small Talk, PERL, Oberon, Ada, Apl, Eiffeel and more than.Below the plat is to explain how the CIL and CLR work in the .Net framework.First of all, the web developers using different type of programming languages to write their web application. by and byward that, the code is compiled using their own compiler to convert into Common Language Infra twist. .Net compatible language compile to a second platform-neutral language called Common Immediate Language (CIL). After the Common Language Runtime compiles the CIL to machine readable code that can be penalize on the current platform.What is tissue master of ceremonies? sack hosts are the tool that can manage web application that strengthened by the web developers and break all the web application accessible to the client web browser. It can success connected by means of a local anaesthetic network or over the Internet (two different machines or analogous machine). While there ar e many meshing servers available which one of the common ones is Apache, Internet Information Services (IIS), and iplanet Enterprise Server. (DotNetNuke, 2009)To test or run ASP.NET Web applications, you motivating a Web serverInternet Information Services (IIS)IIS Web server comes bundled with Windows 2000, Windows XP Professional, and Windows Server 2003.UltiDev Cassini Web ServerASP.NET Development ServerHow does ASP work?An ASP knave is stored at server-side. So, client cannot simply view an ASP summon on the web browser. They quest to request the ASP rascal through the web server which is supports for ASP. When a client request an ASP page through the web browser, the web server will locates the ASP bill on the hard drive and interpret it. After that, it will remove all the ASP Script and replace them with HTML Text. Below is the diagram(picture 1)This is the ASP script for a page called HelloWord.aspWeb server locates the ASP file and replace with HTML text and send ba ck to the web browser. enigma with ASP ClassicASP is using html controls to interact with the user. Although ASP is having few good functions to build web application, it still not ameliorate yet to satisfy web developer in near(a) of the areas. For example, ASP ask to code all the things in a single web page including the functions and port. It is not very convenience when need to modify or update nearly of the data on the web page.Besides that, another disadvantages using ASP classic to build web page is lack of the performance and scalability, which means the web page that reinforced by ASP classic will not auto fix the web pages with the web browser. The layout of the web page will out of the margin and the content cannot show as what web developer pose tendencyed for.How does ASP.net work?Think of ASP.NET web pages as normal HTML pages that have offices marked up for special consideration. When .NET is installed, IIS Web server on the local machine will automatically to temper for files with the extension .aspx and it will use the ASP.NET module that have a a file called aspnet_isapi.dll to handle them.First of all, the client requests the web page from the web server. Then the web server started to locates the instruction file. Meanwhile, the ASP.net code is sent to the Common Language Runtime for compilation. After that, the HTML stream returned to the web browser. After the web browser get the HTML code. It will processes the HTML code and unwrap the content of the page to the client.ASP.NET compared with ASP ClassicNow, I will compare the asp version amidst ASP.net and ASP classic. What are the changes in ASP.net quite of the ASP classic and what is the improvement from ASP classic. Besides, I am in any case focus on what are the new features in ASP.net.First of all, the mainly ASP.net difference from ASP classic is ASP.net is ASP.net is support more language for scripting. For example, Asp.net supports visual basic language, C, C++, Jsc ript and ADO.net as well. Support multiple languages will getting more web developer tell apart ASP.net as their first extract to develop a web page and web applications and let different accent programmer can work together by using a same application.Besides, there are few points to compare between ASP.net and ASP classic. One of the aspects is compilation. ASP classic is built up by Jscript and it only interpreted the Script line by line when the page is requested. Moreover, ASP.net compilation is totally different with ASP classic. ASP.net is automatically compiling all the code while the code is first time executed. The compiled code will store wrong(a) .NET classes within assembly. .NET classes are including the server-side coding and HTML code. So, when ASP.NET page is executed for first time, the compiled code will store inner(a) the .NET classes. abutting time will render the ASP.net page by execute the compiled code that has created. The performance for ASP.net will be cast upd because there are no longer like the ASP classic has the difference between the compiled code and the coding within the server-side languages within asp web page.ASP.net performance is faster due to the compiled code but ASP classic is using the scripting languages like VBScript. VBScript is re indicateing to machine code and did not require any additional parsing. That is wherefore web developer is preferred to use ASP.net instead of using ASP classic.On the other hand, the difference between ASP.net and ASP classic is the scalability factor. For ASP classic, the components inside the web pages are not easy to update, replace and maintain it. If expect to update particular component, IIS is required to shut down then only can success extensivey replace or update the component. After through with(p) all the modification, IIS need to restart once.( Neel Sus. 2009).For ASP.net, it was different with ASP classic which it is ascendible and easy to do modification on the web pages. The term of Xtranscript command is used to build an efficiency ASP.net web application page. The Xcopy term is to copy a file to another location. It is allow to do the modification without need of restart of web server. The web developer can do the changes on the web application and no web server restart is required to appropriate effect. It will direct take effect once the web application is requested.(Bean Software. 2002).Advantages of using ASP.NETAfter compared the version between ASP.net and ASP classic, here is some of the advantages of using ASP.net. ASP.net has reduced the need of code to build a web application it required lesser code to build a gravid web application. This will help web developer save time, and more efficiency to build a large web application.Another new feature from ASP.net which does not include in ASP classic is the hallmark function. stylemark is the processes to obtain and validate the learning that provide by user are valid or not. If it is valid, the user will get the confidence and the authorization process will check the user whether have permission to access the particular resources on the web pages. It will increase the warranter of the web application and fuck off sure all the user information is secured and not grab by someone. (MSDN. 2010).Besides that, ASP.net file extension is .aspx and it has a code cigaret page which is .aspx.cs. The difference between .aspx and .aspx.cs is .aspx is the larboard for the web application. It stored all the html coding and some of the C language label for some of the particular components. Meanwhile, aspx.cs is a place to let web developer to code all the functionality for the button, and the business logical system on that page.Moreover, ASP.net is server-side technology. It means all ASP.net coding is executed and compiled on the server side forrader it send it back to the web browser. Below is the example of code behind on aspx.csThe ASP classic need to code a web application coding inside a same page including the HTML and the function code. It will become messy if web develop wanted to do the modification on the web pages. It need take some time to analyze the code first before doing any modification. (Steve Kozyk. 2008).The disadvantages of using ASP.NETOne of the main disadvantages of using ASP.net application is it only support on Windows platform. That means other ground Operating System is not allowed to use ASP.net to develop their web application. The bound of the ASP.net will make some of the web developer abandon to use ASP.net to develop their web application and choose other more appropriate application to develop their web application such as PHP support in any platforms.ASP.net 1.x compared with ASP.net 2.0We move to the next topic which is the comparison between ASP.net 1.x and ASP.net 2.0. ASP.net 1.x reveal on year 2002-2003 and ASP.net 2.0 is released on year 2005.Firstly, we compared the compilation models for thi s 2 version. ASP.net 1.x will only automatically compile few files such as asp page (.aspx), user control, http handler, web services and Global.asax class files. Others file that not automatically compile, web developer need to compile the rest of the files before incommode the web application to the web server.ASP.net 2.0 has increase the efficiency in the compilation process. ASP.net 2.0 will automatically compile the file types that include asp page file (.aspx), asp and asp page behind code (.cs). So, the web developer only need to create the web application and publish it. ASP.net 2.0 have a folder called App_Code which can keep the helper classes, business object inside but cannot put the asp pages (.aspx), Global.asax and other non-code files. ASP.net 2.0 will compile elements inside the App_Code folder and name as code.dll.In ASP.net 1.x, when the web developer need to do the modification on the web application, they need to unfold the entire project file do modify and up date it. After through the modification, they need to compile the entire project and publish it to web server again. But ASP.net 2.0 allows web developer just slack the particular file that wants to modify. After done the modification, web developer just need to publish the file code to the web server and no need to recompile.In ASP.net 1.x, the code behind page of web application are require an IIS virtual directory to run and the IIS is require to store inside the local computer which used to develop the web application. ASP.net 2.0 code behind page can access the local host IIS directly and the IIS has store inside the web server.In ASP.net 1.x, the mathematical process to process the web application page is send the client request to the web server. First, the Init gist is called. After that, called the Load effect by the PreRender event is called net. Lastly, the Unload event is called and the generate output will sent it back to the client.In ASP.net 2.0 has added few new attributes. The attributes will help web developers to have a control for the new framework features which is theming and personalization. Besides, ASP.net 2.0 Page class has provided new method, event, and properties. The 3 important script for the properties is ClientScript, Header.IPageHeader and Master. There are 3 new important methods such as GetValidators, setFocus, and RegisterRequiresControlState.In ASP.net 2.0, there are few new events implements. First, PreInit is called before initial the web page. Then, InitComplete will be encounter when the page is completely initial. Next, the PreLoad event is called immediately after the InitComplete event and before the web page begin to load. The LoadComplete event will occur after the page is load complete at the end. Last, PreRenderComplete event is occur and this event will store personalize data and page HTML is rendered. Web developers can use all these events to build up their web application in a dynamic way.summaryAfter c ompared the version between ASP.net 1.x and ASP.net 2.0. ASP.net 1.x is unable to open a particular page not inside the project but ASP.net 2.0 can modify particular page without open the entire project. We can know that the code behind pages is a efficiency way to write all the functions, logic to make the web development process become more efficiency and potentiality. As the conclusion, ASP.net 2.0 has added more features to increase the performance and the secure of data. (Benoy Baskaran. 2006).ASP.net 3.0 compared with ASP.NET 3.5The ASP.net 3.0 is using a base of the ASP.net 2.0 but there are added several of the new features on it such as Windows introduction send off (WPF), Windows Communication creative activity (WCF), Windows Workflow basis (WF) and Windows CardSpace (WCS).First of all, The Windows intromission Foundation is one of the interface sub-system using at windows. Windows Presentation Foundation has using the Windows function like create, view and manage of the files, media and user interface (UI). Because it will make the web developers can create the more attractive, damp impression on the interface and the different use experience on it. Windows Presentation Foundation (WPF) is built with 2 important parts which is vaunting engine and the framework. The mainly function is to build the 3D graphic and use the Direct3D technology.Next, Windows Communication Foundation (WCF) or name as Indigo. It is a service-oriented intercourse system. It has all the current .Net features like .Net remoting, ASMX,WSE and MSMQ. The WCF is built on the version of the .net Framework 2.0 and above. It too is a core of the Windows Vista. Windows XP and Windows Server 2003 operating system also support once install the WinFX Runtime Components.Besides, Windows Workflow Foundation is the next features on the ASP.net 3.0. It is a new workflow development on the .net Framework. Windows Workflow Foundation include the namespace, workflow engine for Visual Studio 2005. It support in Windows XP, vista and Windows server 2003 as well.Lastly, Windows CardSpace (WCS) is an application that stored the user information in a more secure way and in digital form. It has provide a unify interface to select which identity need to use for transaction. For example, use an identity to login to a specify website. As the conclusion of ASP.net 3.0 is a combination of ASP.net 2.0 and Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), Windows Workflow Foundation (WF) and Windows CardSpace (WCS). (Mnaveenrao. 2009).What is new in ASP.net 3.5After we view the new features of ASP.net 3.0, let us see what other new features that will be added in ASP.net 3.5. ASP.net 3.5 is implementing inside the Visual Studio 2008 and it released on year 2007. The ASP.net 3.5 is using the same engine in the ASP.net 3.0 and it has added new features in it. So, let check out what are the new features in ASP.net 3.5.First of all, one of the new fea tures that added inside the ASP.net 3.5 is the ASP.net AJAX. Although ASP.net 2.0 can use the features of the ASP.net AJAX, it still needs to install the extension to ASP.net 2.0 and ASP.net 3.0 only can successfully use the features. It is totally different which ASP.net AJAX is integrated in ASP.net 3.5. So, it is help web developers to build a better quality user interface easily. (Suprotim Agarwal. 2009)Next features that added in the ASP.net 3.5 is LINQ. LINQ (Language-Integrated Query) is to display the query that capability to the programming language such as C and VB.net. The format of query in LINQ is something like the format of SQL. It is contains Select, From and Where keywords which have the same functions in the SQL. Here is the example of LINQ.Int renting = from house in Rentwhere rental 100select houseASP.net AJAX have added several new controls that can easily to call a control that can link to the datasource. The first new control is called ListView. ListView co ntrol is consist of some of the features like can show the result of the datasource in different view such as Datagrid, Gridview, repeater and the controls that available in ASP.net 3.0. It allows web developers have the ability to insert data, edit data, delete data, screen out the data. These controls are flexible because the web developers can excogitation how the data present the result.After view the features of ASP.net AJAX, ASP.net 3.5 is added few new assemblies like System.Core.dll, System.Data.Linq.dll and System.xml.Linq.dll is an assembly to murder for LINQ. System.Web.Extensions.dll is the implementation for ASP.net AJAX. ASP.net 3.5 allow different version of ASP.net store on the same computer.Security in ASP.netSecuring an ASP.NET application requires a clear understanding of all the certification options provided in ASP.NET, and show how the security subsystems interact each other.Since ASP.NET is built on the Microsoft .NET Framework, the web application develop ers will has the full access to the full set of the built-in security features inside the Visual Studio .NET. For example, the code access security and role-based user-access security. It is important to know how the different security subsystems interact each other and how it will be able to make the web application more secure.Before web developers configure the security for the web application, they need to configure the web application to implement the two security function that described in the following table.Security function descriptionAuthenticationIt is a process of getting identification credentials from a user such as name and password, and to validate those credentials against some authority.AuthorizationIt is a process to control the access to the resources regarding on the evidence identification credentials ( such as role ).ASP.NET achieves the authentication security function by using the authentication providers, the security modules consist the code that able to authenticate the user credentials. To enable authentication security function in ASP.NET web application, the web developers need to create an authentication section entry first in the application source compliance file. The authentication session phrase social system are showing belowUsing ASP.NET signifier FilesASP.NET configuration file is written in a hierarchical structure format. Web.config is a file to store all the configuration data for the ASP.net web application. It also contain another file called Machine.config which is store configuration information as well. Web.config file and other web application files is located under same directory. But Machine.config file is located in the install root directory. All the sub-directory will inherit all the settings in the directory unless it has overridden by the Web.config file which located in the sub-directory. In Web.config file, it contains all the ASP.net functionality in the section. The Web.config file is written as belowIn the web.config configuration file, it is contains 3 sub-sections which are authentication, authorization, and identity. The value that set for these 3 section configuration file is to overriding the configuration file in the application root. All sub-directory will inherit those settings automatically. However, sub-directory can have their own web.config file that override the directory web.config settings. Besides, the web developers may use the syntax to specify a particular file or directory.Critical Evaluation on ASP.netAfter the evaluation of the ASP.net, we can know that there are a lot of changes and improvement that involve in the modish ASP.net version. But there are still got competitor in the web development field. There are still got another language and platform to let web developers to choose their favorite web development tools to build their web application. One of the competitors for ASP.net is PHP.Introduction of PHPPHP is stands for Hypertext Preproces sor. PHP is open source language and it is a cross-platform because it compatibility with different operating system such as Windows, Unix system. PHP is a scripting language to build dynamic web site and it is run at the server-side. The PHP syntax is similar with the language of C, Java and Perl. So, it will help web developers build their web application efficiency and quickly. PHP allows web developer write the simple PHP syntax in HTML files directly, it can done this by eliminating the need of cgi programs. Moreover, PHP make web developers easy to supervise to the large web application by put all the components inside one html file.For example, when creating the catalogue for online trade web site, the web developers must have to design all the design templates for all the catalogues web pages. In the early day, the web page design is written in the html format and shows all the data by using different type of design templates. In PHP, is only need one application to build a ll the web application pages that link to the database in the appropriate pages, correct location and related content. This is to avoid any redundancy web pages is created and easy to maintain and manage the web application.As we know, PHP is a cross-platform scripting language. So, we not only can use the PHP code to build web application, but it can use all the PHP libraries and all the code written in PHP. One of the big features in PHP is it supports for numerous databases such as Oracle, MSSQL, MS Access and others. Besides, it is support networking, zip and consist a set of built-in functions. IT is free to transfer from the PHP website by everyone. PHP is a language easy to learn because most of syntax is similar to language C.In my opinion, I think that ASP.net performance is higher than PHP. That is why I choose ASP.net as the web development tool in my project.ASP.net application is developed using Visual Studio which produced by Microsoft. It is easy to build the web app lication interface and component easily added in the web application. It makes the coding part for the web application is much simpler and development more productivity.Although PHP is an open source scripting language for all the web developers, it does not have own web development tool to build their web application. They need to use third party software to implement their PHP concept and coding inside. Some of the third party software like Adobe Dreamweaver is one of the software that can write PHP scripting language. Although there are free to charge in use of PHP scripting language, but some of the third party software may need to buy license to continue use for web development. So, it also needs to cause the cost of web development increased.Besides, Visual Studio .NET is provides a huge of features to make the web development easier. Web developers also provide students to download a free scaled down Visual Studio version which can provide better features.The features that c ome with the PHP is lesser and it was very simple features that use to build web application. It will make web developers have the limitation to build their web application. However, there are a lot of add-ons which available on the internet for web developers to download. With the PHP add-ons, it will make the PHP has some same function inside the Visual Studio. It is very troublesome to ask PHP web developers download the add-ons one by one and implement to PHP. It will waste a lot of efforts and time to download and install the add-ons. . For example, AJAX is not built in in PHP, web developers need to download themselves. So, ASP.net is better than PHP which the Visual Studio will come with a full set of the features that need to use in web development. It will make the web development process running smoothly and more productivity.On the other hand, Jasir Javaz (2010) noted that PHP getting a huge support from the web developers. This is because the PHP is an open source and it is free to everyone. Besides, PHP version 5 has provide many object oriented development concepts to the web developers to build their web application in a better way. It will make the structure of the web application and the coding is easy to implement each others.In ASP.net, it is different with PHP which is has better languages support. ASP.net able to let different language background web developers use Visual Studio.Net to build their own web application. The back up languages for ASP.net got VB.net, C, J, C++, COBAL.PHP is run on Apache server and Apache also is an open source. ASP.net is run on IIS which is Internet Information Services. The benefits of using ASP.net are the user interface design and application coding part is separated to 2 parts. So, it is easy to let web developers to focus on design the overall web application interface. Besides, the code-behind pages also easy to manage and update if there have any changes or any new logic need to implement in it. So, ASP.net is more user friendly in use to design a web application design. This is one the footing I choose ASP.net in my project. It is not only provide more features and it is easy to let me design the web application interface and easy to manage and update.As the conclusion, there are a lot of factors and reasons to make a web developer choose their own web development tool. A web developer chooses the suitable web application tools will make their more understanding on the application and use specialize programming language.SummaryPHP is an open source and free to everyone. PHP also work on Linux OS which is open source as well. Using Linux OS, the performance will be higher, more secure than using Windows. It is low cost for whole web development. PHP is easy to learn especially for the beginners because the scripting language is similar to language C.ASP.net is an powerful which full set of the features that easy to build up an efficiency and effectiveness web application. ASP .net is using the pre-compiled concept which I have mentioned above. Better programming language support and easy design for user interface and code-behind. deductionAs the conclusion, I f
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment