| |
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 "Sample"
See all articles with
"Sample"
| The Latest from Tony and Zuzana's World | MORE | | Building Scalable and Secure WCF Services The sample project contains the necessary binding configurations for both SOAP and REST style endpoints. The key to building scalable WCF services is to eliminate binding configurations that could result in server affinity. For this reason you should avoid bindings that establish a session with the service, such as NetTcpBinding or WsHttpBinding with secure conversation enabled. 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. allowCookies = " false ". Enjoy. DevelopMentor Courses - Monday, June 18, 2012 Decouple WCF Services from their DI Container with Common Instance Factory To see examples of using CIF with WCF extensions, download samples and source code from the CIF CodePlex site. In my last blog post I introduced the Common Instance Factory , which I built as an alternative to Common Service Locator to reduce coupling between an application and a Dependency Injection (DI) container. Unlike the Common Service Locator (CSL), the Common Instance Factory (CIF) discourages the service location anti-pattern by using the abstract factory design pattern. null ) { disposable.Dispose(); } } } } }. To get CIF, download the NuGet CIF packages. Enjoy. DevelopMentor Courses - Saturday, May 26, 2012 Use Common Instance Factory to Abstract Away the Dependency Injection Container Download the Common Instance Factory from NuGet , or get the source code and samples from the CodePlex site. Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. while back I wrote a blog post on the Onion Architecture , an approach to building loosely-coupled applications where you can swap out particular components without affecting the rest of the application. They key to making it all work is the use of Dependency Injection , also known as Inversion of Control, to delegate creation of types to an external container. Ah, but there’s a problem. DevelopMentor Courses - Wednesday, May 23, 2012 | | The Best from Tony and Zuzana's World | MORE | | Peeling Back the Onion Architecture 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. 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. The Web.Ui Tony and Zuzana's World - Saturday, October 8, 2011 Easier Async for Silverlight Apps using MVVM Check out the sample app by downloading the Simple MVVM Toolkit and opening the SimpleMvvm-Async project. It makes sense to execute long-running tasks on a background thread, in order to keep the UI responsive by not tying up the main thread. However, as is the case with other UI frameworks such as Windows Forms or WPF, you should not touch UI elements from worker threads. This has to do with how Windows apps process messages, which are always handled on the thread that created the visual element. Windows Forms has the Control.InvokeRequired / Control.BeginInvoke API. Tony and Zuzana's World - Saturday, January 29, 2011 Building Scalable and Secure WCF Services The sample project contains the necessary binding configurations for both SOAP and REST style endpoints. The key to building scalable WCF services is to eliminate binding configurations that could result in server affinity. For this reason you should avoid bindings that establish a session with the service, such as NetTcpBinding or WsHttpBinding with secure conversation enabled. 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. allowCookies = " false ". Enjoy. DevelopMentor Courses - Monday, June 18, 2012 | - Simple MVVM Toolkit versus MVVM Light Toolkit
Presently MVVM Light requires a manual installation , but the download for Simple MVVM is an installer which gives you the assembly binaries, external libraries, samples and source code. Simple MVVM Toolkit, on the other hand, has Documentation that includes the following topics: Introduction , Features , Prerequisites , Download Contents , Installation , Samples , and a Programming Reference. That is why I have focused a great deal of my energy on building two categories of sample applications that are installed with the Simple MVVM Toolkit. Platforms. Support. Usability. Tony and Zuzana's World - Saturday, April 23, 2011 - Use Common Instance Factory to Abstract Away the Dependency Injection Container
Download the Common Instance Factory from NuGet , or get the source code and samples from the CodePlex site. Download the Common Instance Factory with WCF Extensions here and is also available on NuGet. while back I wrote a blog post on the Onion Architecture , an approach to building loosely-coupled applications where you can swap out particular components without affecting the rest of the application. They key to making it all work is the use of Dependency Injection , also known as Inversion of Control, to delegate creation of types to an external container. Ah, but there’s a problem. DevelopMentor Courses - Wednesday, May 23, 2012 - Tackling the Problem of Modal Dialogs in MVVM
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 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. Popping up a dialog, such as a MessageBox or a ChildWindow, from the view-model is an anti-pattern that violates the separation of concerns that exists between the view and the view-model. Another benefit is testability. null && ErrorNotice != Tony and Zuzana's World - Friday, January 28, 2011 - Digging into WCF REST
The client will issue an HTTP GET request to the service to retrieve XML representing a list of sample items. Typing the sample URI into the address of your browser will result in the following output: In addition, the template illustrates support in WCF 4 for using the ASP.NET url routing engine, in lieu of an.svc file. Last Thursday evening I presented a talk to the Dallas.NET User Group on support in WCF 4 for building REST-ful services. Here is a summary of the talk: To REST or Not To REST? But what’s it good for? WCF 3.5 REST White Paper. WCF 4.0 Enjoy. Technical WCF Tony and Zuzana's World - Saturday, September 10, 2011 - More NLog Goodness
This will give you the documentation, Visual Studio item templates for sample configuration files, schemas for XML intellisense in config files, extended layout renderers, and the config-driven installer utility. This is a follow-up to my post on Using NLog with Dependency Injection. There I showed how you can abstract away a specific logging implementation from your application by implementing a common interface and using a DI container, such as Ninject or StructureMap, to resolve the concrete implementation at runtime. Download the code for this blog post. <!-- Enjoy. Tony and Zuzana's World - Monday, October 31, 2011 - Climb Onboard on the MVVM Message Bus
You can download the sample Mvvm Navigation app as part of my Simple Mvvm Toolkit. Also included is a Messaging sample app that demonstrates multicast and two-way messaging. In a previous post I blogged on various ways to tackle the problem of showing dialogs in an MVVM application. There I advocated using events as a communication mechanism. The ViewModel fires an event; the View can subscribe to the event and respond in a way that interacts with the user, which could be by displaying a dialog. But what about when you want one ViewModel to communicate with another ViewModel? Tony and Zuzana's World - Thursday, March 3, 2011 - Screencast: Real-World MVVM with WCF RIA Services
Entities are persisted to the Northwind sample database (using SQL Server 2008 Express) through an ADO.NET Entity Data Model. Great news! have just published an online tutorial and screencast for using the Simple MVVM Toolkit to build Real-World MVVM Apps with WCF RIA Services. Screencast Part 1 Streaming (watch now) or Download (offline for pc or mobile device) Screencast Part 2 Streaming (watch now) or Download (offline for pc or mobile device). You can also download the code for the tutorial and read the tutorial. Just press F5 to see a fully functional MVVM application. Enjoy Tony and Zuzana's World - Thursday, April 28, 2011 %>
216 Articles match "Sample"
See all articles with
"Sample"
| The Latest from DevelopMentor | MORE | | Optimistic concurrency in MongoDB using.NET and C# Here’s the download for the source, library with the concurrent data context, and the sample app: MongoDB.Kennedy.zip. 'This article demonstrates a technique and supporting library for adding optimistic concurrency control to NoSQL databases and MongoDB in particular. Quickly, what is optimistic concurrency control? Ideally, all databases that allow concurrent access or disconnected access need to implement some form of concurrency control. This usually comes in two flavors: Pessimistic concurrency control. Optimistic concurrency control. Edit in memory. Nice huh? Conclusion. Michael C. Kennedy's Weblog - Monday, April 8, 2013 Understanding Map - Reduce 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. 3: public Order(). The Problem Solver - Monday, December 3, 2012 Understanding Map - Reduce 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. 3: public Order(). The Problem Solver - Monday, December 3, 2012 | -
| The Best from DevelopMentor | MORE | - Access Control Service: Passive/Active Transition Sample
Here you can find my updated ACS2 sample. In addition to the existing front ends (web [WS-Federation], console [SOAP & REST], Silverlight [REST]) and error handling , it now also includes a WPF client that shows the passive/active transition with a SOAP service as illustrated here. All the ACS interaction is encapsulated in a WPF user control that: retrieves the JSON feed. displays a list of supported identity providers. triggers the sign in via a browser control. retrieves the token response. All you need to supply is the ACS namespace and the realm. Have fun! Azure IdentityModel www.leastprivilege.com - Thursday, June 23, 2011 - HTML5 Slides and Samples
The slides and samples from the HTML5 talk I did yesterday at the DevelopMentor office in London. HTML5 from Maurice Beijer Enjoy! Futures HTML5 Modernizr WebSockets WebWorkers Video IE The Problem Solver - Thursday, October 18, 2012 - Download My Web Apps Have HotKeys Too Sample App
and a sample application. I recently blogged about how web apps have hotkeys too. To encourage more developers to add hotkeys to their web applications, I created a jQuery plugin called jQuery.hotKeyMap.js just added a download link for the source code: WebAppsHaveHotKeysTooSample-MichaelKennedy-v1.zip. It’s an ASP.NET MVC 3 web app. Hope you find it useful! Cheers, @mkennedy. Filed under: jQuery Tagged: NET , ASP.NET , MVC , Open Source , Plugins , web. jQuery.NET ASP.NET MVC Open Source Plugins web Michael C. Kennedy's Weblog - Thursday, August 30, 2012 - Simple MVVM Toolkit Improvements: Documentation, Features, Sample Apps
I’ve released a new version of my Simple MVVM Toolkit for Silverlight that has improved documentation, a bunch of new features and additional sample applications. And many of those other toolkits are woefully lacking in the way of documentation and code samples. Sample applications with step-by-step instructions. have spent quite a bit of time fleshing out documentation for the toolkit, and the download includes several sample applications. Other sample apps demonstrate features such as enum lists, associated properties, and async support. Tony and Zuzana's World - Sunday, January 23, 2011 - Online Workflow 4 presentation
Attached are the PowerPoint sheets and samples from my online Window Workflow Foundation 4 presentation today. Let me know if you have any questions. WF4Demo.zip www.TheProblemSolver.nl Wiki.WindowsWorkflowFoundation.eu. The Problem Solver - Tuesday, December 1, 2009 %>
| | |