|
|
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.
|
72 Articles match "How To","Objects"
|
Related DevelopMentor Courses
|
MORE
|
|
Essential LINQ with the Entity Framework
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. You'll get answers to these questions: When should I use LINQ instead of "classic" ADO.NET? How is LINQ to Entities different from LINQ to SQL? We learn to correctly apply these features and avoid their misuse.
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!) interface vs.
DevelopMentor Courses
- Friday, June 12, 2009
Essential Spring 2.5 and Hibernate
Explain how the issues associated with object persistence in a relational model are addressed by Hibernate Understand the relationships between SQL, Java, Spring, and Hibernate Discuss the challenges to adopting Hibernate in the enterprise Write applications that take advantage of the Hibernate Persistence Manager. Map Java classes to relational tables. Understand how identity and keys are handled in Hibernate. Understand the persistent object lifecycle and how that relates to transactions and concurrency.
DevelopMentor Courses
- Friday, June 12, 2009
|
57 Articles match "How To","Objects"
|
The Latest from DevelopMentor
|
MORE
|
|
Converting a C# workflow into XAML
A interesting question that came up last week was how to convert workflows defined in C# to XAML. co worker of one of the attendees of the Essential Windows Workflow Foundation 4 course had been experiencing a lot of problems with the workflow designer and decided to create their workflows in C# instead of using the designer to generate XAML. Fortunately it isn’t hard to save workflow objects, however they have been authored, into their XAML representation using the XamlServices. Take the following workflow defined in C#. Enjoy!
The Problem Solver
- Saturday, August 28, 2010
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. Most developers don’t know how to do it, they need training and help (coaching) to do it. shame really.
Allan Kelly's Blog
- Thursday, June 3, 2010
Computer Language Benchmarks
The issue is how to map the performance of real programs to a new language using data from simple benchmarks. How would my Java program perform if written in Haskell? People seem to have given up on this sort of comparison, but I think it’s possible to generate a decent approximation. The first step is to break down the performance of a real program using detailed profiling data. This data can be broken down into the % of time spent doing object allocation, function calls, int & float math, loops, and other low-level operations.
Handwaving
- Wednesday, May 26, 2010
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Unit testing (from objectives)
Still responding to the questions posted in response to my TDD and objectives entry. The question was about how to do TDD, specifically UI and also about what happens when the general consistency fails. You can, but you have to jump through hoops to get your test framework to push buttons. The other way of doing it is to test the output. Increasingly application emit XML or HTML to generate their user interfaces and you can test that. You can test small segments of XML to see if it contains the expected data.
Allan Kelly's Blog
- Monday, July 2, 2007
-
Naked Objects
I first heard about Naked Objects (the Naked Objects website is here ) in a presentation at the SPA 2005 conference and have been intrigued since. finally managed to find time to read the book ( Naked Objects by Richard Pawson & Robert Matthews ) and I can recommend it. Naked Objects brings a different approach to software architecture. Both the Naked Objects philosophy and the Naked Objects framework are described. Still, the Naked Objects philosophy should be applicable in other languages. The book itself is different.
Allan Kelly's Blog
- Thursday, February 9, 2006
-
Sending your own objects to a WF4 workflow
In the previous two blog posts ( here and here ) I showed how to create and expose a Windows Workflow Foundation 4 workflow via WCF and have both a workflow and a regular C# client work with it. So how about passing some more complex data. To show how to do so I will replace the singe string with a person object. Admittedly not the most complex person with only an id, first and last name and their birth date but enough to demonstrate the principal. So with the service done we need to make the same changes to the two client applications.
The Problem Solver
- Thursday, August 20, 2009
-
TDD, Objective setting and doing the obvious
I’ve been doing a round of objective setting for my client recently. When it was first announced the company wanted to go down this path I groaned. ldquo;Arhh” I thought, “I hate objectives, I hate people setting them, I hate all the baggage that comes along with them.” I’m a past master at criticising management by objective , it is quite easy really, just look at the side effects and read Goodhart’s Law. Therefore one could expect them to have pretty similar objectives. ldquo;V” stands for Value-add.
Allan Kelly's Blog
- Wednesday, June 27, 2007
-
Using Model – View – ViewModel with Silverlight
have found it extremely easy to use when developing very different applications and have used the design pattern recently in both ASP.NET, WPF and Silverlight applications. However easy as it might be is seems to confuse people as I have seen some terrible examples where people make a complete mess of things. Even thought the UI technology used doesn't change the basic MVVM pattern there are some subtle differences, like not easily being able to use ICommand in Silverlight, so I decided to create a small Silverlight sample. The View is data bound to a ViewModel.
The Problem Solver
- Tuesday, April 7, 2009
-
Using WF4 bookmarks with IWorkflowInstanceExtension
Beta 2 In this previous blog post I showed how to create an asynchronous activity using the NativeActivity and CreateBookmark to pause a workflow execution. Neither the WorkflowInvoker not the WorkflowServiceHost contain a ResumeBookmark function so how do we resume a bookmark using either of those execution hosts? The trick is to use a IWorkflowInstanceExtension. But that also means they are not aware of the workflow runtime environment and can’t do much more that respond to calls from a workflow. This interface has just two methods. return null ; }.
The Problem Solver
- Wednesday, January 27, 2010
-
Using Windows Workflow Foundation 4 Receive from an non WF client
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. However a lot of clients out there are not going to be workflows but “regular” code that calls into out workflow. So what does it take to have a simple console application talk to our WF4 service? Next up are the request and response objects. The interesting to note here is that I have to use a MessageContact instead of a DataContract and I have to make sure the data isn’t wrapped in an extra element.
The Problem Solver
- Wednesday, August 19, 2009
|
|
|