| |
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.
|
28 Articles match "How To"
See all articles with
"How To"
| The Latest from Tony and Zuzana's World | MORE | | Building Scalable and Secure WCF Services The key to building scalable WCF services is to eliminate binding configurations that could result in server affinity. Both BasicHttpBinding and WebHttpBinding, however, are sessionless and allow you to call a service multiple times without concern for which physical server responds to the call. Here is a snapshot of 5 calls to a service with HTTP Keep-Alive enabled over SSL. This is fine and dandy when clients are talking to the same back-end server and the SSL handshake only takes place when the connection is established. allowCookies = " false ". DevelopMentor Courses - Monday, June 18, 2012 Roll Your Own REST-ful WCF Router Recently I’ve been tasked with building a WCF routing service and faced the choice of whether to go with the built-in router that ships with WCF 4.0 , or to build one from scratch. Nevertheless, there are times when it might make sense to build a router that can talk to clients who don’t know anything about Soap, for example, an AJAX web application. While the ASP.NET MVC or the new ASP.NET Web API might seems like attractive options, WCF is the way to go if you need to accommodate both Soap-based and Rest-ful clients. FirstOrDefault(); if (region != DevelopMentor Courses - Tuesday, April 24, 2012 SSD + SATA = Best of Both Worlds When I first got the laptop, I purchased a lightening-fast 240 GB SSD hard drive to replace the 500 GB drive, and I put the original drive in a case to use it for Time Machine backups. used Disk Inventory X to try and figure out where all the space went and was able to free up some of it, but I also run a Windows 7 virtual machine using Parallels Desktop , which takes up about 70 GB, and the rest of the space was taken up by stuff I wanted to keep or was difficult to extricate. had a total 740 GB of storage internal to my laptop. DevelopMentor Courses - Monday, April 2, 2012 | | The Best from Tony and Zuzana's World | MORE | | Peeling Back the Onion Architecture MVC (which stands for Model-View-Controller) lends itself to an Agile development methodology where TDD and BDD (Test-Driven and Behavior-Driven Development) are important components. This is a concept known as separation of concerns ( SoC ), which, in addition to testability, provides other benefits, such as greater application longevity and maintainability. The life of an application is extended because loose coupling makes it easer to upgrade or replace components without affecting other parts of the system. To< ProductRepository >().WithConstructorArgument( Tony and Zuzana's World - Saturday, October 8, 2011 Building Scalable and Secure WCF Services The key to building scalable WCF services is to eliminate binding configurations that could result in server affinity. Both BasicHttpBinding and WebHttpBinding, however, are sessionless and allow you to call a service multiple times without concern for which physical server responds to the call. Here is a snapshot of 5 calls to a service with HTTP Keep-Alive enabled over SSL. This is fine and dandy when clients are talking to the same back-end server and the SSL handshake only takes place when the connection is established. allowCookies = " false ". DevelopMentor Courses - Monday, June 18, 2012 Global Error Handling in ASP.NET MVC 3 with Ninject In my last blog post I explained how to decouple infrastructure concerns, such as logging, from the rest of your application using a Dependency Injection container, such as Ninject. In this post I will show you how to implement centralized error handling in an ASP.NET MVC 3 application, so that you can handle exceptions in one place, where you can perform logging as well as display a custom error page. One of the worst things you can do to handle errors is place a try / catch block in every action of every controller. Download the code for this blog post. Tony and Zuzana's World - Friday, October 21, 2011 | - Commands versus Event Triggers in MVVM
Recently I’ve received some questions from the Simple MVVM Toolkit’s discussion forum on when to use commands versus Blend-style event triggers. For several reasons I tend to favor event triggers over commands in most scenarios, especially for Silverlight applications. ICommand exposes a CanExecuteChanged event which when fired causes a binding to check the CanExecute property. You can easily achieve the same result as CanExecute simply by binding the IsEnabled property of a control to a boolean property on the ViewModel. Enjoy, Tony. Technical MVVM Silverlight Tony and Zuzana's World - Friday, July 22, 2011 - Simple MVVM Toolkit versus MVVM Light Toolkit
Now that I’ve released Simple MVVM Toolkit version 2 , people are starting to ask how it stacks up against some of the other MVVM Toolkits out there. When it comes to deciding which toolkit best suites your needs, there is a spectrum of choices. At the other end there are toolkits that are very lightweight, with the basic features you need to build apps using the MVVM design pattern. It is designed with the idea that a design based on simplicity reduces the time spent learning a framework and makes your apps easier to develop and maintain. Platforms. Support. Tony and Zuzana's World - Saturday, April 23, 2011 - WCF Data Services versus WCF Soap Services
Someone recently asked me this question: When a company that has been using 2 tiers wants to move to n-tier, what are the considerations for choosing WCF and STEs [or Trackable DTOs] vs. WCF Data Services? This is a great question because it relates to a recent re-alignment of what used to be called “ADO.NET Data Services” (code-named Astoria) under the umbrella of Windows Communication Foundation (WCF), as well as the renaming of.NET RIA Services to WCF RIA Services. The resulting XML is used to populate client-side entities, which are change-tracked. Tony and Zuzana's World - Tuesday, April 13, 2010 - Roll Your Own REST-ful WCF Router
Recently I’ve been tasked with building a WCF routing service and faced the choice of whether to go with the built-in router that ships with WCF 4.0 , or to build one from scratch. Nevertheless, there are times when it might make sense to build a router that can talk to clients who don’t know anything about Soap, for example, an AJAX web application. While the ASP.NET MVC or the new ASP.NET Web API might seems like attractive options, WCF is the way to go if you need to accommodate both Soap-based and Rest-ful clients. FirstOrDefault(); if (region != DevelopMentor Courses - Tuesday, April 24, 2012 - Tackling the Problem of Modal Dialogs in MVVM
One of the first issues you’ll run into when wading into the waters of MVVM is how to display model dialogs to the user while executing code in the view-model. If you separate concerns of presentation (the view) from business logic (the view-model) and data (the model), making a change in one area is less likely to impact other areas. It is notoriously difficult to test the user interface by simulating things like button clicks and mouse overs. Designers can wire up actions to elements straight from the XAML. This feels to loosely couples to me. Tony and Zuzana's World - Friday, January 28, 2011 - Screencast: Real-World MVVM with WCF RIA Services
have just published an online tutorial and screencast for using the Simple MVVM Toolkit to build Real-World MVVM Apps with WCF RIA Services. This tutorial and screencast will help you quickly get up to speed on using the Simple MVVM Toolkit together with WCF RIA Services to build a real-world MVVM Silverlight application. Entities are persisted to the Northwind sample database (using SQL Server 2008 Express) through an ADO.NET Entity Data Model. The tutorial also demonstrates how to build unit tests against a ViewModel and run them asynchronously. Tony and Zuzana's World - Thursday, April 28, 2011 - Using Open Source? Get NuGet.
My friend and fellow DevelopMentor instructor , Michael Kennedy , just turned me on to the NuGet Package Manager , a very cool way to install and use open source software right from within Visual Studio. NuGet will add the required references, and also references to all dependent assemblies (including other open source projects), as well as additional content, such as templates, code snippets and transforms to app.config or web.config. NuGet uses the xcopy model or deployment, as opposed to the msi installer model. As well as content files. xml version="1.0" Tony and Zuzana's World - Monday, February 7, 2011 %>
355 Articles match "How To"
See all articles with
"How To"
| The Latest from DevelopMentor | MORE | | Unit testing code depending on the ASP.NET #WebApi HttpClient 'In a previous post I showed how to unit test an ASP.NET WebAPI Controller. In this case the client application contains the following class to load books from the REST WebAPI controller: 1: public class BooksClient. This class uses the HttpClient to request the data from the service and extracts the books from the body before returning them. If we want to test this class we need to pass in an HttpClient object. This HttpMessageHandler is used as the pipeline to send requests and we can completely replace this with our own implementation. 14: {. The Problem Solver - Monday, May 20, 2013 Using repeating elements in #AngularJS 'Index: Getting started with AngularJS Creating an AngularJS Controller The AngularJS $scope is not the MVC Model Using repeating elements in #AngularJS In the previous posts I showed how to get started with AngularJS and use some of the basic AngularJS directives to data bind. In these examples I uses a really simple single element to bind to. However in lots of business cases you really need to display a list of repeating elements. Fortunately this is really easy to do. Take a look at the simple list of people below. 2: 3: $scope.people = [. The Problem Solver - Friday, May 10, 2013 A Roundup of MongoDB Management Tools Back in the early days, there really were no management tools analogous to RDBMS tools (e.g. It’s time to look around and see what management / monitoring tooling is around these days for MongoDB. There are many different options to choose depending on your platform and use-cases. Key features : Complete (albeit command-line only) access to MongoDB. So you should take the time to learn it properly. Especially since you’ll need to know most of the features to take advantage of Robomongo above anyway. SQL Server Management Studio ). Michael C. Kennedy's Weblog - Monday, April 22, 2013 | -
| The Best from DevelopMentor | MORE | - How to improve a team's velocity?
By way of wrapping up my velocity mini-series ( Two ways to fill and iteration , Filling an iteration too well , and Velocity Targeting and Velocity Inflation ) I’m going to end with some advice on how to improve a team’s velocity. Over time these add up to big improvements. To use economic logic: this is about improving the supply-side. The supply-side argument (largely monetarist) suggests the way to solve unemployment is not to increase demand (Keynes style) but to loosen and liberalise the labour market. But back to software. Allan Kelly's Blog - Thursday, July 1, 2010 - How to rip audio books
So i listen to a lot of audio books, and here's how i create the mp3 of them. Overview we are going to create bite size files about 30 minutes each. link] 4) set your encoding bitrate to 64k & stereo, this is a very high quality audio book. To do this double click a track. then label them, and create the id tags. finally we'll attach a picture. Make sure the book is UNABRIDGED 1) get a ipod - i prefer the nano. link] Ripping 2) download audiograbber & install. link] 3) download lame encoder & install. select the Sectors>Last. And there you go Llewellyn Falco - Sunday, July 6, 2008 - How to build a Development/Test/Demo CA
So I ended up running Windows Cerificate Services which proved to be an easy to use, robust solution. just had to rebuild my Test CA (on Hyper-V) so I thought I'll document the important steps (for self-reference and whoever might be interested). They usually expire on the very day where you have to do an important demo. Now by default there is an entry pointing to the CA's Netbios name. better solution is to create a revocation list once, and store that at a publicly available location. Next you have to publish a CRL. Set it to e.g. five years. www.leastprivilege.com - Thursday, August 14, 2008 - How to get started with Knockout.js
Once you get into doing more client side JavaScript code with business applications and REST services you are going to run into the question of how to construct the client side HTML required to show the data to the users. Using jQuery Assuming most people are going to be using jQuery on the client you might start with some jQuery code to generate HTML. And in all likelihood the actual HTML that needs to be generated will be quite a bit more complex. The next step people tend to take is using templates. click( function () {. $.getJSON( The Problem Solver - Monday, February 6, 2012 - How to data bind to collections using Knockout.js
I showed to to get started with the awesome Knockout.js In this post I am going to show how easy it is to load a collection of items from a REST service and data bind to the complete collection. To data bind to collections of data Knockout supports the foreach data binding. In the example below I am using an html to display a list of books. The has the data binding attribute so its contents are going to be repeated for each item in the collection being used, books in this case. and controlling updates using Knockout.js Title. The Problem Solver - Wednesday, February 15, 2012 %>
| | |