|
|
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
30 Articles match "Memory","Objects"
|
Related DevelopMentor Courses
|
MORE
|
|
Essential LINQ with the Entity Framework
Learn to combine flavors of LINQ to query and transform in-memory collections, XML data sources, and relational databases. The latest version of the C# programming language comes with many new features intended to increase developer productivity, including automatic properties, object initializers, collection initializers, and partial methods. LINQ to Objects The central feature of.NET 3.5 Now we can group, sort, and filter in-memory collections of objects. In this course, you learn to: Leverage new features of C# 3.0, When should I choose one over the other?
DevelopMentor Courses
- Friday, June 12, 2009
Foundations of C# Programming and the.NET Framework
Examine core language features such as types, variables, and control constructs Use object-oriented features such as class, interface, protection, and inheritance Perform error notification and error handling using exceptions Use properties to implement the private data/public accessor pattern Use namespaces to group related types Use delegates and events to implement callbacks Override Object class methods such as ToString Avoid dll conflicts during deployment Use dynamic binding and polymorphism to write generic code (i.e., less code!) NET 101" for developers moving to.NET.
DevelopMentor Courses
- Friday, June 12, 2009
Intensive C++
In addition to syntax, this course integrates the pragmatic and the theoretical with discussions of object-oriented principles, beneficial design criteria, efficiency tradeoffs, common design patterns, and other useful idioms and programming techniques. Day 3 Pointers Examine pointer types and syntax, indexing and relation to arrays, arithmetic, pointers to object, and use in connected data structures. Dynamic Memory Learn dynamic memory, allocation and deallocation, syntax and purpose, arrays, and memory leaks.
DevelopMentor Courses
- Friday, June 12, 2009
|
18 Articles match "Memory","Objects"
|
The Latest from DevelopMentor
|
MORE
|
|
Computer Language Benchmarks
The cost of all OS and external calls (files, memory, databases, networking, etc) should be removed from the total because that’s not controlled by the application. This data can be broken down into the % of time spent doing object allocation, function calls, int & float math, loops, and other low-level operations. For example, if object allocation takes 5% of total execution time and language B is 2X faster in that benchmark, then an app written in B might improve performance by 2.5%. How would my Java program perform if written in Haskell?
Handwaving
- Wednesday, May 26, 2010
The NoSQL Movement, LINQ, and MongoDB - Oh My!
m sure that you’ve all heard of the object-relational impedance mismatch. But just think about how you might structure your data storage if you could save entire object graphs and still query them? Your "row" might be a Blog object which has an array of BlogEntries which contain the entry text, link, date, etc. FirstOrDefault(); There are no joins or anything like that because you’re saving objects not columns and those objects contain their collections already (e.g. These NoSQL databases generally are *not* the same as object databases. Insanity!”
Michael C. Kennedy's Weblog
- Thursday, April 22, 2010
MVVM: Introducing the message visualizers
Now we can create a collection of the TitledCommand objects and display them to the user for execution. Sorting a list, or searching an in-memory list might be an example. It returns a disposable object that you invoke Dispose on to return to the normal cursor. In this post, I will go over the simple message visualizers available in the MVVM Helpers toolkit. Essentially the idea is that it is fairly common to want to display a simple message from the ViewModel to the user. The button used to dismiss the dialog is returned as the result. IErrorVisualizer. IUIVisualizer.
Mark's Blog of Random Thoughts
- Monday, February 1, 2010
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Marshalling native function pointers
throw gcnew OutOfMemoryException("Could not allocate memory on C++ free store"); }. throw gcnew OutOfMemoryException("Could not allocate memory on C++ free store"); }. An important difference of these heaps is that the code heap consists of memory pages that have the attribute PAGE_EXECUTE_READWRITE. p2); MEMORY_BASIC_INFORMATION mbi; VirtualQuery(p1.ToPointer(), &mbi, sizeof(mbi)); // thunks are allocated on a heap that consits of pages // with the PAGE_EXECUTE_READWRITE flag. To discuss this topic, consider the following simple API: namespace NativeAPI. {.
Marcus' Blog
- Friday, April 6, 2007
-
The NoSQL Movement, LINQ, and MongoDB - Oh My!
m sure that you’ve all heard of the object-relational impedance mismatch. But just think about how you might structure your data storage if you could save entire object graphs and still query them? Your "row" might be a Blog object which has an array of BlogEntries which contain the entry text, link, date, etc. FirstOrDefault(); There are no joins or anything like that because you’re saving objects not columns and those objects contain their collections already (e.g. These NoSQL databases generally are *not* the same as object databases. Insanity!”
Michael C. Kennedy's Weblog
- Thursday, April 22, 2010
-
SOS: finding the method bound to an EventHandler with WinDbg.
I was preparing a sample memory leak application for an Advanced C# class at Microsoft this past week and debugging through it with SOS.DLL ("Son of Strike"). My prepared application was an ASP.NET application that would leak memory by holding references to the page objects after they had completed their work. This, of course, is bad form because the System.Web.UI.Page object is intended to be a transient object - it goes away at the end of the request - in production code, I would really bind the event to a handler in global.asax instead. load sos 0:000> !DumpHeap
-
WPF Data Providers
It ships with two out of the box: ObjectDataProvider: allows you to execute binding expressions against an object and it's methods. side note here is that you could write your own custom data provider if you needed to, although if the data is exposed through a.NET object, then the ObjectDataProvider is probably sufficient. We could clearly do all of this from procedural code -- create an XmlReader object, load the data and render each XmlNode into the listbox. This will look for the file "largeXmlFile.xml", create an XmlDocument and load the file into memory.
Mark's Blog of Random Thoughts
- Wednesday, January 17, 2007
-
Utilizing TAPI from an ASP.NET application
First, I'd recommend using ATAPI and not ITAPI3 - only because the latter pulls in COM objects which always makes things much more complex. Don't hook events inside your ASP.NET page-derived classes - that will keep the pages alive and cause memory leaks. void Application_Start( object sender, EventArgs e) { // Code that runs on application startup JulMar.Atapi.TapiManager tapiManager = new JulMar.Atapi.TapiManager( "TestWebApp" ); if (!tapiManager.Initialize()) The key thing to remember is where to hook up your events. created a simple dialer in ASP.NET 2.0 null ) { if (!line.IsOpen)
-
Article: Building a Twitter Application in.NET
For example: "Software Transactional Memory is released! We need to download the users messages as xml and convert them to.net objects that we can consume our application. I recently wrote an article for DevelopMentor 's Developments newsletter entitled Building a Twitter Application in.NET. You can read it at the DevelopMentor website: [link]. I've republished here for my readers. Enjoy! Building a Twitter Application in.NET. by Michael Kennedy ( @mkennedy ). link]. Twitter has become one of the web's hottest properties. In fact, it grew at a rate of 1400% this past year [ bit.ly/jG9BG
-
Weak Observer
This is in fact has been a common problem in.NET code that can often induce a memory leak. The typical case that is often presented is one where a Windows Form subscribes to an event from a different object say some application object. When the form subscribes to the event on the application object, the application object therefore has a strong reference to the form so that it can deliver the events. There is though a half way house through the use of a Weak Reference. After the construction of the handle it is placed into a handle list.
.NET Mutterings
- Wednesday, July 30, 2008
|
|
|