20 Dec: Must Read Codes [6-10]

codereads
codereads

20 Dec: Must Read Codes [6-10]

We are sharing few must read codes/concepts which are required now and then. Each of these codereads doesn’t require a full length descriptive article so combining them into groups of five.

CodeReads #6,

What is the difference between Dispose and Finalize?

#Point 1, Dispose is used to release unmanaged resources in a deterministic fashion, like we know when to release the resource. Finalize method is also used for the purpose of releasing resources but in non-deterministic fashion like we cannot be sure as when Garbage Collector will collect the resource.
#Point 2 , Finalize method has a performance drawback due to the Garbage Collector as there will be two iterations of Garbage Collector and override operation.

fbsource :https://www.facebook.com/codespread/posts/550605628295996

CodeReads #7,

Garbage Collector maintains managed objects in “generations.” The generation indicates the lifetime of an object like objects having short life are stored in lower generations as GC runs much more frequently to clean up objects in the lower generations. The more the objects survive a GC cleanup, the more the chances that these objects will get moved to higher generations. There will be few GC swipes on higher generations and also that will happen only if lower generations have no space left. When we talk about generations, we talk about physical memory locations divided,managed and allocated to each generation number.

fbsource: https://www.facebook.com/codespread/posts/550949951594897

CodeReads #8,

.data() : Store arbitrary data associated with the matched elements or return the value at the named data store for the first element in the set of matched elements.

For more information: http://api.jquery.com/data/

fbsource: https://www.facebook.com/codespread/posts/370621346386549

CodeReads #9,

Elements of a UML Class Diagram are:
Class
Operations
Relationships
-Associations
-Generalization
-Dependency
-Realization
Constraint Rules and Notes

fbsource: https://www.facebook.com/codespread/posts/552364564786769

CodeReads #10,

Scaffolding is a technique in which the programmer may write a specification that describes how the application database may be used. With the help of this concept,programmer can create a functional Web site for viewing and editing data based on the schema of the data.
ASP.NET Dynamic Data supports scaffolding. Refer the below link.

For more information: http://msdn.microsoft.com/en-IN/library/ee845452%28v=vs.100%29.aspx

fbsource: https://www.facebook.com/codespread/posts/554151474608078

Author: hershey

A passion for knowledge drives me to do programming, A passion for programming drives me to create something different, A passion for creation drives me to spread the knowledge.

Share This Post On

0 Comments

  1. nice superb explaination

    Post a Reply
  2. thanks for the tutorial
    I am having a problem.
    The feature “Create SQL server database” isn’t available , I can’t select it.
    Can you help, please ?

    Post a Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

More from CodeSpread:

  • 23 Dec: Must Read Codes [11-15]23 Dec: Must Read Codes [11-15]We are sharing few must read codes/concepts which are required now and then. Each of these codereads doesn’t require a full length descriptive article so combining them into groups of five. CodeRe...
  • Release of jQuery 1.11.0/2.1.0 Beta 2 Release of jQuery 1.11.0/2.1.0 Beta 2 We have latest news from jQuery desk. On Nov 15th2013, jQuery official site announced the release of  jQuery 1.11.0/2.1.0 Beta 2. These bets versions can be downloaded from the below mentioned li...
  • 19 Dec: Must Read Codes [1-5]19 Dec: Must Read Codes [1-5]We are sharing few must read codes/concepts which are required now and then. Each of these codereads doesn't require a full length descriptive article so combining them into groups of five. CodeRe...
  • Note: GZipStreamNote: GZipStreamA short note from my experience: From the name itself you can at least make a guess about the functionality of the GZipStream class(present under: System.IO.Compression). Yes..your guess is abso...
  • Interview Question: Why Garbage Collection required?Interview Question: Why Garbage Collection required?What is garbage collection? In two words “Memory Management”. In two lines “Managing the lifetime of object starting from creation, allocation and release it back to free memory pool.” Why it ...
  • UML: Difference between Association, Aggregation and CompositionUML: Difference between Association, Aggregation and CompositionAssociation It is a relationship between objects. One object is connected to the other. Usually called as “is-a” relationship. Both objects have independent life-cycle. Each object owns...
  • Useful ‘ref’ and ‘out’ parametersUseful ‘ref’ and ‘out’ parameters It took me some time to realize the real potential of ref and out keywords, till the time I experience a condition which could only be simplified by implementing ref and out keyword. Lets st...
  • Asp.Net: Hidden Truth of CookiesAsp.Net: Hidden Truth of CookiesI know there are several articles on cookies as what are they? and how can they be created? but i always wanted to know more about them. My questions were where they are stored? how to track their ...