| || |
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.
94 Articles match "How To","Types"
| Related DevelopMentor Courses || 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
Using Reporters in Approval Tests
Today I pushed new versions of ApprovalTests for both C# and Java to SourceForge. He and I pair-programmed remotely (he lives in Finland) to extend ApprovalTests per his ‘asks’. If you are using ApprovalTests and have an idea for a feature, please ping me via twitter @LlewellynFalco and I’ll pair with you to code up your idea as well. assume that you have tried out Reporters if you are reading this blog, however, just to get us started, I’ll remind you that a Reporter is called when an ApprovalTest fails. Let me know how it works for you. Why Use Reporters? DevelopMentor Courses - Saturday, December 31, 2011
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
107 Articles match "How To","Types"
| The Latest from DevelopMentor || MORE |
| | Features inside a Solution isn't deactivated when the Solution is retracted
except for their names, which makes it very hard to write and speak about them): Features because they make it very easy (at least compared to WSS 2.0) to add functionality to a SharePoint site Solutions because they take care of much of the hassle about getting the features out on all the servers in the farm One of the great strengths of Features is the ability to have code executed when the Feature is activated and again when it''s deactivated. post on how to fix that. 'Body: Features and Solutions are two of the best features in WSS 3.0 The Black Knight Sings - Thursday, August 15, 2013
Look up instance of potentially recurring calendar event
last post I described how to redirect to a publishing page in order to use it as display form for a calendar. It caused the problem of having to look up the right instance of the calendar event (in case of recurrence) ourselves. poked around in the SDK to find a method which could look up an item from a list based on the RecurrenceID, but without any luck. Reflector to see how SPContext did this and found GetInstanceItem which did what I wanted, but tightly coupled to the SPContext''s current List and then it was also a private method. The Black Knight Sings - Thursday, August 15, 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 Filtering the data in an AngularJS ngRepeat element 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. 2: 3: $scope.people = [. The Problem Solver - Friday, May 10, 2013
| The Best from DevelopMentor || MORE |
- Custom WCF Credential Types
Every once in a while the question comes up how to extend WCF with custom credential types. It turns out that most of the time people don’t really want to invent custom tokens or credential types, but rather want to extend username/password style of credentials (e.g. Unfortunately the UserName token does not support this type of extensibility but there are several options to accomplish this: If your extensibility requirements are very simple you could try to encode all the information into the username and password fields of a UserName credential.
www.leastprivilege.com - Monday, March 9, 2009
- Screencast: Strongly-Typed Views in ASP.NET MVC
In this screencast I discuss the how to create strongly-typed razor views in ASP.NET MVC. We look at how Models can be used to pass data (both simple and complex) from controller action methods down to razor views. We also look at the concept of ViewModels which hold aggregate data to pass to views. Finally, we cover some of the tooling for generating views in Visual Studio. Download the code: Kennedy.Mvc.StronglyTypedViews.zip. Filed under: Video Tagged: NET , MVC , Screencasts , Video. Video.NET MVC Screencasts
Michael C. Kennedy's Weblog - Wednesday, October 31, 2012
- 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. Using a IWorkflowInstanceExtension Workflow extensions can be of any type you want, there is no base class or interface requirement. Note: This blog post is written using the.NET framework 4.0
The Problem Solver - Wednesday, January 27, 2010
- 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 Reporters in Approval Tests
Today I pushed new versions of ApprovalTests for both C# and Java to SourceForge. He and I pair-programmed remotely (he lives in Finland) to extend ApprovalTests per his ‘asks’. If you are using ApprovalTests and have an idea for a feature, please ping me via twitter @LlewellynFalco and I’ll pair with you to code up your idea as well. assume that you have tried out Reporters if you are reading this blog, however, just to get us started, I’ll remind you that a Reporter is called when an ApprovalTest fails. Let me know how it works for you. Why Use Reporters?
DevelopMentor Courses - Saturday, December 31, 2011
- 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