| |
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.
|
14 Articles match "Books","List"
| Related DevelopMentor Courses | MORE | | Understanding Map - Reduce 5: Lines = new List (); 6: }. 9: public List Lines { get; set; }. 14: public string Book { get; set; }. Each order line contains the books title, the quantity and the amount it was sold for. In this case the books title and the price it was sold for. 3: public string Book { get; set; }. 3: var result = new List (); 4: 5: foreach (var order in orders). 11: Book = line.Book, 12: Amount = line.Price. 7: Book = line.Book, 8: Amount = line.Price. 3: var result = new List (); 4: 5: foreach (var reduced in input). Simple right? The Problem Solver - Monday, December 3, 2012 Using SignalR for real time data updates In the following code the clients starts the communications hub and passed the loadBooks callback to load the books as soon as the communications are initialized. $( function () {. then( function (books) {. each(books, function () {. appendTo(ul); renderBook(newLi, this ); }); }); }; function renderBook(li, book) {. var books = _repo.GetBooks(); return books; }. }. e.preventDefault(); var form = $( this ); var book = {. val(). }; hub.updateBook(book); }); hub.bookUpdated = function (book) {. public void updateBook(Book book). {. The Problem Solver - Wednesday, July 25, 2012 Screening C# Candidates: Let’s Play 20 Questions! For this purpose I have composed a list of 20 Questions , each of which has a one or two word answer. Here is the list of questions without answers, which you can use to quiz yourself (see the end of the post for the answers). If a person has ever bothered to read a book or technical article or taken a training course, their answers will set them apart from the crowd of folks who don’t make time for ongoing professional development. Over the past year I was involved in the process of interviewing candidates for both mid and senior level developer positions. > value 3. DevelopMentor Courses - Tuesday, February 28, 2012 |
64 Articles match "Books","List"
| The Latest from DevelopMentor | MORE | | Unit testing a ASP.NET WebAPI controller Testing a simple ApiController that gets data Suppose we have the following ASP.NET WebAPI Controller with two Get methods, the first returns the complete list of books and the second returns the book with the requested ID. 14: 15: // GET api/books. 24: var book = _repo.GetBook(id); 25: 26: if (book == null ). 30: 31: return Request.CreateResponse(HttpStatusCode.OK, book); 32: }. The Get() method that returns all books is easy enough to test. There are no dependencies on WebAPI bits, all it does is return a enumeration of books. The Problem Solver - Sunday, May 12, 2013 Agile Advice for Aviva (and many other big companies) Give your team support, send them on training, hire consultants to come and coach, buy them books. There is no long term future for Test Managers, you options are: a) focus on Test and work to improve the Testing Process, specifically Automation; b) focus on management and manage the whole development team; c) disentangle Test from Quality and become get Quality throughout the process Form self-support book study groups: spend an hour, meet for lunch every other week, agree a book, agree a chapter in advance, someone volunteer to summarise it. don’t know of any. Allan Kelly's Blog - Tuesday, February 19, 2013 What is Agile? At first I thought my notes on Xanpan would be similar to my “Agile Reader” mini-book , then I thought Xanpan would be a replacement for the Agile Reader series, now I’m seeing it as a book format collection of writing that goes beyond Agile Reader and includes new material on Xanpan specifically. Otherwise its likely to be pushed to the bottom of my to do list. should stop there, I could carry on but I’d need a book to do this perspective justice - fortunately I wrote just such a book a few years ago: Changing Software Development: Learning to be Agile. Allan Kelly's Blog - Wednesday, January 16, 2013 | -
| The Best from DevelopMentor | MORE | - Manage Your Christmas Card List
In my household, my wife manages the Christmas card mailing list. Our Christmas card mailing list is kept in a little address book that is full of entries that have been crossed out as addresses, marital status, and family members have all changed. was thinking today it would be handy to use an online tool to replace that little tattered address book when it struck me: CROWD SPACE WOULD BE PERFECT FOR THAT! It’s perhaps a tad embarrassing that it never occurred to me before that Crowd Space would be ideal for Christmas mailing list management. Derek Hatchard blogs on - Thursday, December 17, 2009 - Using SignalR for real time data updates
In the following code the clients starts the communications hub and passed the loadBooks callback to load the books as soon as the communications are initialized. $( function () {. then( function (books) {. each(books, function () {. appendTo(ul); renderBook(newLi, this ); }); }); }; function renderBook(li, book) {. var books = _repo.GetBooks(); return books; }. }. e.preventDefault(); var form = $( this ); var book = {. val(). }; hub.updateBook(book); }); hub.bookUpdated = function (book) {. public void updateBook(Book book). {. The Problem Solver - Wednesday, July 25, 2012 - Understanding Map - Reduce
5: Lines = new List (); 6: }. 9: public List Lines { get; set; }. 14: public string Book { get; set; }. Each order line contains the books title, the quantity and the amount it was sold for. In this case the books title and the price it was sold for. 3: public string Book { get; set; }. 3: var result = new List (); 4: 5: foreach (var order in orders). 11: Book = line.Book, 12: Amount = line.Price. 7: Book = line.Book, 8: Amount = line.Price. 3: var result = new List (); 4: 5: foreach (var reduced in input). Simple right? The Problem Solver - Monday, December 3, 2012 - Using the WCF Web API in an ASP.NET MVC application
All we can do is retrieve a list of books or get an individual one. List GetBooks(). {. Book GetBook( int id). {. These steps, and adding the required IBooksRepository and its implementation, result in a working service the URL “books” maps to the collection of all books and the URL “books/3” maps to the book with id 3 using the template. Warning: This post is based on a prerelease version of the WCF Web API In my previous blog post I showed how to add to and use the new WCF Web API a console application using NuGet. repo = repo; }. if (_repo != The Problem Solver - Monday, June 13, 2011 - Unit testing a ASP.NET WebAPI controller
Testing a simple ApiController that gets data Suppose we have the following ASP.NET WebAPI Controller with two Get methods, the first returns the complete list of books and the second returns the book with the requested ID. 14: 15: // GET api/books. 24: var book = _repo.GetBook(id); 25: 26: if (book == null ). 30: 31: return Request.CreateResponse(HttpStatusCode.OK, book); 32: }. The Get() method that returns all books is easy enough to test. There are no dependencies on WebAPI bits, all it does is return a enumeration of books. The Problem Solver - Sunday, May 12, 2013 - Using HTTP status codes in a REST service
Check here for a complete list of all HTTP status codes. Book GetBook( int id). {. If I request the books resource using the URL [link] I get the following. However if I use the URL [link] to get a book with id 999 which doesn’t exist I see the following: Not exactly what I want, there is no book found and yet it returns a null book resource. Using the HttpResponseMessage we can set all sorts of headers but in this case we are only interested in setting the HttpStatusCode to NotFound if the requested book doesn’t exist. The fix is quite simple. The Problem Solver - Wednesday, July 20, 2011 - Verifying JavaScript with JSLint and Visual Studio
It supports the enabling and disabling of all the options listed on the JSLint documentation page with command-line parameters and includes reasonable defaults so that you shouldn’t need to set or unset too many. If you’re confused about why it’s saying such simple things like == and ++ are errors, read Douglas’ book or at least read the documentation for JSLint and the other essays on his web site. Douglas Crockford’s JavaScript: The Good Parts is a short, but informative read that all JavaScript developers should probably pick up. Jason Diamond - Saturday, August 9, 2008 %>
| | |