|
|
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.
|
38 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, Learn to combine flavors of LINQ to query and transform in-memory collections, XML data sources, and relational databases. Learn to develop applications for EF and LINQ to Entities and employ ADO.NET Data Services to integrate data from the Internet cloud. How is LINQ to Entities different from LINQ to SQL?
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 abstract class, or property vs. Properties Properties model the characteristics or traits of a type. NET 101" for developers moving to.NET. Explore core C# features like classes, inheritance, namespaces, and events. 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. less code!) field)?
DevelopMentor Courses
- Friday, June 12, 2009
|
142 Articles match "Property"
|
The Latest from DevelopMentor
|
MORE
|
|
Workflows and no persist zones
The SendReply activity has a property named PersistBeforeSend, surely that means it will be persisted before the reply is send? So the property name is wrong? It turns out the NativeActivityContext has a property called IsInNoPersistScope that will tell us that, unfortunately the property is internal so we can't use it [:(]. Whenever a no persist zone is started a NoPersistProperty is created and stored in the NativeActivityContext Properties collection. There are times when a workflow can't be persisted safely using a SqlWorkflowInstanceStore. But where?
The Problem Solver
- Sunday, August 22, 2010
Silverlight 4 and ICommand
The Quick command allows you to assign a lambda expression to a ICommand property like this: public class MainView { public MainView() { About = new QuickCommand( c => MessageBox.Show( "© Develop-one, 2010" ) ); } public ICommand About { get; set; } }. Silverlight 4 offers the opportunity to databind against a command. This is useful in MVVM scenarios. null ) { _executeMethod( parameter ); } } #endregion } #endregion QuickCommand. Sweet!
The Blomsma Code
- Monday, May 24, 2010
Opening a VS2010 project from another location
Fixing this is quite easy, just select the project file in the Windows Explorer, right click and open the files properties and click the Unblock button to tell Windows, and Visual Studio, that you trust the file. Whenever I download Visual Studio 2010 projects from the Internet and open the solution I am always prompted by the following message “Security Warning for [project name]. You should only open projects from a trustworthy source”. The warning makes sense because who knows what the code will do and we all run virus scanners for a good reason. www.TheProblemSolver.nl
The Problem Solver
- Thursday, May 6, 2010
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Accessing Context Properties from within a map in BizTalk
However, utilitzing some thread local storage and (what i think is) a reasonable assumption, this functoid is actually able to retrieve any of the message context properties in a receive port (no orchestrations required) ContextAccessor.zip (255.35 It's been a while, but i hope this will make up for being quiet again. I've run across the question many times, but never found the time to really dive into it. Now that time was found. And attached is the result. It is not a 100% clean construct because BizTalk really tries to do its best to disallow access to internal classes and runtime.
XML from the Coffee Shop
- Thursday, February 1, 2007
-
Using IdentityModel: Converting ADFS Security Properties to Claims
claims = new List (); claims.Add( new Claim (identity.NameType, identity.Name, Rights.Identity)); foreach ( SecurityProperty property in identity.SecurityPropertyCollection). {. 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). {. string claimType = property.Uri; if (claimType.EndsWith( "NameValue" )). {. claimType = property.Name; }. claims.Add( new Claim (claimType, property.Value, Rights.PossessProperty)); }.
www.leastprivilege.com
- Sunday, April 27, 2008
-
Using Model – View – ViewModel with Silverlight
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 FontWeight property. Whenever the FullName property changes the FullNameFontWeight might also change so in that case an extra PropertyChanged event is raised. Another example of a property like this would be the CSS class to use in an ASP.NET application. 11: {. 13: set. 14: {.
The Problem Solver
- Tuesday, April 7, 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 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
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 Text property contains the text we want to print. In the property sheet we see a textbox with the text “ ”. The TextWriter property is the text stream to write the text to. Where we previously had to bind to property binding or something similar to add custom code we can now type it directly into the designer. In fact Windows Workflow Foundation 3 was the first version and 3.5 Well wrong actually!
The Problem Solver
- Monday, June 22, 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). Next add a DataGrid to display the data and you are good to go. Adding paging. Using progressive loading. Enjoy!
The Problem Solver
- Monday, April 27, 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. Except that it behaves in a subtlety different way. In fact you can just use a try/finally and it will work just fine. FaultSource.Name; }. }. }.
The Problem Solver
- Thursday, November 26, 2009
|
|
|