| |
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.
|
5 Articles match "Null","Sample"
| Related DevelopMentor Courses | MORE | | Understanding Map - Reduce null ). Running the sample code produces output like this. Quite a few people seem to be intimidated by the concept of Map-Reduce. As it turns out Map-Reduce is actually quite simple and straightforward when you get to understand the basic principle. Basic principle The basic Map-Reduce consists of two steps. guess you are not going to be very surprised when I tell you that these steps are called Map and Reduce. Simple right? And the Reduce process takes the output of the Map process and combines/discards data to produce the result. Again pretty simple right? simple example. The Problem Solver - Monday, December 3, 2012 What’s New in Java ApprovalTests V 0.12 Do not make it null. Here’s a sample of how to do that: SmartMapper mapper = new MapperWrapper(new WordCountMap(), LongWritable.class, Text.class, Text.class, LongWritable.class); Once you do this, you will no longer need to wrap all your inputs in the writable classes, HadoopApprovals will wrap primitives into the appropriate context for you In this release of ApprovalTests ( available here ), we’ve only added one thing, but it’s a big thing. Specifically, it’s a big data thing. My thanks go out to John Heintz for helping me to create this. Let’s look into the parts. Fair point. DevelopMentor Courses - Wednesday, September 19, 2012 Decouple WCF Services from their DI Container with Common Instance Factory null ) { try { _container.ReleaseInstance(service); } finally { var disposable = instance as IDisposable ; if (disposable != null ) { disposable.Dispose(); } } } } }. null ) { foreach ( EndpointDispatcher ed in cd.Endpoints) { ed.DispatchRuntime.InstanceProvider = new InjectedInstanceProvider <TServiceType>(_container); } } } } }. To see examples of using CIF with WCF extensions, download samples and source code from the CIF CodePlex site. would venture to say that in many cases, introducing this additional layer of abstraction is not always necessary. Enjoy. DevelopMentor Courses - Saturday, May 26, 2012 |
47 Articles match "Null","Sample"
| The Latest from DevelopMentor | MORE | | Understanding Map - Reduce null ). Running the sample code produces output like this. Quite a few people seem to be intimidated by the concept of Map-Reduce. As it turns out Map-Reduce is actually quite simple and straightforward when you get to understand the basic principle. Basic principle The basic Map-Reduce consists of two steps. guess you are not going to be very surprised when I tell you that these steps are called Map and Reduce. Simple right? And the Reduce process takes the output of the Map process and combines/discards data to produce the result. Again pretty simple right? simple example. The Problem Solver - Monday, December 3, 2012 Understanding Map - Reduce null ). Running the sample code produces output like this. Quite a few people seem to be intimidated by the concept of Map-Reduce. As it turns out Map-Reduce is actually quite simple and straightforward when you get to understand the basic principle. Basic principle The basic Map-Reduce consists of two steps. guess you are not going to be very surprised when I tell you that these steps are called Map and Reduce. Simple right? And the Reduce process takes the output of the Map process and combines/discards data to produce the result. Again pretty simple right? simple example. The Problem Solver - Monday, December 3, 2012 What’s New in Java ApprovalTests V 0.12 Do not make it null. Here’s a sample of how to do that: SmartMapper mapper = new MapperWrapper(new WordCountMap(), LongWritable.class, Text.class, Text.class, LongWritable.class); Once you do this, you will no longer need to wrap all your inputs in the writable classes, HadoopApprovals will wrap primitives into the appropriate context for you In this release of ApprovalTests ( available here ), we’ve only added one thing, but it’s a big thing. Specifically, it’s a big data thing. My thanks go out to John Heintz for helping me to create this. Let’s look into the parts. Fair point. DevelopMentor Courses - Wednesday, September 19, 2012 | -
| The Best from DevelopMentor | MORE | - Using Model – View – ViewModel with Silverlight
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. know it is a bit of a lame business rule but it is just a sample. null ). null ). null ). null ). The View – Model – ViewModel design pattern, also known as MVVM, is getting more popular these days. 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. The Problem Solver - Tuesday, April 7, 2009 - Understanding Map - Reduce
null ). Running the sample code produces output like this. Quite a few people seem to be intimidated by the concept of Map-Reduce. As it turns out Map-Reduce is actually quite simple and straightforward when you get to understand the basic principle. Basic principle The basic Map-Reduce consists of two steps. guess you are not going to be very surprised when I tell you that these steps are called Map and Reduce. Simple right? And the Reduce process takes the output of the Map process and combines/discards data to produce the result. Again pretty simple right? simple example. The Problem Solver - Monday, December 3, 2012 - Easier Async for Silverlight Apps using MVVM
null ) { // Always fire the event on the UI thread if ( Deployment.Current.Dispatcher.CheckAccess() ) { propertyChanged(sender, new PropertyChangedEventArgs (propertyName)); } else { Deployment.Current.Dispatcher.BeginInvoke. (() => propertyChanged(sender, new PropertyChangedEventArgs (propertyName))); } } }. null ) { InternalNotify(() => handler( this , e)); } } protected void Notify<TOutgoing> ( EventHandler < NotificationEventArgs <TOutgoing>> handler, NotificationEventArgs <TOutgoing> e) { if (handler != Technical MVVM Silverlight Tony and Zuzana's World - Saturday, January 29, 2011 - Peeling Back the Onion Architecture
null ); Assert.That(categories.Count() > 0); } }. null ); Assert.That(categories.Count() == 3); } }. The sample application (which you can download here ) provides a reference architecture based on these principles. To use it you’ll need to download our good old friend, the Northwind sample database. Download the code for this article. recently started a consulting project as an architect on an ASP.NET MVC application and quickly found myself immersed in the world of N* open source tools. This is where the “Onion Architecture” comes in. The Web.Ui Enjoy. Tony and Zuzana's World - Saturday, October 8, 2011 - WIF, ASP.NET 4.0 and Request Validation
The WIF SDK (v4) contains a sample validator that does exactly that: public class WSFedRequestValidator : RequestValidator. {. null ). {. Since the response of a WS-Federation sign-in request contains XML, the ASP.NET built-in request validation will trigger an exception. To solve this, request validation needs to be turned off for pages receiving such a response message. Starting with ASP.NET 4.0 you can plug in your own request validation logic. This allows letting WS-Federation messages through, while applying all standard request validation to all other requests. www.leastprivilege.com - Saturday, July 24, 2010 - Tackling the Problem of Modal Dialogs in MVVM
null && ErrorNotice != null). null ) { ProductAvailableNotice( this , new NotificationEventArgs < bool , bool > ( null , available, PlaceOrder)); } } private void PlaceOrder( bool confirm) { if (confirm) serviceAgent.OrderProduct(); } }. For the full source code to this example, just download the latest version of my Simple MVVM Toolkit and open up the solution in the SimpleMvvm-Main folder in the Samples directory. One of the main benefits of MVVM is better application maintainability. Another benefit is testability. Tony and Zuzana's World - Friday, January 28, 2011 - Article: Avoiding 5 Common Pitfalls in Unit Testing
To = to, From = from, Body = "Sample", Subject = "test" }; mail.SetFormat( Formats.Html ); mockMailServer.Send( mail ); } return from; }. We know that most bugs come from incorrect wiring, or null pointers, and so on. Llewellyn Falco and I recently wrote an article for DevelopMentor's Developments newsletter entitled Avoiding 5 Common Pitfalls in Unit Testing. You can read it at the DevelopMentor website: [link]. I've republished here for my readers. Enjoy! Avoiding 5 Common Pitfalls in Unit Testing. by Llewellyn Falco and Michael Kennedy. So we stopped. At first, it seemed great. Michael C. Kennedy's Weblog - Thursday, August 6, 2009 %>
| | |