Is the lack of deterministic destruction in .NET a problem
Answer / kirti
It's certainly an issue that affects component design. If you have objects that maintain expensive or scarce resources (e.g. database locks), you need to provide some way for the client to tell the object to release the resource when it is done. Microsoft recommend that you provide a method called Dispose() for this purpose. However, this causes problems for distributed objects - in a distributed system who calls the Dispose() method? Some form of reference-counting or ownership-management mechanism is needed to handle distributed objects - unfortunately the runtime offers no help with this.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is use of entitydatasource control?
What are the types of assemblies
What is entitycontainer? : Entity framework
What is .net framwork? what is web application? what is CLR? How does work CLR & wht is work of CLR? What is compile? wht is thread? what does use in .net?
Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?
How can you prevent your class to be inherated further
What is the difference between tempdata and viewbag?
mention what is the difference between ado.net and classic ado?
Hello frnds, Actually i am plannig to put fake Xperince letter is it good or not, and please suggest me from where we take it.
Tell me the best web-sites for Learning the ASP DOT NET.
what is way of loading data in ef (entity framework)?
What are the components of the .net framework.