Thursday, May 6, 2010

Java Vs ASP.Net - An Extended Vision Of New Programming Era

http://professionalaspnet.com/images/asp.net-roadmap-500.jpg

We are going to talk about two major standard programming languages which are used vastly nowadays. There are several contract programmers who are using both of them individually but the supporters of these two programming languages continue the battle with their own vision and no clear conclusion.

Recently Java used in web applications but naturally it is solely used for software development. As a language Java can be used in multiple sectors and only for this reason nowadays Java is going to grab the software industry in a quick manner. Where as, ASP is used for developing dynamic database oriented websites and as a Microsoft product, ASP always prefers Microsoft product mostly.

Active Server Pages (ASP) is used in Internet Information Server (IIS) which runs in another Microsoft sponsored server. As a programming language it is entirely used in web applications and it provides maximum security to its users than other cheap languages.

To do the freelance programmer jobs both of this two programming languages are used satisfactorily but the main difference is just in their cost, platform independence, security, multiple usability, authenticity etc.

If you are thinking to create desktop applications you are searching for classy language then the suggestion going for the ASP (.net) direction. By using visual studio, you can accurately establish a functioning desktop application within few time periods by easily dragging components and dropping them as per your wish. By doing this process you can assemble maximum time for designing your back end and your application looks alike with several windows applications.

User Interface programming with java is not so simple like ASP, thus its takes minimum couple of weeks to happily accomplish. Now it can be easily calculated that several wee web applications is done by ASP very successfully apart using Java.

In case of software application you felt maximum hazards while using ASP programming language. Where as if you want to develop a software which is really sufficient in multiple user environment and which is accessible form different access levels (both internet and extranet) with strong database back ground then the advice goes for java programming.

In case of database compatibility, java is much flexible than ASP language. Database compatibility is really too luxurious for ASP because it only accessible by MS-SQL which is a Microsoft product, where as we can say that java is a database independent programming language.

When your thinking stuck into graphic then nowadays ASP (.net) is more effectively chosen than Java by contract programmers. The visual part of ASP is much appealing, much presentable and clear than java, thus in case of web application ASP programming is getting hype over Java. Both this two languages are safe by security point of view with their own levels, but in case of expenditure ASP (.net) is slightly reasonable than Java.

Wednesday, May 5, 2010

Dot Net Questions on Web Config

There are two Config Files Web.Config and Machine.Config and these configurations files are XML-based text files and have named web.config that can be appear in any directory of web application created in ASP.NET. Web.config configuration settings to all the files and on child directory file of the application and directory it is located in and to all virtual child directories beneath it. Child directories have option to override or modify settings that is specified in parent directories .

The root configuration file WinNTMicrosoft.NETFrameworkconfigmachine.config provides default configuration settings for the entire machine and all application under it . But one thing is that IIS cannot configures to direct browser access to web.config files to ensure that their values cannot become public and error which is shown is ASP.NET to return 403: Access Forbidden. The main functioning of Config file explorer it self at run time in ASP.NET and ASP.NET uses these web.config configuration files to hierarchically compute a unique collection of settings for each incoming URL target request .Some of the settings that's comes in Config files is just like session state. Session state features can be added in web.config in session state tag.We can also set the timeout policy there which is default 20 minutes mainly there are four modes of session in config file.

Off -Indicates that session state is not enabled.

Inproc - Indicates that session state is stored locally.

StateServer-Indicates that session state is stored on a remote server.

SQLServer-Indicates that session state is stored on the SQL Server.

And another section of the config file is connection string or we can say that appSettings that's the great advantage of config file that we can place our connection string that's help in securing of our connection string from the user because this file cannot be browse some other feature also in config file just like Custom Error, Authorization, Authentication assembly reference.