|
|
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.
|
90 Articles match "Code"
|
Related DevelopMentor Courses
|
MORE
|
|
Essential LINQ with the Entity Framework
Day 2 LINQ to SQL: Introduction For years a problem known as the "object relational impedance mismatch" has stood as a barrier between the two worlds of objects and relational data, and in the past developers were responsible for writing the plumbing code required to go from one to the other. Through this mechanism, we can minimize the procedural code required for our applications. 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.
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., less code!) NET 101" for developers moving to.NET.
DevelopMentor Courses
- Friday, June 12, 2009
Virtual Foundations of C# Programming and the.NET Framework (Part 1)
The.NET Execution Model This module examines the.NET software development model: C# source code, compiler, intermediate language,exe/.dll They help eliminate repeated code since multiple executables can share a library. Day 2 Class A class is a key object-oriented programming concept and the primary unit of coding in C#. They make the client code clean and simple while allowing class designers to maintain encapsulation and execute validation code NET 101" for developers moving to.NET. Explore core C# features like classes, inheritance, namespaces, and events.
DevelopMentor Courses
- Wednesday, February 17, 2010
|
514 Articles match "Code"
|
The Latest from DevelopMentor
|
MORE
|
|
Rewriting Vs Refactoring
Once again, I found myself having a discussion about the dangers of doing a legacy code rewrite. Durning this client meeting, I came up with an illustration I wanted to share. vBlogged my thoughts here: These 3 graphs sum up the Massive Risk at the end. The Rewrite Scenario The Hidden Question at the End The Refactor Scenario
Llewellyn Falco
- Saturday, September 4, 2010
AssertNotNull
Finally, here's the code I was looking at. Recently had some issues with the method assertNotNull(object) because it doesn't help with any of the 4 principles of TDD. Specifications Feedback Regression Granularity I vloged my thoughts here. and check out www.approvaltests.com
Llewellyn Falco's Approval Tests
- Monday, August 30, 2010
Converting a C# workflow into XAML
Text = new VisualBasicValue ( ""The current time is: " & System.DateTime.Now.ToLongTimeString()" ). }); This will run just fine as is but if I want to convert this into XAML all I need is a single line of code: XamlServices.Save( @" demo.xaml" , workflow); And when it runs I get a nice XAML file with the graphical representation of the original C# workflow. A interesting question that came up last week was how to convert workflows defined in C# to XAML. Take the following workflow defined in C#. Enjoy! www.TheProblemSolver.nl.
The Problem Solver
- Saturday, August 28, 2010
|
-
|
The Best from DevelopMentor
|
MORE
|
-
WPF Data Providers
We could clearly do all of this from procedural code -- create an XmlReader object, load the data and render each XmlNode into the listbox. However, this is the 21st century and so we want to avoid coding as much as we can and utilize the underlying framework support instead! Data binding in WPF is extremely powerful -- I am constantly amazed at how much procedural code you can dump in favor of markup with creative bindings. Tags: NET;Code;WPF One of the nifty new features of the WPF platform is the pluggable data providers. State, Age, Income. xmlns = " [link] ".
Mark's Blog of Random Thoughts
- Wednesday, January 17, 2007
-
SOS: finding the method bound to an EventHandler with WinDbg.
This, of course, is bad form because the System.Web.UI.Page object is intended to be a transient object - it goes away at the end of the request - in production code, I would really bind the event to a handler in global.asax instead. So, my next step is to dump the event handler to try to identify what method it is wrapping - I could then search the code for this method and find out where it is being bound. methodBase is used for dynamic code and is null here. Failed to request MethodData, not in JIT code range. Unmanaged code 054d7748 e862289b74 call mscorwks!LogHelp_TerminateOnAssert+0x3f5f
-
Creating Extensible Applications with MAF (System.AddIn)
Developers (and managers) have long desired a way to easily create extensible applications that allow new features to be added without jeopardizing the stability of the existing code base. Isolate aspects of your code for security reasons or partial-trust scenarios. Allow business partners to extend your application safely without access to the source code; Adobe Illustrator is a great example of this style of application. Separate volatile sections of your application out – where depending on the customer the application needs to execute different sets of code.
-
Part 2: Changing WPF focus in code
But in general, the following code will tell you which element WPF thinks has focus in the window: IInputElement focusedElement = FocusManager.GetFocusedElement(thisWindow); To determine whether this element has keyboard focus, we can check the IsKeyboardFocused property - if it's set to true, then that element currently has the keyboard focus (as well as being the logical focus for that focus scope). So, up to this point, we've seen a lot of code to change focus. You can do it in code, just like the above example where we use the Loaded event. Remember that logical focus
Mark's Blog of Random Thoughts
- Thursday, September 4, 2008
-
Playing with WPF Behaviors - a WatermarkText behavior
Tags: NET Code WPF
-
Things to do to improve code quality
This section of the course included an exercise were I ask the participants to think of things they could do to improve code quality. On this occasion the exercise went particularly well and resulted in the list in the picture below: Lets run through these one by one - not necessarily in the order on the sheet: Test Driven Development: if there is one practice above all others which contributes to better code quality and fewer bugs it is TDD. It is instant code review, it is two-heads better than one (think of commercial pilots or surgical teams). shame really.
Allan Kelly's Blog
- Thursday, June 3, 2010
-
Implementing Drag/Drop with TabControl
didn't want to create derived implementations of any classes - I wanted something that was non-intrusive to my code so I decided to use an attached property. All the code for the spell checking lives in the SpellChecker class and when you add the SpellCheck.IsEnabled property onto the TextBox, it adds handlers to the TextBlock's TextChanged property and adds all the nifty spell checking goodness without changing the code in TextBox. So with this code, I can add the property to any TabControl and get a nice, simple drag/drop experience. Tags: NET;Code;WPF
|
|
|