- Executable portions of a Web application compiled so they execute more quickly than interpreted scripts
- On-the-fly updates of deployed Web applications without restarting the server
- Access to the .NET Framework, which extends the Windows API
- Use of the widely known Visual Basic programming language, which has been enhanced to fully support object-oriented programming
- Introduction of the new Visual C# programming language, which provides a type-safe, object-oriented version of the C programming language
- Automatic state management for controls on a Web page (called server controls) so that they behave much more like Windows controls
- The ability to create new, customized server controls from existing controls
- Built-in security through the Windows server or through other authentication/authorization methods
- Integration with Microsoft ADO.NET to provide database access and database design tools from within Visual Studio .NET
- Full support for Extensible Markup Language (XML), cascading style sheets (CSS), and other new and established Web standards
- Built-in features for caching frequently requested Web pages on the server, localizing content for specific languages and cultures, and detecting browser capabilities
Monday, June 18, 2012
Benefits of ASP.NET
Wednesday, February 8, 2012
Tuesday, February 7, 2012
What Is .Net Framework
Labels: active server pages, asp.net, dotnet, framework
- It has code-execution environment that reduces the problem of software deployment and versioning.
- It provides object-oriented programming environment whether object code is stored and executed locally or via internet, executed remotely.
- Code-execution environment provides safe execution of code even if it is being created by semi-trusted third party.
- .Net Framework’s code-execution environment has eliminated the performance problems of scripted or interpreted environments.
- It provides consistent environment and developer experience across different types of applications, such as Windows-based applications and Web-based applications.
- .NET Framework tries to ensure that it can be integrated with any other code.
The .NET Framework has 2 main components:
- The common language runtime
- .NET Framework class library
Common Language Runtime
Net Framework provides a run-time environment that executes the code and provides services for making the process of development easier. The common language runtime works as an agent that manages code at execution time, providing key services such as memory management, thread management, and remoting. .Net Framework compilers and tools help the developers to target the principle of runtime environment by providing managed code approach for developing applications. Benefits of managed code targeting runtime include cross-language integration, exception handling, enhanced security, versioning support, and debugging and profiling services.
Other features of common language runtime:
- Cross Language Inheritance
- Garbage Collection and automatic memory allocation and release
- Self describing objects
- Ability to run once compiled version on any CPU or Operating system that supports the runtime.
.Net Framework Class Library
The .Net Framework includes classes, interfaces, value types that facilitate the development environment to integrate with system functionality. .Net Framework components, controls and applications all are built upon using these class libraries. Functions of Class Library types include:
- Represent base data types and exceptions.
- Encapsulate data structures.
- Perform Input/Output (I/O).
- Access information about loaded types.
- .NET Framework security checks.
- Provide data access and provide rich and controlled GUI.
Thursday, January 5, 2012
What is ADO.NET?
What is ADO.NET?
<!-->
ADO.NET, an object oriented data access technology,
ADO.NET is collection of classes used to communicate between an application and a database.
Components of ADO.NET Architecture
The two basic components of this architecture are:
1. Data Provider
2. Dataset
Data Provider
The Data Provider is responsible for providing and maintaining the connection to the database.
A Data Provider is a set of related components that work together to provide data in an efficient and performance driven manner.
The .NET Framework currently comes with two Data Providers:
1. SQL Data Provider which is designed only to work with Microsoft's SQL Server 7.0 or later
2. OleDb Data Provider which allows us to connect to other types of databases like Access and Oracle.
Each Data Provider consists of the following component classes:
1. Connection
2. Command
3. DataReader
4. DataAdapter
The Connection object which provides a connection to the database
The Command object which is used to execute a command (Sql query, stored procedure)
The DataReader object which provides a forward-only, read only, connected recordset
The DataAdapter object which populates a disconnected DataSet with data and performs update
Connection
The Connection object establishes a connection to the database using the user name, password and the database name as parameters. The following are the supported Connection classes:
1. OleDbConnection
2. OdbcConnection
3. OracleConnection
4. SqlConnection
Command
The Command object is used to send the SQL Statements to the database.
Commands are used to insert data, retrieve data and execute stored procedures in the database. The following are the methods of the Command class:
1. ExecuteScalar
2. ExecuteReader
3. ExecuteNonQuery
4. ExecuteXmlReader
The ExecuteScalar method returns a single value from a query. This is faster compared to using ExecuteReader and is the preferred choice to retrieve a single value from a database table.
The ExecuteReader method returns a single record at a time.
The ExecuteNonQuery is used to change the state of a table. It can be used to insert, update or delete records from the table. ExecuteNonQuery can also be used to execute stored procedures.
The ExecuteXmlReader method returns an XmlReader object.
The ExecuteNonQuery method returns an integer representing the number of rows affected in the operation.
DataReader
A DataReader is a connected, forward only, read only stream of data that is retrieved from the database. The DataReader requires an open connection so it works in the connected mode.
DataReader objects cannot be directly instantiated. Rather, the DataReader is returned as the result of the Command object's ExecuteReader method. The SqlCommand.ExecuteReader method returns a SqlDataReader object, and the OleDbCommand.ExecuteReader method returns an OleDbDataReader object.
The DataReader can provide rows of data directly to application logic when you do not need to keep the data cached in memory. Because only one row is in memory at a time, the DataReader provides the lowest overhead in terms of system performance but requires the exclusive use of an open Connection object for the lifetime of the DataReader.
A DataReader is much faster compared to the disconnected DataSet, but it does require an open available connection.
DataAdapter
The DataAdapter is a bridge between the DataSet and the database.
It provides a set of methods and properties to move data to and from between a database and its in-memory representation, the DataSet.
It is also used to update the data in the database with the data in the DataSet. The following are two of the most important methods of the DataAdapter class:
1. Fill
2. Update
The DataAdapter is used either to fill a DataSet or Data Table with data from the database with its Fill method.
The Update method of the DataAdapter class commits the changes back to the database.
The DataAdapter provides the following commands:
1. SelectCommand
2. InsertCommand
3. UpdateCommand
4. DeleteCommand
DataSet
1. A DataSet is an in-memory, disconnected representation of the database.
2. It can be considered as a local copy of the relevant portions of the database.
3. The DataSet is persisted in memory and the data in it can be manipulated and updated independent of the database.
4. When the use of this DataSet is finished, changes can be made back to the central database for updating.
5. The data in DataSet can be loaded from any valid data source like Microsoft SQL server database, an Oracle database or from a Microsoft Access database.
6. The following are some of its features:
Disconnected
Tracks changes to the data
XML support
Caches Data locally
for more inquiry about classes call @9619979219
Friday, December 30, 2011
ASP.NET, ASP.NET MVC, C#.NET, ADO.NET,WINDOWS APPLICATION, WEB APPLICATION
one should know the following things
- javascript
- c#.net
- vb.net
- ado.net
- asp.net
- asp.net mvc
- java script(surprised)