Articles - Tips & Tricks

1

Like

Lazy Loading:
In this loading, related entities are automatically loaded from the data source when you access a navigation property. With this type of loading, be aware that each navigation property that you access results in a separate query executing against the data source if the entity is not already in the ObjectContext ...Read more
Posted by: Ram
On 16 Nov 2011 | Views: 1156 | Categories: Visual Studio 2010, Tips & Tricks
1

Like

Here I am pointing out the main points which need to take care for developer when writing the managed code.

Optimize assembly and class design.
Maximize garbage collection (GC) efficiency in your application.
Use Finalize and Dispose properly.
Minimize boxing overhead.
Evaluate the use of reflection and late binding.
Optimize your exception handling code.
Make efficient use of iterating and looping constructs.
Optimize string concatenation.
Evaluate and choose the most appropriate collection type.
Avoid common threading mistakes.
Make asynchronous calls effectively and efficiently ...Read more
Posted by: Ram
On 15 Nov 2011 | Views: 813 | Categories: Tips & Tricks, C#
0

Like

The .NET Framework uses automatic garbage collection to manage memory for all applications. When you use the new operator to create an object, the object’s memory is obtained from the managed heap. When the garbage collector decides that sufficient garbage has accumulated that it is efficient to do so, it performs a collection to free some memory. This process is fully automatic, but there are a number of factors that you need to be aware of that can make the process more or less efficient. To understand the principles of garbage collection, you need to understand the life cycle of a managed o ...Read more
Posted by: Ram
On 15 Nov 2011 | Views: 776 | Categories: Tips & Tricks, C#
0

Like

An interface cannot have access modifiers for any types declared in it. By Default all are public. An abstract class can contain access modifiers. ...Read more
Posted by: Ram
On 15 Nov 2011 | Views: 882 | Categories: Tips & Tricks, Other
0

Like

have been asked by lot of people to share some good books. Hence, for some time, I was thinking about compiling a quick list of useful free E-Books for .NET programmers, SQL, Oracle and budding architects. Some of books i had studied bot not all. Some of these books will definitely help us to evolve our coding skills and thought processes for developing better solutions. Hope you find this list useful.
Rob Miles C# Yellow Books
This book explains C# language in easy way with example and .NET library in general – with a clear focus on implementation thought process and best practices ...Read more
Posted by: Ram
On 10 Nov 2011 | Views: 725 | Categories: Tips & Tricks
2

Like

I have explain what is the difference between Lazy and Eager laoding in EF ...Read more
Posted by: Ram
On 09 Nov 2011 | Views: 1158 | Categories: Tips & Tricks, Live Framework
Page 14 of 14
Other lins

.Net Techies
Other lins