Michael Kennedy
Michael Kennedy's Thoughts on Technology
Tools
Topics
Courses
Talk Python
Python Bytes
Open Source
AI Enablement
About
© 2006 - 2026 Michael Kennedy
Transition-Era
Convert LINQ to MongoDB queries to JavaScript shell
!githubicon If you do a lot of work with MongoDB from .NET, this code should look familiar: var query = from p in mongo.People where p.Age > 20 && p.Name.Length >= 2 orderby p.Age descending select p;...
Mar 5, 2014
Ever wonder how big the .NET and Python communities are?
Do you ever wonder how big .NET and Python communities are? I’m working on an article about Python and .NET and this comparison definately came to mind. So I did some research on meetup.com. I chose s...
Feb 21, 2014
Much of my blog’s sample apps are now on GitHub and Azure
Here is a quick announcement if you have been downloading or using any of the libraries and sample applications from my blog. The most popular ones are now all on GitHub. This means you’re welcome to ...
Feb 15, 2014
Python and .NET in Portland
If you live in Portland, OR and are interested in Python, you might want to drop by my user group talk at PADNUG February 20, 2014. I’ll be speaking on Python for .NET developers and it’s hosted by th...
Jan 29, 2014
Special Event: MongoDB in New York from DevelopMentor
I’m excited to announce that I will be teaching MongoDB for .NET developers from DevelopMentor in New York City at MongoDB Inc.’s headquarters on Times Square. The class is March 11, 2014 to March 13,...
Jan 14, 2014
Part 7: Lambda Expressions in Python for .NET Developers Series
This post is part 7 of my many-part series entitled Python for .NET Developers. View the entire series here. This video explores Python’s equivalent of C’s lambda expressions. Are you interested in Py...
Jan 10, 2014
Part 6: Anonymous Types in Python for .NET Developers Series
This post is part 6 of my many-part series entitled Python for .NET Developers. View the entire series here. This video explores Python’s equivalent of C#’s anonymous types including a custom class to ...
Jan 9, 2014
Part 5: Properties in Python for .NET Developers Series
This post is part 5 of my many-part series entitled Python for .NET Developers. View the entire series here. This video explores Python’s equivalent of C’s properties including read-only and computed ...
Jan 8, 2014
Part 4: foreach and IEnumerable in Python for .NET Developers Series
This post is part 4 of my many-part series entitled Python for .NET Developers. View the entire series here. This video explores Python’s equivalent of C’s foreach loops and IEnumerable interface. Are...
Jan 7, 2014
Part 3: A single, common base-type in Python for .NET Developers Series
This post is part 3 of my many-part series entitled Python for .NET Developers. View the entire series here. This video explores Python’s equivalent of C’s ‘everything derives from System.Object’ comm...
Jan 6, 2014
Part 1: Welcome and lightning-fast Python introduction in Python for .NET Developers Series
This post is part 1 of my many-part series entitled Python for .NET Developers. View the entire series here. This first video and blog post simply introduce the series and provide a very brief Python ...
Jan 3, 2014
Part 2: Visual Studio and IDEs in Python for .NET Developers Series
This post is part 2 of my many-part series entitled Python for .NET Developers. View the entire series here. This video explores choosing an IDE for Python development, especially one that will make ....
Jan 3, 2014
Series: Python for .NET Developers Introduction
Welcome to my series of blog posts covering Python for .NET developers. In this many-part series, I will introduce you to Python from a .NET developer’s perspective. As .NET developers, we generally a...
Jan 3, 2014
Watch Python for the C# and .NET developers
We just published my latest webcast. Feel free to watch it or download the demos and slides. Hope you enjoy it! Python for the C developer!bootstrap-webcast-starter Here is the summary : If you love C...
Dec 18, 2013
Watch Building beautiful websites with Bootstrap
We just published my latest webcast. Feel free to watch it or download the demos and slides. Hope you enjoy it! Building beautiful websites with Bootstrap: A case study!bootstrap-webcast-starter 0.000...
Nov 14, 2013
MongoDB for .NET developers
I’m very proud to announce DevelopMentor’s soon-to-be released MongoDB for .NET course which I am authoring along with Pierre Nallet. Please subscribe to be notified » NoSQL and MongoDB for .NET devel...
Oct 23, 2013
Reblogged: New webcasts from DevelopMentor: MongoDB, iOS, and Bootstrap
Reblogged from DevelopMentor. We are excited to announce three upcoming webcasts at DevelopMentor in November: ! !webcast-mark-smith-iOS-and-dotnet-Xamarin !webcast-michael-kennedy-bootstrap-beautiful...
Oct 21, 2013
Come to my SDD Conference sessions in May, 2014
!sdd14speakwide500 I’m super excited to announce that I’ll be speaking at the brand new SDD conference in London next May. I’ll be doing two sessions on ASP.NET MVC and two on MongoDB as well as a full d...
Oct 7, 2013
New online course: Source Control with TFS Version Control
> If you’re interested in TFS, we just released a great new online TFS course from DevelopMentor over at LearningLine. Here are the details. !Michael Kennedy's avatarLearningLine blog - online develop...
Sep 17, 2013
Reblogged: What should I learn to get started in .NET and web development?
Note : I am reblogging this post which originally was posted to the LearningLine blog. Hope you all find it useful here as well I recently had a conversation with someone who is looking to make a fres...
May 6, 2013
Why Choose NoSQL and Document Databases over RDBMS
Do you want to know the biggest single reason you should choose document databases over SQL Server, Oracle, or MySQL? Hint: It’s not performance or scalability. Here is a short screencast which shows ...
May 3, 2013
Installing MongoDB on Windows and OS X
Ready to get started with NoSQL and MongoDB? Here are two 7-minute walkthroughs for installing MongoDB as a Windows service / OS X daemon. These are both excerpts from my upcoming online MongoDB cours...
May 2, 2013
A Roundup of MongoDB Management Tools
I’ve been working with MongoDB for a long time now. Back in the early days, there really were no management tools analogous to RDBMS tools e.g. SQL Server Management Studio. Since then, things have ch...
Apr 22, 2013
Optimistic concurrency in MongoDB using .NET and C#
!githubicon Available via NuGet – MongoDB.Kennedy.Concurrency Available via GitHub – optimisticconcurrencymongodbdotnet This article demonstrates a technique and supporting library for adding optimist...
Apr 8, 2013
Take the first hour of any online developer course for free at LearningLine
Note: reblogged from blog.learninglineapp.com. I’d like to personally invite you to check out our work over at LearningLine – just follow the links below. We believe that LearningLine is the most effe...
Apr 1, 2013
Slides and demos from DevWeek 2013
Update: I added the downloads for the demo code on March 12th. I had a great time discussing these topics with everyone at DevWeek 2013. Thanks to all who attended my sessions. Here are the slides: Ge...
Mar 8, 2013
Announcing LearningLine: Instructor-led online training from DevelopMentor
I am very proud to announce an exciting new online learning platform from DevelopMentor: ! < At DevelopMentor we have been thinking deeply about online training. We wanted to create an environment tha...
Feb 18, 2013
3 Open-Source Validation Projects for ASP.NET MVC
! "Join the instructor-supported online learning revolution." The goal of this post is to show you validation options beyond those that come in-the-box from Microsoft and the ASP.NET team. Currently, ...
Jan 15, 2013
Screencast – Validating ASP.NET MVC Forms with DataAnnotations
Here’s a new screencast for you MVC guys and gals out there. Validating ASP.NET MVC Forms with DataAnnotations In this short screencast, I will show you how to leverage ASP.NET MVC’s excellent model b...
Jan 11, 2013
Tips for optional parameters to ASP.NET MVC action methods
! "Join the instructor-supported online learning revolution." Here’s a quick ASP.NET MVC tip to help you be more productive and write cleaner code. We will see how to leverage C# 4’s optional and defau...
Dec 21, 2012
Use NuGet package restore to simplify code sharing
Here’s a quick post on how and why you want to consider using NuGet package restore. First, if you’re unfamiliar with NuGet, it’s basically “add reference” to external software projects typically open...
Dec 17, 2012
Attend my sessions at DevWeek 2013 in London
Want to see some of the topics covered in my blog presented live and in-person? Make your way to London in March 2013 to DevWeek! I’ll be presenting 4 sessions covering NoSQL, ASP.NET MVC, and Cloud A...
Dec 4, 2012
Introduction to ASP.NET MVC Routes
Here’s another screencast, this time on MVC and routing. In this short screencast, I’ll show you everything you need to know to get started with ASP.NET MVC routing. You’ll see how default routes in M...
Dec 3, 2012
Create new ASP.NET MVC views the easy way
! "Join the instructor-supported online learning revolution." As an instructor at DevelopMentor, I have the unique opportunity to watch many developers experience ASP.NET MVC for the first time. This ...
Dec 1, 2012
Nested Layouts in ASP.NET MVC
In this screencast, I’ll show you how easy it is to create ASP.NET MVC layout pages based on existing layout pages. This lets you achieve a nested layout which you can compose to build beautiful webs...
Nov 30, 2012
Improve perceived performance of ASP.NET MVC websites with asynchronous partial views
! "Join the instructor-supported online learning revolution." !githubicon Note: The code for this project is available on GitHub. Imagine you’re building an ASP.NET MVC website which has some performa...
Nov 13, 2012
Screencast: Refactoring with Partial Views in MVC
! "Join the instructor-supported online learning revolution." In this screencast, I show you how to create maintainable and readable ASP.NET MVC razor views by refactoring them into smaller, reusable ...
Nov 1, 2012
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 ...
Oct 31, 2012
Screencast: ViewBag and View Data in ASP.NET MVC
In this screencast I discuss the ViewBag and ViewData properties in ASP.NET MVC. We look at how they can be used to pass data both simple and complex from controller action methods down to razor views...
Oct 30, 2012
Understanding Text Encoding in ASP.NET MVC (ASP.NET MVC Foundations Series)
! "Join the instructor-supported online learning revolution." The code for this post is available on GitHub This article covers the various ways in which you might handle text encoding in ASP.NET MVC....
Oct 15, 2012
Understanding the MVC Project Folder Structure (ASP.NET MVC Foundations Series)
Here’s a short screencast I did on understanding the ASP.NET MVC folder structure. As you will see, MVC uses the philosophy of convention over configuration. There are many benefits to this. You simpl...
Oct 12, 2012
Preventing JavaScript Files from Loading Multiple Times
This post is about ensuring that you do not execute a particular JavaScript file more than one time. Let’s start by asking: > What happens if you link to a js file twice in your page? Here is a contri...
Oct 11, 2012
Join Me at Guerrilla .NET in November
Just a quick announcement for a developer upcoming event I’ll be participating in… Early November I’ll be co-teaching DevelopMentor’s biggest .NET developer event of the year in Los Angeles: Guerrill...
Sep 25, 2012
Download My Web Apps Have HotKeys Too Sample App
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 and a sample applica...
Aug 30, 2012
Asynchronous Programming in .NET 4.5 (Video)
Here’s a recording of a webcast I did for DevelopMentor covering .NET 4.5 and .NET 4 asynchronous programming concepts, including Task <T>, async , and await. Enjoy! @mkennedy PS – Be sure to watch it ...
Jul 23, 2012
How Are You Scaling ASP.NET?
There are some interesting debates out there around scaling ASP.NET. How do you do it? Please fill out this poll and tell the world: Take Our Poll Interested in a blog post on this? Take it to the com...
May 1, 2012
Michael’s .NET Suggested Reading List
With Guerrilla .NET from DevelopMentor coming up on May 7th, it’s time to refresh my .NET reading list. Want to get ready for this class or a class like it or just get a quick-start on .NET? Here’s wh...
Apr 27, 2012
Downloads from Building Rich Input Forms in ASP.NET MVC Webcast
Thanks to all who attended my webcast yesterday. Here is the recorded video, slides, and demo application. Slides : Kennedy-Rich-Forms-with-ASP.NET-MVC-Slides.zip Demo Application : Kennedy-MVC-Forms-...
Apr 11, 2012
Webcast: Building Rich Input Forms in ASP.NET MVC Tuesday April 10
Update: View the recordings and downloads. Want to learn more about building great forms in MVC? Attend my free DevelopMentor webcast this Tuesday. > Webcast: Building Rich Input Forms in ASP.NET MVC ...
Apr 6, 2012
No, You Don’t Need A Windows App
This project is available on GitHub. Do you think you need a Window’s app for your next project? Here’s a thought: No you don’t. Let me give you one less reason choose the rocky-road of desktop apps t...
Apr 4, 2012
Make External Links Open in a New Window With This jQuery Plugin
Here’s a common problem. You want to make all of your links on your site that would lead visitors away to open in separate tabs. For example, if I wanted to tell you about this cool article by Troy Go...
Mar 19, 2012
Add Hot Keys to Web Apps With jQuery.hotKeyMap.js
Hot keys or accelerator keys have been an important navigational tool for desktop applications for many years. Finally, web applications are adopting this functionality too. Check out this...
Mar 15, 2012
Speaking on NoSQL and MVC at the South Sound .NET User Group (Near Seattle, WA)
Update: Thanks to everyone who came. You can download the sample application we build here and slides below: Kennedy-Demo-Amazoon-Sound-Sound-Usergroup.zip BUILDING WEB APPS WITH ASP.NET MVC AND NOSQL...
Mar 13, 2012
iPad 4G Doesn’t Mean What You Think It Means
We’re all psyched about the new iPad 3 even though it’s not called iPad 3. It’s filled with killer features: HD Video, Retina Display, and every conceivable type of wireless connectivity including 4G....
Mar 12, 2012
9 Ways Your Brand New ASP.NET MVC Project Can Be Better
So you’re ready to start that new and ambitious ASP.NET MVC project. Maybe you’re kicking off a new startup or just finally moving that old-and-crusty webforms project into modern development world. E...
Mar 7, 2012
Managing Cumbersome Shared Views Folder for Large Projects in MVC
While ASP.NET MVC promotes clean separation-of-concerns for your web applications, there are some short comings. A problem you’ll run into on large ASP.NET MVC projects is the Views section of your we...
Mar 6, 2012
Now I’m an INETA Speaker!
! I’ve recently signed up as an INETA speaker. If you would like me to speak at your user group or event, check out my INETA Speaker Profile or simply contact me directly. I typically speak on NoSQL, ...
Mar 5, 2012
Introducing MongoDB and LINQ at Mongo Seattle 2011
Here’s a video of a short talk I gave at Mongo Seattle 2011 which is a quick getting started with .NET & MongoDB session. ! Enjoy! @mkennedy PS – Yeah, it’s from last year. I forgot to publish it on m...
Mar 1, 2012
Screencast: Building ASP.NET MVC Forms with Razor
note : This screencast has been adapted from my earlier blog post. In this ASP.NET MVC Foundations screencast, we’re going to look at building an ASP.NET MVC page which allows users to create and edit...
Jan 23, 2012
Building ASP.NET MVC Forms with Razor (ASP.NET MVC Foundations Series)
Update : Want to watch this as a screencastrather than article? In this ASP.NET MVC Foundations article, we’re going to look at building an ASP.NET MVC page which allows users to create and edit objec...
Jan 20, 2012
Building a Cloud OS for .NET Developers – Part 2
In Part 1 of my Building a Cloud OS for .NET Developers series, I talked about setting up a pure cloud OS focused on developers. But the one crucial aspect I left out was the developer tools. In this ...
Jun 13, 2011
Building a Cloud OS for .NET Developers – Part 1
Let’s talk about cloud operating systems. This article explores the options and potential of moving entirely “To The Cloud” for developers who normally demand significant offline power from their appl...
May 25, 2011
Getting Things Done with Backpack and 37Signals
Note: You can download this post as a PDF. Here’s an article about Getting Things Done and how I use Backpack from 37Signals to make it happen. I’ve recently taken on some roles where I have a lot mor...
Jan 30, 2011
11 Killer Open Source Projects I Found with NuGet
So maybe I’m late to the party, but I recently started playing with NuGet. It’s a killer new way to find, install, maintain, and manage references to open source libraries in Visual Studio 2010. Plent...
Jan 19, 2011