|
|
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.
|
12 Articles match "Namespace"
|
Related DevelopMentor Courses
|
MORE
|
|
Essential LINQ with the Entity Framework
LINQ to XML offers an approach to XML queries that is element-centric and makes managing namespaces more straightforward. In this course, you learn to: Leverage new features of C# 3.0, 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
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, namespaces,
DevelopMentor Courses
- Friday, June 12, 2009
Virtual Foundations of C# Programming and the .NET Framework (Part 1)
Explore core C# features like classes, inheritance, namespaces, and events. 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 NET Framework is ".NET
DevelopMentor Courses
- Wednesday, February 17, 2010
|
70 Articles match "Namespace"
|
The Latest from DevelopMentor
|
MORE
|
|
Actors prototype in C#
namespace Concurrency.Actors
{
public interface IActor<T>
{
void Send(T message);
}
public class Actor<T> : IActor<T>
{
private BlockingCollection<T> _inbox = new BlockingCollection<T>();
private Func<T, bool> _handler;
private Thread _manager;
private void Manager()
{
while (_handler(_inbox.Take())) ;
}
public void Send(T message)
{
_inbox.Add(message);
}
private Actor(string n, Func<T, bool> h)
Handwaving
- Wednesday, March 3, 2010
Creating Rich Composite Activities
4: xmlns:s ="clr-namespace:System;assembly=mscorlib"
5: xmlns:conv ="clr-namespace:System.Activities.Presentation.Converters;assembly=System.Activities.Presentation"
6: xmlns:sap ="clr-namespace:System.Activities.Presentation;assembly=System.Activities.Presentation"
7: xmlns:sapv ="clr-namespace:System.Activities.Presentation.View;assembly=System.Activities.Presentation" I my last
post post I showed that creating a custom composite activity (one that can have one
or
.NET Meanderings
- Sunday, February 14, 2010
NativeActivity – A Tricky Beast
3: xmlns:s ="clr-namespace:System;assembly=mscorlib"
5: xmlns:sap ="clr-namespace:System.Activities.Presentation;assembly=System.Activities.Presentation"
6: xmlns:sapv ="clr-namespace:System.Activities.Presentation.View;assembly=System.Activities.Presentation"
7: xmlns:conv ="clr-namespace:System.Activities.Presentation.Converters;assembly=System.Activities.Presentation" I’m writing Essential
Windows Windows Workflow Foundation 4.0
.NET Meanderings
- Tuesday, February 9, 2010
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Paging with the Silverlight RIA services DomainDataSource
Next add a DataGrid to display the data and you are good to go. < UserControl xmlns:dataControls ="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm" x:Class ="LOBUsingRIAServices.CustomerListPage"
xmlns:data ="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
xmlns:riaControls ="clr-namespace:System.Windows.Controls;assembly=System.Windows.Ria.Controls"
xmlns:web ="clr-namespace:LOBUsingRIAServices.Web"
The Problem Solver
- Monday, April 27, 2009
-
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
-
Getting started with Windows Workflow Foundation 4
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 to the version of the .NET
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 ”. In this case I am using just two strings so they are pretty simple as well.
[MessageContract(IsWrapped = false )]
public class Operation1Request
{
[MessageBodyMember(
Namespace = "http://schemas.microsoft.com/2003/10/Serialization/" ,
Name = "string" )]
public string Value { get; set; }
}
[MessageContract(IsWrapped
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
-
Getting T4 templates to work with Silverlight
So now the complete template looks like:
1:
2:
3:
4: <#
5: Dictionary props = new Dictionary ();
6: props.Add( "FirstName" , "string" );
7: props.Add( "LastName" , "string" );
8: props.Add( "Age" , "int" );
9: #>
10: namespace T4Test
11: {
12: public class Demo
13: {
14: <#
15:
16: foreach (KeyValuePair prop in props)
17: {
18: #>
19:
The Problem Solver
- Monday, March 23, 2009
-
Combining WCF and WF4
The main point here is making sure the Name and ServiceContractName, both for the Endpoint and Receive, are configured correctly or the WorkflowServiceHost will not be able to start and you will get a System.InvalidOperationException with a message something like “Cannot add endpoint because ContractDescription with Name='MyService' and Namespace=' http://tempuri.org' can not be found.”.
Just like any other WCF service the main point is to make sure that the service contract names, namespaces and data types match or message will not be processed correctly (or at
The Problem Solver
- Wednesday, August 5, 2009
|
|
|