|
|
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.
|
57 Articles match "Class","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 is Language Integrated Query (LINQ), making query a first-class feature of the programming language. Now we can group, sort, and filter in-memory collections of objects. Furthermore, LINQ to SQL tracks changes to our objects and persists those changes to the database when requested.
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 Explore core C# features like classes, inheritance, namespaces, and events. abstract class, or property vs. What types are available in the.NET Framework class library? NET 101" for developers moving to.NET. interface vs.
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., abstract class, or property vs.
DevelopMentor Courses
- Friday, June 12, 2009
|
121 Articles match "Class","Objects"
|
The Latest from DevelopMentor
|
MORE
|
|
Workflows and no persist zones
The NoPersistProperty is also internal but that is no problem as all we need to do if check if there is a object stored under the name "System.Activities.NoPersistProperty", something we can do with the following activity: public class CheckForNoPersistZone : NativeActivity. {. public class NoPersistZone : NativeActivity. {. There are times when a workflow can't be persisted safely using a SqlWorkflowInstanceStore. An easy example is a workflow handling a WCF request with a Receive and SendReply activity pair. No problem there. But where? But wait. null ); }. }.
The Problem Solver
- Sunday, August 22, 2010
Purchasing Visual Studio 2010
Compliant Diagrams (Activity, Use Case, Sequence, Class, Component). UML is a registered trademark of Object Management Group, Inc. Amazon sells various versions of Visual Studio 2010. Here is an overview of versions and this will give you a good indication of prices. Below the prices is a feature comparison also…. Visual Studio Professional. Plain. Upgrade from 2005/2008. with MSDN. Visual Studio Premium. with new MSDN. with MSDN renewal. Visual Studio Utlimate. with new MSDN. with MSDN renewal. Visual Studio 2010 Feature Comparison. Debugging & Diagnostic. Code Metrics.
The Blomsma Code
- Tuesday, July 13, 2010
Autotest for Python
started modifying their runner to work with growlnotify.exe, but it really bothered me how they copied and pasted the entire contents of the unittest.TextTestRunner.run method into their derived class so I threw together my own version which doesn’t contain such a flagrant disregard for object-oriented principles. I recently went looking for an autotest equivalent for Python. This question on StackOverflow pointed me to autonose. It wasn’t that easy to install using easy_install since one of its dependencies (snakefood) failed to install so I had to do that manually.
Jason Diamond
- Friday, June 18, 2010
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Using dynamic objects in Silverlight 4
This means that even if you don’t know at design time what properties you data object has you can still data bind to them. Creating the class to data bind to is simple. All you need to do is add a property with the following syntax: public object this [ string key]. In this example I am using a Peron class with a regular FirstName property and all others are dong using indexed properties. The complete class, including INotifyPropertyChanged looks like this: public class Person : INotifyPropertyChanged. {. get; set; }. public Person(). {. get. {. set. {.
The Problem Solver
- Monday, April 12, 2010
-
Sending your own objects to a WF4 workflow
To show how to do so I will replace the singe string with a person object. The CreateWorkflow() function will change now reflecting the fact that the service will no longer expect a string but a person object. That leaves the Person class and this is just straightforward WCF work by turning the basic class into a data contract. public class Person. {. The Person class is exactly the same as on the server so just copy the code as is. internal class Person. {. But the parameter and return value where real simple with just a string each. Enjoy!
The Problem Solver
- Thursday, August 20, 2009
-
Using Model – View – ViewModel with Silverlight
The ViewModel is just another class. 5: public class Customer : INotifyPropertyChanged. 6: public partial class CustomerView : UserControl. 13: 14: private void Button_Click( object sender, System.Windows.RoutedEventArgs e). The ViewModel class is the one that glues the View and the Model together, hence its name. basically the ViewModel wraps each Model object, so if you want to use a collection of customer models you create a collection of CustomerViewModel objects and databind against them. The View is data bound to a ViewModel. 11: {. 14: {.
The Problem Solver
- Tuesday, April 7, 2009
-
Using dynamic objects in Silverlight 4
This means that even if you don’t know at design time what properties you data object has you can still data bind to them. Creating the class to data bind to is simple. All you need to do is add a property with the following syntax: public object this [ string key]. In this example I am using a Peron class with a regular FirstName property and all others are dong using indexed properties. The complete class, including INotifyPropertyChanged looks like this: public class Person : INotifyPropertyChanged. {. get; set; }. public Person(). {. get. {. set. {.
The Problem Solver
- Monday, April 12, 2010
-
Exam objectives for 70-536 with links to MSDN
Microsoft 70-536 Objectives. Objectives as updated on Microsoft's Web site : March 29, 2007. Exception classes (More info: Exceptions C# / Exceptions Visual Basic ). TypeForwardedToAttribute Class: Manage a group of associated data in a.NET Framework application by using collections. ArrayList class. Hashtable class. CollectionBase class and ReadOnlyCollectionBase class. DictionaryBase class and DictionaryEntry class. Comparer class. Queue class. SortedList class. BitArray class. Stack class.
The Blomsma Code
- Monday, June 8, 2009
-
Rehosting the Workflow Designer in WF4
The WorkflowDesigner The WorkflowDesigner is the main class to work with. The WorkflowDesigner has an Items collection with a bunch of useful objects in there. One of these is a Selection object. public class ValidationErrorService : IValidationErrorService. {. Note: This blog post is written using the.NET framework 4.0 Beta 2 With Windows Workflow Foundation 3 it was possible to rehost the workflow designer in your own application. But possible is about all there was to say about it as it was pretty hard to do anything beyond the basics. Now that is more like it!
The Problem Solver
- Wednesday, December 23, 2009
-
Getting started with Windows Workflow Foundation 4
There no longer is a class named WorkflowRuntime. Creating workflows is done by creating a WorkflowInstance object. This object is raises events for that workflow and only for that specific workflow. But surely there is still an Activity base class? But this is a completely new class that has nothing to do with the class Activity that was used with WF 3. In fact the new Activity class is in a new assembly and namespace, the full name is System.Activities.Activity in the assembly System.Activities.dll. Well wrong actually! Yes there is.
The Problem Solver
- Monday, June 22, 2009
|
|
|