|
|
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.
|
26 Articles match "CLR","Objects"
|
Related DevelopMentor Courses
|
MORE
|
|
Essential LINQ with the Entity Framework
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. At the same time, it provides a way to perform serialization of objects to XML, while supplying a bridge to legacy API's, such as XPath and XSLT. In this course, you learn to: Leverage new features of C# 3.0, Appendices ASP.NET 3.5
DevelopMentor Courses
- Friday, June 12, 2009
Virtual Foundations of C# Programming and the.NET Framework (Part 1)
Examine core language features such as types, variables, and control constructs Use object-oriented features such as class, interface, protection, and inheritance Use properties to implement the private data/public accessor pattern Avoid dll conflicts during deployment Virtual Foundations of C# Programming and the.NET Framework is ".NET In part one of this series on programming C#, we'll discuss fundamental concepts such as the Common Language Runtime (CLR), garbage collection, and deployment. How much overhead do CLR services like runtime compilation and garbage collection add?
DevelopMentor Courses
- Wednesday, February 17, 2010
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
|
29 Articles match "CLR","Objects"
|
The Latest from DevelopMentor
|
MORE
|
|
MVVM: Introducing the message visualizers
Now we can create a collection of the TitledCommand objects and display them to the user for execution. It returns a disposable object that you invoke Dispose on to return to the normal cursor. xmlns : ViewModels ="clr-namespace:ServicesTest.ViewModels". 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. Displays a title + message to the user and allows them to dismiss it through a set of user-defined buttons.
Mark's Blog of Random Thoughts
- Monday, February 1, 2010
MVVM: Binding RadioButton groups
Collection of PersonViewModel objects with child details. Collection of ValueAndText objects to select child gender. Collection of ValueAndText objects to select the favorite game. xmlns : ViewModels ="clr-namespace:RadioButtonBinding.ViewModels". xmlns : Controls ="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit". A question I got recently was how to manage Radio Buttons with bindings – in this instance, the sample code was trying to map a single value to a set of Radio Buttons based on an enumeration set. fs28 cf1 cf3 par ??} -->. cf0 {par ??
Mark's Blog of Random Thoughts
- Friday, January 29, 2010
MVVM: Views and ViewModels
fs28 cf1 par ??} --> < Window x : Class ="WpfMVVMApplication1.Views.MainWindow" xmlns ="[link] xmlns : x ="[link] xmlns : julmar ="[link] xmlns : ViewModels ="clr-namespace:WpfMVVMApplication1.ViewModels" xmlns : Converters ="clr-namespace:WpfMVVMApplication1.Converters" DataContext ="{ julmar : ViewModelCreator { x : Type ViewModels : MainViewModel }}" Title ="File Explorer" Height ="400" Width ="500"> First, notice how the DataContext is established – through a custom MarkupExtension called ViewModelCreator. Any target registered for the given key will receive the object.
Mark's Blog of Random Thoughts
- Friday, January 22, 2010
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Avoid native code in managed object files (".obj" files)
When a cpp file is compiled with /clr, a managed object file is created. In most scenarios, such a managed object file contains only managed code. However, there are two scenarios that end up in a managed object file with managed and native code: When #pragma unmanaged is used. Managed object files with native code imply a certain danger: They can end up in uninitialized state, as shown in the following sample: In the code below, i is a global variable initialized with the return value of getValue(). There are two exported functions that simply return i.
Marcus' Blog
- Thursday, January 12, 2006
-
Using Model – View – ViewModel with Silverlight
4: xmlns:SilverlightMVVMDemo_ViewModel ="clr-namespace:SilverlightMVVMDemo.ViewModel" xmlns:d ="[link] xmlns:mc ="[link] x:Class ="SilverlightMVVMDemo.View.CustomerView" 5: Width ="400" Height ="300" mc:Ignorable ="d" > 6: < Grid x:Name ="LayoutRoot" 7: Background ="White" > 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: < TextBlock Text ="Firstname:" 20: Margin ="8" /> 21: < TextBox Text ="{Binding Path=FirstName, Mode=TwoWay}" 22: Grid. 11: {. 13: set. 14: {.
The Problem Solver
- Tuesday, April 7, 2009
-
Platform type observations.
The type of code that is generated is determined by the version of the CLR that is loaded. When a.NET application starts, mscoree.dll is responsible for determining the proper version of the CLR to start for the process. We can see this flag using ILDASM: The.corflags above tells the loader that this particular assembly requires the 32-bit CLR, in other words, that we have a dependency on a 32-bit resource such as a COM object or platform DLL. With it set as above, on a Win64 machine it would be loaded into the 32-bit CLR. There are actually two 2.x
-
Marshalling native function pointers
of the CLR. Notice that the thunk is not automatically removed when its target delegate is deleted, because the thunk and the delegate are created on different heaps: the delegate is instantiated on the GC heap, whereas the thunk is created on a heap that I like to call the CLR's code heap. The following code shows you some internals about Marshal::GetDelegateForFunctionPointer. // GFPFDTests.cpp. // build with "CL /clr GFPFDTests.cpp". NET objects are allocated on the GC heap which consists of. // pages with the PAGE_READWRITE flag. struct CallbackData. {.
Marcus' Blog
- Friday, April 6, 2007
-
Top Ten New Features in Entity Framework 4.0
SP1) generated a fair amount of criticism , especially because it lacked many features present in LINQ to SQL, such as POCO (Plain Old CLR Objects) support, and required developers to write excessive amounts of code to deal with things like concurrency and n-tier scenarios. Define your own objects that are completely decoupled from persistence concerns. The Entity Framework team at Microsoft has been extremely busy this past year to get a new version of the Entity Framework out the door. The first release (which shipped last summer with.NET 3.5 T4 Code Generation.
Tony and Zuzana's World
- Thursday, July 9, 2009
-
Part 2: Changing WPF focus in code
So, for example, you can change focus during your application initialization: void OnLoaded( object sender, RoutedEventArgs e). {. xmlns:sys="clr-namespace:System;assembly=mscorlib". For example, above we set the keyboard focus by calling Keyboard.Focus(), but the same effect can be achieved like this: void OnLoaded( object sender, RoutedEventArgs e). {. You pass in the direction (specified through a TraversalRequest object) and the method returns true/false to indicate success. xmlns:sys="clr-namespace:System;assembly=mscorlib". Remember that logical focus !=
Mark's Blog of Random Thoughts
- Thursday, September 4, 2008
-
Six Things That’ll Surprise You About.NET 4.0
As we move from single core systems, to multi-core systems, and then into many-core systems (say 64 cores) these types of lock free objects will become increasingly important. 6 CLR and Base-class Libraries. CLR and BCL has new Numerical Types. I recently wrote an article for DevelopMentor ’s Developments entitled. Six Things That’ll Surprise You About.NET 4.0 ”. You can read the entire article (republished just below this introduction) or if you’d rather see it as a quick set of 6 sides, you can see those here: Six Things That’ll Surprise You About.NET 4.0. quot; anyone?
Michael C. Kennedy's Weblog
- Wednesday, November 11, 2009
|
|
|