¡@

Home 

c# Programming Glossary: lived

Best way to initialize an entity framework context?

http://stackoverflow.com/questions/1063730/best-way-to-initialize-an-entity-framework-context

one entity context per request since requests are short lived and since it's common when updating an object in a request to..

Should we use “workstation” garbage collection or “server” garbage collection?

http://stackoverflow.com/questions/1707240/should-we-use-workstation-garbage-collection-or-server-garbage-collection

for applications where each job is relatively short lived and handled by a single core edit think multi threaded web server..

Dependency Inject (DI) “friendly” library

http://stackoverflow.com/questions/2045904/dependency-inject-di-friendly-library

readonly keyword. Use Abstract Factory if you need a short lived object Dependencies injected with Constructor Injection tend.. injected with Constructor Injection tend to be long lived but sometimes you need a short lived object or to construct.. tend to be long lived but sometimes you need a short lived object or to construct the dependency based on a value known..

Where to learn about VS debugger 'magic names'

http://stackoverflow.com/questions/2508828/where-to-learn-about-vs-debugger-magic-names

allocated so far. The temporary kinds are 0 short lived temporaries 1 return value temporaries 2 temporaries generated..

Storing a reference to an object in C#

http://stackoverflow.com/questions/2760087/storing-a-reference-to-an-object-in-c-sharp

the optimization of storing local variables on the short lived memory pool aka the stack. Now even if you could do that the..

Fastest method for SQL Server inserts, updates, selects

http://stackoverflow.com/questions/2862428/fastest-method-for-sql-server-inserts-updates-selects

The downside is that it tends to create a lot of short lived objects and that can hurt the transactional performance you..

Do event handlers stop garbage collection from occuring?

http://stackoverflow.com/questions/298261/do-event-handlers-stop-garbage-collection-from-occuring

to unsubscribe the listeners. However if pClass was long lived longer than the instance with MyFunction then pClass could keep..

Proper way to stop TcpListener

http://stackoverflow.com/questions/365370/proper-way-to-stop-tcplistener

to use your own thread pool if you have particularly long lived requests because the threadpool is shared and if you monopolize..

Why doesn't .NET/C# optimize for tail-call recursion?

http://stackoverflow.com/questions/491376/why-doesnt-net-c-optimize-for-tail-call-recursion

time doing the compilation phase thus slowing down short lived applications considerably vs not doing enough analysis to keep..

.Net vs Java Garbage Collector

http://stackoverflow.com/questions/492703/net-vs-java-garbage-collector

most programs exhibit Most allocations are extremely short lived. Initial JVM's did not have generational garbage collectors..

Is it necessary to explicitly remove event handlers in C#

http://stackoverflow.com/questions/506092/is-it-necessary-to-explicitly-remove-event-handlers-in-c-sharp

irrelevant. The tricky case is when the publisher is long lived but the subscribers don't want to be in that case you need to.. bandwidth changes and the transfer service object is long lived. If we do this BandwidthUI ui new BandwidthUI transferService.BandwidthChanged..

When to use struct in C#?

http://stackoverflow.com/questions/521298/when-to-use-struct-in-c

if instances of the type are small and commonly short lived or are commonly embedded in other objects. Do not define a structure..

Can gzip compression be selectively disabled in ASP.NET/IIS 7?

http://stackoverflow.com/questions/5656332/can-gzip-compression-be-selectively-disabled-in-asp-net-iis-7

selectively disabled in ASP.NET IIS 7 I am using a long lived asynchronous HTTP connection to send progress updates to a client..

Memory limitations in a 64-bit .Net application?

http://stackoverflow.com/questions/6107322/memory-limitations-in-a-64-bit-net-application

and somewhat of a side note if you can maintain short lived allocations below this threshold it would be better for your..

If strings are immutable in .NET, then why does Substring take O(n) time?

http://stackoverflow.com/questions/6742923/if-strings-are-immutable-in-net-then-why-does-substring-take-on-time

the hundred thousand character range and those substrings lived a long time on the heap then it would make perfect sense to..

Large Object Heap Fragmentation

http://stackoverflow.com/questions/686950/large-object-heap-fragmentation

this to be the case if my application were creating long lived large objects during each calculation. It does do this and I..

Garbage collection in .NET (generations)

http://stackoverflow.com/questions/978711/garbage-collection-in-net-generations

an object survives a collection it is moved to a longer lived generation on the theory that if it survived one collection..