| |
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.
|
4 Articles match "Sample","Source Code"
| Related DevelopMentor Courses | MORE | | Use Common Instance Factory to Abstract Away the Dependency Injection Container You have to select a DI container from one of numerous proprietary and open-source products on the market and then marry yourself to it. lot of DI-specific code is needed for unit tests, where there is extensive mocking, and advanced features of a DI container such as Ninject come in handy. When searching for a way to abstract away the DI container, the first solution I examined was the Common Service Locator , built by Microsoft’s Patterns and Practices group back in 2008 with the source code posted on CodePlex. Ah, but there’s a problem. Stay tuned for more!) DevelopMentor Courses - Wednesday, May 23, 2012 Simple MVVM Toolkit for Silverlight 5.0, Windows Phone 7.1 You still get all the source code, supporting libraries, and an abundance of samples. While I encourage most folks to run the installer to get the code snippets and Visual Studio templates, there are cases where all you want is the toolkit DLL and its supporting assemblies. I’ve just upgraded my Simple MVVM Toolki t to support Silverlight 5.0 and Windows Phone 7.1 ! You can download the latest version here and take it for a spin – or get it from the Visual Studio Extensions Gallery by opening Visual Studio and selecting Extensions Manager from the Tools menu. Enjoy DevelopMentor Courses - Friday, March 2, 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 |
44 Articles match "Sample","Source Code"
| The Latest from DevelopMentor | MORE | | Download My Web Apps Have HotKeys Too Sample App and a sample application. just added a download link for the source code: WebAppsHaveHotKeysTooSample-MichaelKennedy-v1.zip. Filed under: jQuery Tagged: NET , ASP.NET , MVC , Open Source , Plugins , web. jQuery.NET ASP.NET MVC Open Source Plugins webI 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 It’s an ASP.NET MVC 3 web app. Hope you find it useful! Cheers, @mkennedy. Michael C. Kennedy's Weblog - Thursday, August 30, 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 You have to select a DI container from one of numerous proprietary and open-source products on the market and then marry yourself to it. lot of DI-specific code is needed for unit tests, where there is extensive mocking, and advanced features of a DI container such as Ninject come in handy. When searching for a way to abstract away the DI container, the first solution I examined was the Common Service Locator , built by Microsoft’s Patterns and Practices group back in 2008 with the source code posted on CodePlex. Ah, but there’s a problem. Stay tuned for more!) DevelopMentor Courses - Wednesday, May 23, 2012 | -
| The Best from DevelopMentor | MORE | - Download My Web Apps Have HotKeys Too Sample App
and a sample application. just added a download link for the source code: WebAppsHaveHotKeysTooSample-MichaelKennedy-v1.zip. Filed under: jQuery Tagged: NET , ASP.NET , MVC , Open Source , Plugins , web. jQuery.NET ASP.NET MVC Open Source Plugins webI 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 It’s an ASP.NET MVC 3 web app. Hope you find it useful! Cheers, @mkennedy. Michael C. Kennedy's Weblog - Thursday, August 30, 2012 - MongoDB vs. SQL Server 2008 Performance Showdown
We’ll see source code, downloadable and executable examples and you can verify all of this for yourselves. Here are some graphs, some stats, and some code. You can also download the sample code. Then comment or uncomment sections of the code in the clients for your scenarios. Download Sample: [link]. All information, source code, and especially tools are provided as is and on a "use at your own risk" basis. Articles ASP.NET NoSQL Open Source web2.0Those were. Ease-of-use and deployment. Performance. money) to burn. Your Turn. Michael C. Kennedy's Weblog - Thursday, April 29, 2010 - The NoSQL Movement, LINQ, and MongoDB - Oh My!
This is only a few lines of code per collection (think of this as a table). Once in the database and once, in parallel, in code? How much faster than the finely tune system that is SQL Server 2008 can these open source NoSQL systems be?”. ll be posting a full performance comparison with source code soon. This is free, open-source database which runs on Windows, Linux, and Mac OS X systems. Let’s write some code. You may also want to check out the source code for my demo app: Download Sample: RssMongoSample-Kennedy.zip. Michael C. Kennedy's Weblog - Thursday, April 22, 2010 - Unit Testing Coming to a Workflow Near You
So in the near future I'll be putting together some libraries and samples on unit testing Windows Workflow. All information, source code, and especially tools are provided as is and on a "use at your own risk" basis. [Update: See the follow up post "Significant Advances in Unit Testing Windows Workflow" ]. If you've been working with Windows Workflow, you'll find it has some cool features for orchestration, long running operations, state machines, etc. However you won't find very much support for Test Driven Development (TDD) or unit testing in general. Scott Allen. Michael C. Kennedy's Weblog - Tuesday, September 30, 2008 - ASP.NET WebAPI Security 3: Extensible Authentication Framework
In the rest of the post I am outlining some of the bits and pieces, So you know what you are dealing with, in case you want to try the code. Handlers run after the conversion from host to Web API, which means that handler code deals with HttpRequestMessage and HttpResponseMessage. If not, return a 401 status code and set the Www-Authenticate header. Look at outgoing response, if the status code is 401, set the Www-Authenticate header. The next version of.NET will fix that, and the code should become simpler then). This is fine in many situations (e.g. and 2.0 www.leastprivilege.com - Tuesday, March 13, 2012 - WPF MVVM Helper Library (WPF + MVVM = testability)
When teaching WPF, I always introduce students to MVVM as part of the Essential WPF class, it's an incredibly useful pattern that really separates the UI from the code behind behavior. So, be aware that as you use this code, it owes a lot to a variety of people. provide it here with full source code so you can diagnose any issues you have, or just look through it. Just remember I put no guarentee on this code - consider it a sample for you to do whatever you like with. >>. that I tend to use a lot. So, what all is here? Well, quite a bit. file -. - Article: Azure Storage
Thus, a sample library serves as the de facto.NET API to Azure Storage and ships with the Azure SDK. Setting The Stage: The Sample Application. You can download the sample application and follow along if you want to see the full source code and try it out yourself. The listing below is essentially the code that runs when the uploader application uploads a pending image submission to blob storage. The code to add an entry to Azure Table Storage does not fit into a single method as it's driven through the interaction of several classes we must define. Michael C. Kennedy's Weblog - Wednesday, April 8, 2009 %>
| | |