C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » .NET Framework »

Introduction to .NET with Basic Shotcuts and Secrets for the Beginner


Posted Date: 08 May 2006    Resource Type: Articles    Category: .NET Framework
Author: Vakul Kumar MoreMember Level: Silver    
Rating: 1 out of 5Points: 9



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




Responses

Author: Raj Krishna    16 Apr 2009Member Level: Gold   Points : 0
http://rajkrishnaj.blogspot.com/


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Visual studio.net shortcuts  .  Monolithic code  .  Monolithic applications  .  Introduction to .net vs.net shortcuts  .  Introduction to .net  .  .net introduction  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Assemblies - An Introduction
Previous Resource: Parameters in C#
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use