♠ Posted by Unknown in use of vb.Net,VB.NET Advantages at Wednesday, April 01, 2015
Advantages of VB.NET
All features of the .NET framework are already available in VB.NET. its provides managed code execution that runs under the Common Language Runtime (CLR), resulting in robust, stable and secure applications.
VB.NET is totally base on object oriented approach. This is not available in a major addition that VB6 and other earlier release.
The .NET framework comes with ADO.NET, which follows the disconnected paradigm, i.e. once the required records are fetched the connection no longer exists. It also retrieves the records that are expected to be accessed in the immediate future. Because of it application becomes more Scalable.
VB.NET uses XML to transfer data between the various layers i.e. data are passed as simple text strings.
Error handling has changed in VB.NET. A new Try-Catch-Finally block has been introduced to handle errors and exceptions as a unit, allowing appropriate action to be taken at the place the error occurred thus discouraging the use of ON ERROR GOTO statement. It is better to the maintainability of the code.
Many situations developers need spawning of a new thread to run as a background process and increase the usability of the application.
Security has become more strong in VB.NET. In addition to the role-based security in VB6, VB.NET comes with a new security model, Code Access security. This security controls on what the code can access. For example you can set the security to a component such that the component cannot access the database. This type of security is important because it allows building components that can be trusted to various degrees.
The CLR takes care of garbage collection i.e. the CLR releases resources as soon as an object is no more in use. This relieves the developer from thinking of ways to manage memory. CLR does this for them.
Various legacy VB functions (provided in the Microsoft.VisualBasic namespace, and can be used by other languages with a reference to the Microsoft.VisualBasic.dll).Many of these can be harmful to performance if used unwisely, however, and many people believe they should be avoided for the most part.
Summary of VB.Net Advantages
- Powerful Windows-based Applications.
- Building Web-based Applications.
- Powerful, Flexible, Simplified Data Access.
- Direct Access to the Platform.
- Simplified Deployment.
- Full Object-Oriented Constructs.
- XML Web Services.
- Mobile Applications.
- Support for optional parameters - very handy for some COM interoperability.
Type Conversion -: Prevents unintended type conversions. This means that
you cannot accidentally assign ‘Float’ value to a ‘String’ variable;
however, this is not always foolproof. VB.Net does allow some unintended
type conversions, such as an integer value could be placed in a ‘Long’
variable. Support for late binding with Option Strict off - type safety
at compile time goes out of the window, but legacy libraries which don't
have strongly typed interfaces become easier to use.
For fast GUI Design -: Easy to use Rapid Application Design (RAD) interface – Within a less time a complete Graphical User Interface (GUI) can be produced; thus requiring less programming time and less design time.
Default inbuilt code -: When creating a new project, or just adding a new form or button, the environment will automatically generate the default coding to have the objects appear; in some cases there are wizards that can provide default coding to have some functionality within the application. This translates to a working application can be designed and coded in a fraction of time than some other languages.
For fast GUI Design -: Easy to use Rapid Application Design (RAD) interface – Within a less time a complete Graphical User Interface (GUI) can be produced; thus requiring less programming time and less design time.
Default inbuilt code -: When creating a new project, or just adding a new form or button, the environment will automatically generate the default coding to have the objects appear; in some cases there are wizards that can provide default coding to have some functionality within the application. This translates to a working application can be designed and coded in a fraction of time than some other languages.
VB.Net advantages |
Improve Your Answer as comment below.
If our post is useful please share and comment on our post for more post and detail Visit :
http://aspdotnethelpmaster.blogspot.in/
0 comments:
Post a Comment