|
|
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.
|
20 Articles match "Property"
|
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. 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
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 abstract class, or property vs. NET Framework is ".NET NET 101" for developers moving to .NET.
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. less code!) Distinguish
DevelopMentor Courses
- Friday, June 12, 2009
|
122 Articles match "Property"
|
The Latest from DevelopMentor
|
MORE
|
|
Trackable DTO’s: Taking N-Tier a Step Further with EF4
If you look closely at the ObjectChangeTracker class that is generated for the client, you’ll see that it maintains metadata for navigation properties with items that have been added or removed, as well as original values and extended properties. Each entity has an ObjectState property indicating its change state (Unchanged, Added, Modified, Deleted), which is sent to the service where it is used to perform inserts, updates and deletes against a database. Download code for this post here .
Not long ago my friend and colleague Richard Blewett wrote a blog post on
Tony and Zuzana's World
- Friday, February 19, 2010
Creating Rich Composite Activities
wire an ActivityAction to its Body property. the Handler property of the ActivityAction but
that be specified using property
element we don’t want the activities user to try to set this value in the property grid.
OK 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
Architecture or Design?
The term “software design” is often used to describe the external properties of the software, how it looks, feels, perhaps the features it offers. I mentioned the A word in my last post ( Are there any System Analysts out there? ). As regular readers might have noticed, I have over the years of this blog taken the odd pot-shot at Architects . But
Allan Kelly's Blog
- Wednesday, February 10, 2010
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Using IdentityModel: Converting ADFS Security Properties to Claims
Identity));
foreach ( SecurityProperty property in identity.SecurityPropertyCollection)
{
string claimType
= property.Uri;
if (claimType.EndsWith( "NameValue" ))
{
claimType
= property.Name;
}
claims.Add( new Claim (claimType,
This little helper might be useful when you are working with ADFS, but want to use
the IdentityModel types in your app:
public static ClaimSet ToClaimSet( this SingleSignOnIdentity identity)
{
www.leastprivilege.com
- Sunday, April 27, 2008
-
Using Model – View – ViewModel with Silverlight
Think of the Model as the data and the business rules. The Model The Model I am using is very simple and has two read-write properties, FirstName and LastName, and a single read-only property, FullName. The FullName property represents some business rule on how a name should be formatted. And the View uses data binding to set the The View – Model – ViewModel design pattern, also known as MVVM, is getting more popular these days. I
The Problem Solver
- Tuesday, April 7, 2009
-
Paging with the Silverlight RIA services DomainDataSource
Of course it is just a matter of setting properties so doing so from code is easy enough.
Using the declarative DomainDataSource that is part of the upcoming Silverlight 3 RIA services makes it quite easy to work with data. All you need to do is add a DomainDataSource control to the the XAML, point it to the generated DomainContext class (in this case NorthwindContext) and tell it which method to use to load the data from the web service(in this case LoadCustomers).
The Problem Solver
- Monday, April 27, 2009
-
Rehosting the Workflow Designer in WF4
This exposes the actual design surface through the View property and the linked property sheet through the PropertyInspectorView property. Both these properties point to ready to use WPF UIElement’s so, as long as the host used WPF, adding them to a form is easy. Note: This blog post is written using the .NET NET framework 4.0
The Problem Solver
- Wednesday, December 23, 2009
-
Getting started with Windows Workflow Foundation 4
When we open the property sheet with the WriteLine activity selected we see there are just three properties: the DisplayName, the Text and the TextWriter. The DisplayName is actually the name used on the design surface and used during the design of the workflow. The Text property contains the text we want to print. In the property sheet we see a textbox with the text “ ”. 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
The Problem Solver
- Monday, June 22, 2009
-
TryCatch activity in WF4
Besides the FaultSource you also get the Fault and a FaultHandler property which will tell you if there is a TryCatch activity that might handle it. I can’t say I am a fan of the way the TryCatch activity is implemented in Windows Workflow Foundation 4. For starters there is a Finally block where you can add some activities you want to execute. Sounds nice and very much like the try/catch/finally code construct we have in C# or Visual Basic.
The Problem Solver
- Thursday, November 26, 2009
-
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
|
|
|