|
|
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.
|
10 Articles match "Namespace","Objects"
|
Related DevelopMentor Courses
|
MORE
|
|
Essential LINQ with the Entity Framework
including extension methods and lambda expressions Use LINQ to filter, sort, and group in-memory collections of objects Create LINQ to SQL queries to execute SQL Server stored procedures and perform updates in real-world database applications Write LINQ to XML queries to search XML documents and save them to the file system Build a rich conceptual entity model using the EF and to visually map it to a database schema Use LINQ to Entities to write strongly typed queries against the Entity Data Model Detect and resolve concurrency conflicts with both LINQ to SQL and LINQ to Entities Execute business
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., Explore core C# features like classes, inheritance,
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 Explore core C# features like classes, inheritance, namespaces, and events. NET Framework is ".NET NET 101" for developers moving to .NET.
DevelopMentor Courses
- Wednesday, February 17, 2010
|
39 Articles match "Namespace","Objects"
|
The Latest from DevelopMentor
|
MORE
|
|
MVVM: IUIVisualizer and event management with behaviors
namespace PictureViewer.Interfaces
{
public interface ISelectFile
{
string SelectFile( string fileFilters);
}
}
The namespace JulMar.Windows.Interfaces
{
public interface IUIVisualizer
{
void Register( string key, Type winType);
bool Unregister( string key);
bool Show( string key, object state, bool setOwner,
EventHandler
completedProc);
In this post, we will look at the IUIVisualizer , and bring together
some
Mark's Blog of Random Thoughts
- Friday, February 5, 2010
MVVM: Introducing the message visualizers
Now we can create a collection of the TitledCommand objects and display
them It returns a disposable object that you invoke Dispose
on lt; Window x : Class ="ServicesTest.Views.MainWindow"
xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns : x ="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns : julmar ="http://www.julmar.com/wpfhelpers"
xmlns : ViewModels ="clr-namespace:ServicesTest.ViewModels"
Title ="Notification
Visualizer In this post, I will go over the simple message visualizers available in the MVVM
Helpers
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
Using lt; Window x : Class ="RadioButtonBinding.Views.MainWindow"
xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation" A question I got recently was how to manage Radio Buttons with bindings – in this
instance, instance, the sample code was trying to map a single value to a set of Radio Buttons
based
Mark's Blog of Random Thoughts
- Friday, January 29, 2010
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Using Model – View – ViewModel with Silverlight
The complete model looks like this: 1: using System.ComponentModel;
2:
3: namespace SilverlightMVVMDemo.Model
4: {
5: public class Customer : INotifyPropertyChanged
6: {
7: private string _firstName;
8: private string _lastName;
9:
10: public string FirstName
11: {
12: get { return _firstName; }
13: set
14: {
15:
The Problem Solver
- Tuesday, April 7, 2009
-
Sending your own objects to a WF4 workflow
So how about passing some more complex data. 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. private static WorkflowElement CreateWorkflow()
{
var result = new Sequence();
var input = new Variable ();
result.Variables.Add(input);
XNamespace ns = "http://tempuri.org" ;
var handle = new Variable ();
result.Variables.Add(handle);
The Problem Solver
- Thursday, August 20, 2009
-
Getting started with Windows Workflow Foundation 4
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? Yes there is. 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. As you may have heard Windows Workflow Foundation 4 is not an upgrade from Windows Workflow Foundation 3 (or 3.5). The version numbers might suggest that the previous version was quite mature but in fact it refers
The Problem Solver
- Monday, June 22, 2009
-
Using Windows Workflow Foundation 4 Receive from an non WF client
In our workflow the operation is named “Operation1” and our service contact name was “MyService” with the default namespace of “ http://tempuri.org ”. Next up are the request and response objects. In this case I am using just two strings so they are pretty simple as well.
[MessageContract(IsWrapped = false )]
public class Operation1Request
{
[MessageBodyMember(
Namespace In a previous blog post I described how to use the WorkflowServiceHost and host a workflow with a Receive activity that waits for WCF messages. I
The Problem Solver
- Wednesday, August 19, 2009
-
Marshalling native function pointers
namespace NativeAPI
{
namespace ManagedWrapper { using namespace System::Runtime::InteropServices;
[StructLayout(LayoutKind::Sequential)] namespace ManagedWrapper
{
namespace ManagedWrapper
{
Now that the book is written and all urgent tasks I had to defer due to the book are
done, I find some time to blog about technical topics.
Marcus' Blog
- Friday, April 6, 2007
-
Creating TFS Work Items programatically
The answer is quite simple: write a program that utilizes the Team Systems Object
Model. The Object Model is documented partially in the VSIP SDK -- if you intend to work
with tracking tickets from whatever system you have):
1: using System;
2: using System.Collections;
3: using System.Collections.Generic;
4: using System.Text;
5: using Microsoft.TeamFoundation.Client;
6: using Microsoft.TeamFoundation.WorkItemTracking.Client; One question I get a lot when teaching the VSTS course is "How can I move tasks or bugs from our existing system into TFS?"
The
-
WF4&WCF and message correlation
This is done in the CreateCorrelationQuery() function as follows:
private static CorrelationQuery CreateCorrelationQuery()
{
var result = new CorrelationQuery();
var xpath = new XPathMessageQuery()
{
Namespaces = new XmlNamespaceManager( new NameTable()),
Expression = "//sample:Person/sample:Id"
};
xpath.Namespaces.AddNamespace( "sample" , "urn:WF4Sample:person" );
var messageQuerySet = new MessageQuerySet()
The Problem Solver
- Wednesday, September 2, 2009
|
|
|