| |
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.
|
20 Articles match "Sample"
See all articles with
"Sample"
| The Latest from Michael C. Kennedy's Weblog | 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 Improve perceived performance of ASP.NET MVC websites with asynchronous partial views In the sample case, it’s kind of an iGoogle landing page with different items: TODO, news, etc. Check out the live demo I’ve posted here: Sample: Improve Perceived Performance with Async Partial Views. Imagine you’re building an ASP.NET MVC website which has some performance problems. m sure this would never actually happen to you, but imagine you’re facing this problem just for the sake of exploring the possibilities. :-). Now, you web app is mostly fast and responsive, but there are certain types of data that just bring the whole thing to a grind. First a disclaimer / warning. Michael C. Kennedy's Weblog - Tuesday, November 13, 2012 Understanding Text Encoding in ASP.NET MVC (ASP.NET MVC Foundations Series) In order to demonstrate these concepts, I created a working sample app here: [link]. You can download the code from the sample as well. This article covers the various ways in which you might handle text encoding in ASP.NET MVC. For example, if you were writing a forum web app, you should absolutely be paranoid about what your users are typing into your site. You need to be very careful about how you redisplay their input. For example, a friendly forum user might write something like: Nice post, thanks for sharing! On the other hand, they may write: <script src=”[link]. Michael C. Kennedy's Weblog - Monday, October 15, 2012 | | The Best from Michael C. Kennedy's Weblog | MORE | | MongoDB vs. SQL Server 2008 Performance Showdown You can also download the sample code. Download Sample: [link]. This article is a follow up one I wrote last week entitled “The NoSQL Movement, LINQ, and MongoDB - Oh My!”. In that article I introduced the NoSQL movement, MongoDB, and showed you how to program against it in.NET using LINQ and NoRM. highlighted two cornerstone reasons why you might ditch your SQL Server for the NoSQL world of MongoDB. Those were. Ease-of-use and deployment. Performance. For ease-of-use, you’ll have to want to read the original article. money) to burn. Think about it. Think about it.”. Fair enough. Michael C. Kennedy's Weblog - Thursday, April 29, 2010 Improve perceived performance of ASP.NET MVC websites with asynchronous partial views In the sample case, it’s kind of an iGoogle landing page with different items: TODO, news, etc. Check out the live demo I’ve posted here: Sample: Improve Perceived Performance with Async Partial Views. Imagine you’re building an ASP.NET MVC website which has some performance problems. m sure this would never actually happen to you, but imagine you’re facing this problem just for the sake of exploring the possibilities. :-). Now, you web app is mostly fast and responsive, but there are certain types of data that just bring the whole thing to a grind. First a disclaimer / warning. Michael C. Kennedy's Weblog - Tuesday, November 13, 2012 The NoSQL Movement, LINQ, and MongoDB - Oh My! You may also want to check out the source code for my demo app: Download Sample: RssMongoSample-Kennedy.zip. Maybe you’ve heard people talking about ditching their SQL Servers and other RDBMS entirely. There is a movement out in the software development world called the "No SQL" movement and it’s taking the web application world by storm. Insanity!” you may cry, “for where will people put their data if not in a database? Flat files? Tell me we aren’t we going back to flat files.”. No, but in the relational model, something does has to give. The converse is, of course, also true. Ok, ok. Michael C. Kennedy's Weblog - Thursday, April 22, 2010 | - Understanding Text Encoding in ASP.NET MVC (ASP.NET MVC Foundations Series)
In order to demonstrate these concepts, I created a working sample app here: [link]. You can download the code from the sample as well. This article covers the various ways in which you might handle text encoding in ASP.NET MVC. For example, if you were writing a forum web app, you should absolutely be paranoid about what your users are typing into your site. You need to be very careful about how you redisplay their input. For example, a friendly forum user might write something like: Nice post, thanks for sharing! On the other hand, they may write: <script src=”[link]. Michael C. Kennedy's Weblog - Monday, October 15, 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 - 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. You can look at the sample to see how that is done. Our samples made use of the sample storage API library called StorageClient. I recently wrote an article for DevelopMentor's Developments newsletter entitled Azure Storage. Read it at the DevelopMentor website here: [link]. Enjoy! Listing 3. Michael C. Kennedy's Weblog - Wednesday, April 8, 2009 - Article: Avoiding 5 Common Pitfalls in Unit Testing
To = to, From = from, Body = "Sample", Subject = "test" }; mail.SetFormat( Formats.Html ); mockMailServer.Send( mail ); } return from; }. Llewellyn Falco and I recently wrote an article for DevelopMentor's Developments newsletter entitled Avoiding 5 Common Pitfalls in Unit Testing. You can read it at the DevelopMentor website: [link]. I've republished here for my readers. Enjoy! Avoiding 5 Common Pitfalls in Unit Testing. by Llewellyn Falco and Michael Kennedy. When I started out with unit tests, I was enthralled with the promise of ease and security that they would bring to my projects. Michael C. Kennedy's Weblog - Thursday, August 6, 2009 - Significant Advances in Unit Testing Windows Workflow
Download the library with sample test project here: Kennedy.WorkflowTesting.zip (216 KB). don't have to write about that now, but you'll see it used in the sample with my library. The Sample: Let me set the stage first before we see the test code. This post describes a unit testing library for testing Windows Workflow Foundations. It is not a framework like HarnessIt , NUnit , or MsTest. Rather it's a library that can be used in conjunction with any of these testing frameworks. You can also just jump to the code. If you like this post, be sure to. Scott Allen. Thanks Matt! Michael C. Kennedy's Weblog - Sunday, January 18, 2009 - 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. [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. There has been some work done on unit testing Windows Workflows. TDD and Windows Workflow Foundation by Ron Jacobs. Scott Allen. Kennedy. Michael C. Kennedy's Weblog - Tuesday, September 30, 2008 - 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. %>
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 %>
| | |