Introduction
.NET is a new environment for developing and running software applications, featuring ease of development of web-based services, rich standard runtime services available to component written in variety of programming languages and inter-language and intermaching interoperability.
What lead to the development of .NET?
C and C++ Application are Monolithic Applications. In these types of applications the entire business logic is in .exe files.
Then the Software society needed a new tier to seperate the database. This led to a new architecture 2-Tier Architecture. In this architecture, Client sending data to the server needs Validation rules. The only disadvantage with this architecture is If there is any change in the logic everything should be done on the client side.
Then came a new architecture,3-Tier Architecture. In this architecture Client acts as a simple User Interface. Client,Business layer,Server(database) comprises of 3-tier architecture. .NET is meant for generating 3-tier architectures (Server side Programming).
There are many problems with Server Side Applications: 1) Memory Management 2) Security 3) Exception Handling 4) Strict Type Checking
How .NET solves Server Side Application Problems? 1) Memory Management: Any object that has no reference has to be deleted to save memory. .NET provide powerful Garbage collector.
2) Security : .NET provides both Userlevel Security and Code level Security.
3) Exception Handling: .NET provides Exception handler, which alerts about the exception rather than crashing the application.
4) Strict Type Checking: .NET provides strong Type Checker unlike the conventional way of fooling the compiler at compile time resulting in absurd output.
There are many other interesting features in .NET like CLR with components like Class loader, Code Manager, Garbage Collector, Security Engine , COM Marshaler and Base Class Library Support etc.,
Secrets
Multiple versions of .NET Framework can be installed on the server.
Fonts can be changed in IDE through Tools -> Options Environment folder-> Fonts and colors
Code snippets can be stored within Toolbox Window. Select code and drag and drop in the ToolBox Window. It can be in HTML Section or General Section.
Commenting large Section of code Ctrl+K+C UnCommenting Ctrl+K+U
Tired of working on Enterprise Manager everytime there is a change in the database. Here's a simple solution...One can make use of the Server Explorer in the IDE to change the table or to run a query and can work with Event Logs and many more advanced properties. Q)Which layout is preferred in web application involving data from the database? Flow Layout. Grid Layout has problems with repeater control( falls in the upper right corner as the css positioning is designed in such a way) and DataGrid (Datagrid grows as the data is populated dynamically underneath the bottom of page and if any button is used, there are further problems (try it out !!!)
Q)Can we use both FlowLayout and GridLayout modes Together? Yes
Be ready for a must read article on CLR features and components. will be online very soon
|
| Author: Raj Krishna 16 Apr 2009 | Member Level: Gold Points : 0 |
http://rajkrishnaj.blogspot.com/
|