<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>DotNetDevDude</title>
    <link>http://dotnetdevdude.com/Blog/</link>
    <description>Random thoughts, insights, and questions in the world of a .Net dude</description>
    <language>en-us</language>
    <copyright>Keith Burnell</copyright>
    <lastBuildDate>Mon, 29 Apr 2013 21:24:00 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>keith@dotnetdevdude.com</managingEditor>
    <webMaster>keith@dotnetdevdude.com</webMaster>
    <item>
      <trackback:ping>http://dotnetdevdude.com/Blog/Trackback.aspx?guid=21b393d9-6882-482f-b520-ec4889659c84</trackback:ping>
      <pingback:server>http://dotnetdevdude.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://dotnetdevdude.com/Blog/PermaLink,guid,21b393d9-6882-482f-b520-ec4889659c84.aspx</pingback:target>
      <dc:creator>DotNetDevDude</dc:creator>
      <wfw:comment>http://dotnetdevdude.com/Blog/CommentView,guid,21b393d9-6882-482f-b520-ec4889659c84.aspx</wfw:comment>
      <wfw:commentRss>http://dotnetdevdude.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=21b393d9-6882-482f-b520-ec4889659c84</wfw:commentRss>
      <slash:comments>3</slash:comments>
      <title>dotnetConf</title>
      <guid isPermaLink="false">http://dotnetdevdude.com/Blog/PermaLink,guid,21b393d9-6882-482f-b520-ec4889659c84.aspx</guid>
      <link>http://DotNetDevDude.com/Blog/2013/04/29/dotnetConf.aspx</link>
      <pubDate>Mon, 29 Apr 2013 21:24:00 GMT</pubDate>
      <description>&lt;p&gt;
Last week was the first &lt;a href="http://live.dotnetconf.net/2013-04" target="_blank"&gt;dotnetconf&lt;/a&gt;,
a virtual conference put on by &lt;a href="http://lozanotek.com/blog/" target="_blank"&gt;Javier
Lozano&lt;/a&gt; and &lt;a href="http://www.hanselman.com/" target="_blank"&gt;Scott Hanselman&lt;/a&gt;.&amp;nbsp;
The event was live streamed via Google Hangout and included a bunch of really cool
content.&amp;nbsp; I was given the honor of presenting on test driven development in .NET
during the two day conference.&amp;nbsp; If you weren’t able to catch my session live
or did make the live event and are looking for the slides and demos the links are
below.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Session Recording: &lt;a href="http://www.youtube.com/watch?v=_m41mTIPLIE"&gt;http://www.youtube.com/watch?v=_m41mTIPLIE&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
Slides and Demos: &lt;a href="https://github.com/kburnell/TestDriving.NET"&gt;https://github.com/kburnell/TestDriving.NET&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://dotnetdevdude.com/Blog/aggbug.ashx?id=21b393d9-6882-482f-b520-ec4889659c84" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.newtelligence.com"&gt;newtelligence AG&lt;/a&gt;. &lt;a href="http://www.jetbrains.com/ruby/features?utm_source=RubyMineUser&amp;utm_medium=Banner&amp;utm_campaign=RubyMine" style="position: relative;display:block; width:120px; height:30px; border:0; margin:0;padding:0;text-decoration:none;text-indent:0;"&gt;&lt;span style="margin: 0;padding: 0;position: absolute;top: -2px;left: 33px;font-size: 9px;cursor:pointer;  background-image:none;border:0;color: #efcedc; font-family: trebuchet ms,arial,sans-serif;font-weight: normal;text-align:left;"&gt;Happy
fan of&lt;/span&gt;&lt;img src="http://www.jetbrains.com/ruby/features/ruby_banners/ruby1/ruby120x30_rubin.gif" alt="Happy fan of" border="0" /&gt;&lt;/a&gt;</description>
      <comments>http://dotnetdevdude.com/Blog/CommentView,guid,21b393d9-6882-482f-b520-ec4889659c84.aspx</comments>
      <category>Speaking</category>
      <category>TDD</category>
    </item>
    <item>
      <trackback:ping>http://dotnetdevdude.com/Blog/Trackback.aspx?guid=5ca1cb70-eb8a-460a-b6f7-63863e3532f4</trackback:ping>
      <pingback:server>http://dotnetdevdude.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://dotnetdevdude.com/Blog/PermaLink,guid,5ca1cb70-eb8a-460a-b6f7-63863e3532f4.aspx</pingback:target>
      <dc:creator>DotNetDevDude</dc:creator>
      <wfw:comment>http://dotnetdevdude.com/Blog/CommentView,guid,5ca1cb70-eb8a-460a-b6f7-63863e3532f4.aspx</wfw:comment>
      <wfw:commentRss>http://dotnetdevdude.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=5ca1cb70-eb8a-460a-b6f7-63863e3532f4</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>Setting up LESS File Watcher in WebStorm 6</title>
      <guid isPermaLink="false">http://dotnetdevdude.com/Blog/PermaLink,guid,5ca1cb70-eb8a-460a-b6f7-63863e3532f4.aspx</guid>
      <link>http://DotNetDevDude.com/Blog/2013/03/28/SettingUpLESSFileWatcherInWebStorm6.aspx</link>
      <pubDate>Thu, 28 Mar 2013 13:16:09 GMT</pubDate>
      <description>&lt;p&gt;
This morning I decided to try out &lt;a href="http://www.jetbrains.com/webstorm/" target="_blank"&gt;JetBrain’s
WebStorm&lt;/a&gt;.&amp;nbsp; I am a huge fan of &lt;a href="http://www.jetbrains.com/resharper/" target="_blank"&gt;ReSharper&lt;/a&gt; and &lt;a href="http://www.jetbrains.com/ruby/" target="_blank"&gt;RubyMine&lt;/a&gt; and
have been hearing some good things about WebStorm so I thought I would give it a try.&amp;nbsp;
It’s very early on in that process so I haven’t formed my opinion completely yet but
I have a sour taste in my mouth after spending over an hour setting up automatic compilation
of LESS in the tool.&amp;nbsp; I was unable to find any documentation on the JetBrain’s
site or otherwise on how to do it, so in the hopes of saving at least one person the
headache I thought it would be wise to blog it.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Step 1: Find a LESS Compiler&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
You need to have a less compiler that you can tell the File Watcher to run and compiles
the LESS to CSS.&amp;nbsp; Fortunately I have been using LESS for awhile and have had
need for the standalone compiler so I knew where to find one - &lt;a title="https://github.com/duncansmart/less.js-windows" href="https://github.com/duncansmart/less.js-windows"&gt;https://github.com/duncansmart/less.js-windows&lt;/a&gt;.&amp;nbsp;
You can either clone the repo or download and extract the zip.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Step 2: Setup the File Watcher in WebStorm &lt;a href="http://dotnetdevdude.com/Blog/content/binary/WindowsLiveWriter/SettingupLESSFileWatcherinWebStorm6_6EF5/image_6.png"&gt;&lt;img title="image" style="border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; margin: 0px 0px 0px 50px; display: inline; border-top-width: 0px" border="0" alt="image" align="right" src="http://dotnetdevdude.com/Blog/content/binary/WindowsLiveWriter/SettingupLESSFileWatcherinWebStorm6_6EF5/image_thumb_2.png" width="363" height="371"&gt;&lt;/a&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
File –&amp;gt; Settings or Ctrl + Alt + S&amp;nbsp; 
&lt;li&gt;
Click on File Watchers 
&lt;li&gt;
If you have a LESS watcher listed double click it otherwise click the green “+” in
the upper right and select “LESS” 
&lt;li&gt;
In the New Watcher window 
&lt;ol style="list-style-type: lower-alpha"&gt;
&lt;li&gt;
Check “Track only root files” 
&lt;li&gt;
In the “Program” field click the ellipsis(“…”) and select the LESS compiler you downloaded
in Step 1.&amp;nbsp; If you used less.js-windows select “lessc.cmd”. 
&lt;li&gt;
In the “Arguments” filed enter $FileName$ $FileNameWithoutExtension$.css 
&lt;li&gt;
Uncheck “Create output file from stdout” 
&lt;li&gt;
Click “OK”…twice&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Step 3: Watch it Work&lt;/strong&gt;
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Add a new file…give it the “.less” extension. 
&lt;li&gt;
Add a style to the new file and you’ll see the corresponding .css file created under
the .less file.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Hopefully this helps you out and if I missed something and this process could have
been easier let me know.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dotnetdevdude.com/Blog/aggbug.ashx?id=5ca1cb70-eb8a-460a-b6f7-63863e3532f4" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.newtelligence.com"&gt;newtelligence AG&lt;/a&gt;. &lt;a href="http://www.jetbrains.com/ruby/features?utm_source=RubyMineUser&amp;utm_medium=Banner&amp;utm_campaign=RubyMine" style="position: relative;display:block; width:120px; height:30px; border:0; margin:0;padding:0;text-decoration:none;text-indent:0;"&gt;&lt;span style="margin: 0;padding: 0;position: absolute;top: -2px;left: 33px;font-size: 9px;cursor:pointer;  background-image:none;border:0;color: #efcedc; font-family: trebuchet ms,arial,sans-serif;font-weight: normal;text-align:left;"&gt;Happy
fan of&lt;/span&gt;&lt;img src="http://www.jetbrains.com/ruby/features/ruby_banners/ruby1/ruby120x30_rubin.gif" alt="Happy fan of" border="0" /&gt;&lt;/a&gt;</description>
      <comments>http://dotnetdevdude.com/Blog/CommentView,guid,5ca1cb70-eb8a-460a-b6f7-63863e3532f4.aspx</comments>
      <category>Headaches</category>
      <category>HTML5</category>
      <category>LESS</category>
      <category>WebStorm</category>
    </item>
    <item>
      <trackback:ping>http://dotnetdevdude.com/Blog/Trackback.aspx?guid=4e1993d6-d779-414a-83cf-018ea57feede</trackback:ping>
      <pingback:server>http://dotnetdevdude.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://dotnetdevdude.com/Blog/PermaLink,guid,4e1993d6-d779-414a-83cf-018ea57feede.aspx</pingback:target>
      <dc:creator>DotNetDevDude</dc:creator>
      <wfw:comment>http://dotnetdevdude.com/Blog/CommentView,guid,4e1993d6-d779-414a-83cf-018ea57feede.aspx</wfw:comment>
      <wfw:commentRss>http://dotnetdevdude.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=4e1993d6-d779-414a-83cf-018ea57feede</wfw:commentRss>
      <title>Asynchronous Operations Come To Entity Framework 6</title>
      <guid isPermaLink="false">http://dotnetdevdude.com/Blog/PermaLink,guid,4e1993d6-d779-414a-83cf-018ea57feede.aspx</guid>
      <link>http://DotNetDevDude.com/Blog/2012/12/19/AsynchronousOperationsComeToEntityFramework6.aspx</link>
      <pubDate>Wed, 19 Dec 2012 17:08:48 GMT</pubDate>
      <description>&lt;p&gt;
At BUILD, during &lt;a href="http://channel9.msdn.com/Events/Build/2012/3-031" target="_blank"&gt;this&lt;/a&gt; session
by Entity Framework Program Manager Rowan Miller, Entity Framework 6 beta was announced
and made publicly available. You can get the Entity Framework 6 beta bits via NuGet.
Currently they are only available via the Package Manager Console, more info can be
found on the &lt;a href="http://nuget.org/packages/entityframework" target="_blank"&gt;EF
NuGet page&lt;/a&gt;. 
&lt;/p&gt;
&lt;p&gt;
Entity Framework 6 is the first new version of EF since the announcement earlier this
year that the product would be Open Sourced. This means that not only is the source
available but the builds of EF6 beta are available as soon as the code is checked
in. Entity Framework is hosted on &lt;a href="http://entityframework.codeplex.com/" target="_blank"&gt;CodePlex&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
The EF 6 &lt;a href="http://entityframework.codeplex.com/wikipage?title=Roadmap" target="_blank"&gt;roadmap&lt;/a&gt; defines
in detail what is currently in the works and what is still on the board as far as
features and improvements for EF 6. In this post I want to focus on one new addition
to Entity Framework that I find very compelling.
&lt;/p&gt;
&lt;p&gt;
One of the great features introduced in .NET 4.5 was the task-based asynchronous functionality
using the &lt;font color="#000000" face="Consolas"&gt;async&lt;/font&gt;&lt;em&gt; &lt;/em&gt;and &lt;font face="Consolas"&gt;await&lt;/font&gt;&lt;em&gt; &lt;/em&gt;keywords.
Now with EF 6 comes support for asynchronous querying and saving using the same &lt;font color="#000000" face="Consolas"&gt;async&lt;/font&gt;&lt;em&gt; &lt;/em&gt;and &lt;font face="Consolas"&gt;await &lt;/font&gt;coding
convention. Let’s first look at asynchronous querying.
&lt;/p&gt;
&lt;p&gt;
The following asynchronous extension methods have been implemented for querying your
data context and as you’d expect they are the asynchronous versions of their synchronous
namesakes:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
AllAsync 
&lt;li&gt;
AnyAsync 
&lt;li&gt;
AverageAsync 
&lt;li&gt;
ContainsAsync 
&lt;li&gt;
CountAsync 
&lt;li&gt;
FindAsync 
&lt;li&gt;
FirstAsync 
&lt;li&gt;
FirstOrDefaultAsync 
&lt;li&gt;
LoadAsync 
&lt;li&gt;
LongCountAsync 
&lt;li&gt;
MaxAsync 
&lt;li&gt;
MinAsync 
&lt;li&gt;
SingleAsync 
&lt;li&gt;
SingleOrDefaultAsync 
&lt;li&gt;
SumAsync 
&lt;li&gt;
ToArrayAsync 
&lt;li&gt;
ToDictionaryAsync 
&lt;li&gt;
ToListAsync&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
In the code snippet below you can see an example of using the ForEachAsync method
to asynchronously loop through all the manufacturers in my data context and print
them to the console.
&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;div id="codeSnippet" style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; line-height: 12pt; padding-right: 0px; width: 100%; background-color: #f4f4f4"&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: white"&gt;&lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;static&lt;/span&gt; async
Task PrintAllManufacturers() {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: #f4f4f4"&gt;    &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; (DataContext
context = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; DataContext()) {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: white"&gt;        await context.Manufacturers.ForEachAsync(m =&gt; Console.WriteLine(&lt;span style="color: #006080"&gt;"{0}
: {1}"&lt;/span&gt;, m.Name, m.Country));&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: #f4f4f4"&gt;    }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: white"&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
Another piece of Entity Framework functionality that the asynchronous goodness has
been added too is saving. Below is an example of adding a manufacturer and asynchronously
saving the changes.
&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;div id="codeSnippet" style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; line-height: 12pt; padding-right: 0px; width: 100%; background-color: #f4f4f4"&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: white"&gt;&lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;static&lt;/span&gt; async
Task AddManufacturer(&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; name, &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; country)
{&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: #f4f4f4"&gt;    &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; (DataContext
context = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; DataContext()) {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: white"&gt;        context.Manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Name = name, Country = country});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: #f4f4f4"&gt;        await context.SaveChangesAsync();&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: white"&gt;    }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-top-style: none; overflow: visible; font-size: 8pt; border-left-style: none; font-family: 'Courier New', courier, monospace; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; width: 100%; background-color: #f4f4f4"&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
Using the asynchronous pattern is a great way to provide a more responsive user experience
and now loading data asynchronously with Entity Framework has become much easier.
&lt;/p&gt;
&lt;!--CRLF--&gt;&lt;img width="0" height="0" src="http://dotnetdevdude.com/Blog/aggbug.ashx?id=4e1993d6-d779-414a-83cf-018ea57feede" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.newtelligence.com"&gt;newtelligence AG&lt;/a&gt;. &lt;a href="http://www.jetbrains.com/ruby/features?utm_source=RubyMineUser&amp;utm_medium=Banner&amp;utm_campaign=RubyMine" style="position: relative;display:block; width:120px; height:30px; border:0; margin:0;padding:0;text-decoration:none;text-indent:0;"&gt;&lt;span style="margin: 0;padding: 0;position: absolute;top: -2px;left: 33px;font-size: 9px;cursor:pointer;  background-image:none;border:0;color: #efcedc; font-family: trebuchet ms,arial,sans-serif;font-weight: normal;text-align:left;"&gt;Happy
fan of&lt;/span&gt;&lt;img src="http://www.jetbrains.com/ruby/features/ruby_banners/ruby1/ruby120x30_rubin.gif" alt="Happy fan of" border="0" /&gt;&lt;/a&gt;</description>
      <comments>http://dotnetdevdude.com/Blog/CommentView,guid,4e1993d6-d779-414a-83cf-018ea57feede.aspx</comments>
      <category>Code</category>
      <category>Code First</category>
      <category>EF</category>
      <category>Entity Framework</category>
    </item>
    <item>
      <trackback:ping>http://dotnetdevdude.com/Blog/Trackback.aspx?guid=8cc37aba-4f2e-40d7-ab69-57f206798f7f</trackback:ping>
      <pingback:server>http://dotnetdevdude.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://dotnetdevdude.com/Blog/PermaLink,guid,8cc37aba-4f2e-40d7-ab69-57f206798f7f.aspx</pingback:target>
      <dc:creator>DotNetDevDude</dc:creator>
      <wfw:comment>http://dotnetdevdude.com/Blog/CommentView,guid,8cc37aba-4f2e-40d7-ab69-57f206798f7f.aspx</wfw:comment>
      <wfw:commentRss>http://dotnetdevdude.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8cc37aba-4f2e-40d7-ab69-57f206798f7f</wfw:commentRss>
      <title>devLINK 2012</title>
      <guid isPermaLink="false">http://dotnetdevdude.com/Blog/PermaLink,guid,8cc37aba-4f2e-40d7-ab69-57f206798f7f.aspx</guid>
      <link>http://DotNetDevDude.com/Blog/2012/09/01/devLINK2012.aspx</link>
      <pubDate>Sat, 01 Sep 2012 23:45:00 GMT</pubDate>
      <description>&lt;p&gt;
This week I had the pleasure of speaking at &lt;a href="http://devlink.net/" target="_blank"&gt;devLINK&lt;/a&gt;.&amp;nbsp;
I did 5 sessions over the 3 day conference and had a blast networking with the other
speakers and attendees.&amp;nbsp; Kudos to the devLINK staff on a job well done.
&lt;/p&gt;
&lt;p&gt;
Here are the 5 sessions I did at devLINK 2012 and links to the associated slides and
demos.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/kburnell/MobileMasses" target="_blank"&gt;Reach The Mobile
Masses with ASP.NET MVC 4 and jQuery Mobile&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/kburnell/GoingNativeWithKendoUIMobile" target="_blank"&gt;Going
Native with Kendo UI Mobile&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/kburnell/HTML5-NotJustForHipsters" target="_blank"&gt;HTML5
– It’s Not Just for Hipsters&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/kburnell/TestDriving.NET" target="_blank"&gt;Test Driving
.NET - What you need to know to do it the right way&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/kburnell/TestDrivingASP.NETMVC" target="_blank"&gt;Test Driving
ASP.NET MVC&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://dotnetdevdude.com/Blog/aggbug.ashx?id=8cc37aba-4f2e-40d7-ab69-57f206798f7f" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.newtelligence.com"&gt;newtelligence AG&lt;/a&gt;. &lt;a href="http://www.jetbrains.com/ruby/features?utm_source=RubyMineUser&amp;utm_medium=Banner&amp;utm_campaign=RubyMine" style="position: relative;display:block; width:120px; height:30px; border:0; margin:0;padding:0;text-decoration:none;text-indent:0;"&gt;&lt;span style="margin: 0;padding: 0;position: absolute;top: -2px;left: 33px;font-size: 9px;cursor:pointer;  background-image:none;border:0;color: #efcedc; font-family: trebuchet ms,arial,sans-serif;font-weight: normal;text-align:left;"&gt;Happy
fan of&lt;/span&gt;&lt;img src="http://www.jetbrains.com/ruby/features/ruby_banners/ruby1/ruby120x30_rubin.gif" alt="Happy fan of" border="0" /&gt;&lt;/a&gt;</description>
      <comments>http://dotnetdevdude.com/Blog/CommentView,guid,8cc37aba-4f2e-40d7-ab69-57f206798f7f.aspx</comments>
      <category>KendoUI</category>
      <category>Mobile</category>
      <category>MVC</category>
      <category>Presentations</category>
      <category>Speaking</category>
      <category>TDD</category>
    </item>
    <item>
      <trackback:ping>http://dotnetdevdude.com/Blog/Trackback.aspx?guid=eac479ae-e94e-4885-89e5-49b4cc97e922</trackback:ping>
      <pingback:server>http://dotnetdevdude.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://dotnetdevdude.com/Blog/PermaLink,guid,eac479ae-e94e-4885-89e5-49b4cc97e922.aspx</pingback:target>
      <dc:creator>DotNetDevDude</dc:creator>
      <wfw:comment>http://dotnetdevdude.com/Blog/CommentView,guid,eac479ae-e94e-4885-89e5-49b4cc97e922.aspx</wfw:comment>
      <wfw:commentRss>http://dotnetdevdude.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=eac479ae-e94e-4885-89e5-49b4cc97e922</wfw:commentRss>
      <slash:comments>5</slash:comments>
      <title>2012 Midwest Give Camp - Katharine’s Wish</title>
      <guid isPermaLink="false">http://dotnetdevdude.com/Blog/PermaLink,guid,eac479ae-e94e-4885-89e5-49b4cc97e922.aspx</guid>
      <link>http://DotNetDevDude.com/Blog/2012/08/23/2012MidwestGiveCampKatharinesWish.aspx</link>
      <pubDate>Thu, 23 Aug 2012 21:22:00 GMT</pubDate>
      <description>&lt;p&gt;
As most of you know I am very active in the development community and one piece of
that is my involvement with the &lt;a href="http://midwestgivecamp.org" target="_blank"&gt;Midwest
Give Camp organization&lt;/a&gt;. The Midwest Give Camp organization is a small group of
dedicated community leaders that plan and carry out yearly Give Camps in the Midwest.
This year I had the honor of organizing/leading the Midwest Give Camp. The event was
held the weekend leading in to &lt;a href="http://thatconference.com" target="_blank"&gt;That
Conference&lt;/a&gt; at the same venue. I wanted to share details on the charity that we
worked with and what the Give Campers were able to provide for them. 
&lt;p&gt;
For the 2012 installment of the Midwest Give Camp we worked with the charity Katharine’s
Wish. Katharine’s Wish was founded by Katharine Rhoten of Eau Claire, WI. Katharine’s
father Doug is also an active member of the developer community who runs the Chippewa
Valley .NET User Group. Doug also happens to be a personal friend of mind. 
&lt;p&gt;
While on the family’s first trip to Disney World in 2008 Katharine became seriously
ill and was rushed to the hospital. The Rhoten family spent 3 long days in the hospital
watching Katharine undergo numerous tests, most involving painful prods and pokes.
Through all of those procedures Doug and his wife Kristin where amazed at the positive
attitude Katharine was able to keep. This was due, in large part, to a small gesture
of the hospital staff. Prior to any painful procedure, the hospital staff gave Katharine
a small stuffed animal. This always put a smile on Katharine’s face and let her know
that it may hurt for a bit but in the end everything was going to be alright. To get
an idea of the number of procedures Katharine was subjected to during her stay at
the hospital…Doug had to ship 2 boxes of stuffed animals back to WI J 
&lt;p&gt;
The experience provided two major life-changing events for Katharine. The first was
that she was diagnosed with Type I Diabetes and the second that she vowed to “pay
it forward” by doing everything she could do to make sure that children in the hospital
have the same positive experience she had. Upon returning home Katharine got to work
on making this happen by using her allowance, birthday money, and funds from a lucrative
lemonade stand to purchase stuffed animals to donate to local hospitals that she donates
each year, on the anniversary of her diagnosis, to local hospitals. 
&lt;p&gt;
Katharine’s Wish has grown to now include multiple drop off locations where the community
can drop off stuffed animals and books to be donated. In the five years since her
diagnosis, Katharine, with the help of her younger brother Spencer, has donated thousands
of stuffed animals and books to the hospitals in her community. 
&lt;p&gt;
It was an honor to be able to use my skills, along with the skills of 12 other talented
geeks, to provide Katharine with a platform to grow her cause. The result of our work
is the official Katharine’s Wish web site. The site was coded in MVC 4/HTML5/Kendo
UI on the front end and EF Code First/SQL on the back end.
&lt;/p&gt;
&lt;p&gt;
I ask that you please check out &lt;a href="http://www.KatharinesWish.org"&gt;http://www.KatharinesWish.org&lt;/a&gt; to
learn more about this awesome girl and please consider donating to her cause.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dotnetdevdude.com/Blog/aggbug.ashx?id=eac479ae-e94e-4885-89e5-49b4cc97e922" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.newtelligence.com"&gt;newtelligence AG&lt;/a&gt;. &lt;a href="http://www.jetbrains.com/ruby/features?utm_source=RubyMineUser&amp;utm_medium=Banner&amp;utm_campaign=RubyMine" style="position: relative;display:block; width:120px; height:30px; border:0; margin:0;padding:0;text-decoration:none;text-indent:0;"&gt;&lt;span style="margin: 0;padding: 0;position: absolute;top: -2px;left: 33px;font-size: 9px;cursor:pointer;  background-image:none;border:0;color: #efcedc; font-family: trebuchet ms,arial,sans-serif;font-weight: normal;text-align:left;"&gt;Happy
fan of&lt;/span&gt;&lt;img src="http://www.jetbrains.com/ruby/features/ruby_banners/ruby1/ruby120x30_rubin.gif" alt="Happy fan of" border="0" /&gt;&lt;/a&gt;</description>
      <comments>http://dotnetdevdude.com/Blog/CommentView,guid,eac479ae-e94e-4885-89e5-49b4cc97e922.aspx</comments>
      <category>Community</category>
      <category>Give Camp</category>
      <category>That Conference</category>
    </item>
    <item>
      <trackback:ping>http://dotnetdevdude.com/Blog/Trackback.aspx?guid=a0af4b5e-3cc2-4025-8109-949b6ca0e009</trackback:ping>
      <pingback:server>http://dotnetdevdude.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://dotnetdevdude.com/Blog/PermaLink,guid,a0af4b5e-3cc2-4025-8109-949b6ca0e009.aspx</pingback:target>
      <dc:creator>DotNetDevDude</dc:creator>
      <wfw:comment>http://dotnetdevdude.com/Blog/CommentView,guid,a0af4b5e-3cc2-4025-8109-949b6ca0e009.aspx</wfw:comment>
      <wfw:commentRss>http://dotnetdevdude.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=a0af4b5e-3cc2-4025-8109-949b6ca0e009</wfw:commentRss>
      <slash:comments>3</slash:comments>
      <title>aspConf Sessions Available on Channel 9</title>
      <guid isPermaLink="false">http://dotnetdevdude.com/Blog/PermaLink,guid,a0af4b5e-3cc2-4025-8109-949b6ca0e009.aspx</guid>
      <link>http://DotNetDevDude.com/Blog/2012/08/01/aspConfSessionsAvailableOnChannel9.aspx</link>
      <pubDate>Wed, 01 Aug 2012 11:28:16 GMT</pubDate>
      <description>&lt;p&gt;
Last month I had the awesome opportunity to be part of the &lt;a href="http://www.aspconf.net/" target="_blank"&gt;aspConf&lt;/a&gt; virtual
conference.&amp;nbsp; aspConf evolved from the very popular &lt;a href="http://www.mvcconf.com/" target="_blank"&gt;mvcConf&lt;/a&gt;,
but instead of being focused solely on ASP.NET MVC aspConf is focused on the entire
ASP.NET stack of goodness.&amp;nbsp; The great thing about aspConf is that it is a virtual
conference allowing for a much broader audience. 
&lt;/p&gt;
&lt;p&gt;
I presented two sessions at aspConf:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;a href="http://live.aspconf.net/sessions#7" target="_blank"&gt;Test Driving ASP.NET
MVC&lt;/a&gt; - &lt;a href="https://github.com/kburnell/TestDrivingASP.NETMVC" target="_blank"&gt;(slides
and code)&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://live.aspconf.net/sessions#9" target="_blank"&gt;Kendo UI - Lighten Your
Load by Adding a Sword&lt;/a&gt; – &lt;a href="https://github.com/kburnell/LightenYourLoadByAddingASword" target="_blank"&gt;(slides
and code)&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
The aspConf staff also put in the immense effort of editing every session and making
them available on &lt;a href="http://channel9.msdn.com/" target="_blank"&gt;Channel 9&lt;/a&gt; for
everyone to watch.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://channel9.msdn.com/Events/aspConf/aspConf" target="_blank"&gt;All Sessions&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://channel9.msdn.com/Events/aspConf/aspConf/Test-Driving-ASP-NET-MVC" target="_blank"&gt;Test
Driving ASP.NET MVC&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://channel9.msdn.com/Events/aspConf/aspConf/Kendo-UI-Lighten-Your-Load-by-Adding-a-Sword" target="_blank"&gt;Kendo
UI – Lighten Your Load by Adding a Sword&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
If you missed aspConf this year, well you can always watch it on Channel 9, but also
make sure you follow them on &lt;a href="http://twitter.com/aspconf" target="_blank"&gt;Twitter&lt;/a&gt; and
keep on eye on the &lt;a href="http://www.aspconf.net/" target="_blank"&gt;aspConf&lt;/a&gt; site
so you don’t miss next year’s event!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dotnetdevdude.com/Blog/aggbug.ashx?id=a0af4b5e-3cc2-4025-8109-949b6ca0e009" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.newtelligence.com"&gt;newtelligence AG&lt;/a&gt;. &lt;a href="http://www.jetbrains.com/ruby/features?utm_source=RubyMineUser&amp;utm_medium=Banner&amp;utm_campaign=RubyMine" style="position: relative;display:block; width:120px; height:30px; border:0; margin:0;padding:0;text-decoration:none;text-indent:0;"&gt;&lt;span style="margin: 0;padding: 0;position: absolute;top: -2px;left: 33px;font-size: 9px;cursor:pointer;  background-image:none;border:0;color: #efcedc; font-family: trebuchet ms,arial,sans-serif;font-weight: normal;text-align:left;"&gt;Happy
fan of&lt;/span&gt;&lt;img src="http://www.jetbrains.com/ruby/features/ruby_banners/ruby1/ruby120x30_rubin.gif" alt="Happy fan of" border="0" /&gt;&lt;/a&gt;</description>
      <comments>http://dotnetdevdude.com/Blog/CommentView,guid,a0af4b5e-3cc2-4025-8109-949b6ca0e009.aspx</comments>
      <category>aspConf</category>
      <category>Kendo UI</category>
      <category>Speaking</category>
      <category>TDD</category>
    </item>
    <item>
      <trackback:ping>http://dotnetdevdude.com/Blog/Trackback.aspx?guid=60a1cb1f-65f1-47dd-8a47-c74b640d6050</trackback:ping>
      <pingback:server>http://dotnetdevdude.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://dotnetdevdude.com/Blog/PermaLink,guid,60a1cb1f-65f1-47dd-8a47-c74b640d6050.aspx</pingback:target>
      <dc:creator>DotNetDevDude</dc:creator>
      <wfw:comment>http://dotnetdevdude.com/Blog/CommentView,guid,60a1cb1f-65f1-47dd-8a47-c74b640d6050.aspx</wfw:comment>
      <wfw:commentRss>http://dotnetdevdude.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=60a1cb1f-65f1-47dd-8a47-c74b640d6050</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <title>Kendo UI for ASP.NET MVC: Part 3: Creating a Bundle for the Kendo UI Scripts and Content</title>
      <guid isPermaLink="false">http://dotnetdevdude.com/Blog/PermaLink,guid,60a1cb1f-65f1-47dd-8a47-c74b640d6050.aspx</guid>
      <link>http://DotNetDevDude.com/Blog/2012/06/29/KendoUIForASPNETMVCPart3CreatingABundleForTheKendoUIScriptsAndContent.aspx</link>
      <pubDate>Fri, 29 Jun 2012 20:38:27 GMT</pubDate>
      <description>&lt;p&gt;
A great new feature in ASP.NET MVC is the ability to bundle scripts and CSS files
and register them as a group.&amp;nbsp; More detail on this functionality can be found &lt;a href="http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification" target="_blank"&gt;here&lt;/a&gt;.&amp;nbsp;
Because by default all the scripts and CSS classes in a new MVC 4 project are registered
using bundles I felt a little dirty in my previous posts referencing my Kendo UI scripts
and CSS files each individually.&amp;nbsp; I rectified that.
&lt;/p&gt;
&lt;p&gt;
So I started the rectification process by adding entries to the &lt;strong&gt;&lt;em&gt;BundleConfig.cs&lt;/em&gt;&lt;/strong&gt;.&amp;nbsp;
In this file is where you create and configure your bundles.&amp;nbsp; Out of the box
there are a number of bundles configured so all I needed to was follow the same conventions
when creating my bundles.&amp;nbsp; 
&lt;/p&gt;
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; overflow-x: auto; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;bundles.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ScriptBundle(&lt;span style="color: #006080"&gt;"~/bundles/kendojs"&lt;/span&gt;).Include(&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #006080"&gt;"~/Scripts/jquery.min.js"&lt;/span&gt;,&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #006080"&gt;"~/Scripts/kendo.all.min.js"&lt;/span&gt;));&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;bundles.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; StyleBundle(&lt;span style="color: #006080"&gt;"~/Content/kendocss"&lt;/span&gt;).Include(&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #006080"&gt;"~/Content/kendo.common.min.css"&lt;/span&gt;,&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #006080"&gt;"~/Content/kendo.default.min.css"&lt;/span&gt;));&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
Obviously I took the least amount of scripts I needed to get my contrived sample created,
but you can add whatever scripts you need.
&lt;/p&gt;
&lt;p&gt;
After creating the bundles I need to register or “Render” them as the method is called.&amp;nbsp;
Have to admit I am not a fan of “Render” as the method name.&amp;nbsp; In the past “Render”
has always had a visual connotation.&amp;nbsp; The registering of the bundles for this
example is taking place in the &lt;strong&gt;_layout.cs&lt;/strong&gt;, but you could do the same
thing directly in your ASP.NET MVC View.
&lt;/p&gt;
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; overflow-x: auto; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;@Styles.Render([...other CSS bundles], &lt;span style="color: #006080"&gt;"~/Content/kendocss"&lt;/span&gt;)&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;@Scripts.Render([...other Script bundles],&lt;span style="color: #006080"&gt;"~/bundles/kendojs"&lt;/span&gt;)&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
And that’s it.&amp;nbsp; Now I have my Kendo UI scripts and CSS files registered/referenced/rendered
using the new bundling features of ASP.NET MVC
&lt;/p&gt;
&lt;p&gt;
Code is available on &lt;a href="https://github.com/kburnell/GetStartedWithKendoUI" target="_blank"&gt;GitHub&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dotnetdevdude.com/Blog/aggbug.ashx?id=60a1cb1f-65f1-47dd-8a47-c74b640d6050" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.newtelligence.com"&gt;newtelligence AG&lt;/a&gt;. &lt;a href="http://www.jetbrains.com/ruby/features?utm_source=RubyMineUser&amp;utm_medium=Banner&amp;utm_campaign=RubyMine" style="position: relative;display:block; width:120px; height:30px; border:0; margin:0;padding:0;text-decoration:none;text-indent:0;"&gt;&lt;span style="margin: 0;padding: 0;position: absolute;top: -2px;left: 33px;font-size: 9px;cursor:pointer;  background-image:none;border:0;color: #efcedc; font-family: trebuchet ms,arial,sans-serif;font-weight: normal;text-align:left;"&gt;Happy
fan of&lt;/span&gt;&lt;img src="http://www.jetbrains.com/ruby/features/ruby_banners/ruby1/ruby120x30_rubin.gif" alt="Happy fan of" border="0" /&gt;&lt;/a&gt;</description>
      <comments>http://dotnetdevdude.com/Blog/CommentView,guid,60a1cb1f-65f1-47dd-8a47-c74b640d6050.aspx</comments>
      <category>Code</category>
      <category>Kendo UI</category>
      <category>MVC</category>
    </item>
    <item>
      <trackback:ping>http://dotnetdevdude.com/Blog/Trackback.aspx?guid=3ee0fdb2-3f92-46e6-8ddd-140647d367d8</trackback:ping>
      <pingback:server>http://dotnetdevdude.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://dotnetdevdude.com/Blog/PermaLink,guid,3ee0fdb2-3f92-46e6-8ddd-140647d367d8.aspx</pingback:target>
      <dc:creator>DotNetDevDude</dc:creator>
      <wfw:comment>http://dotnetdevdude.com/Blog/CommentView,guid,3ee0fdb2-3f92-46e6-8ddd-140647d367d8.aspx</wfw:comment>
      <wfw:commentRss>http://dotnetdevdude.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=3ee0fdb2-3f92-46e6-8ddd-140647d367d8</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <title>Kendo UI for ASP.NET MVC: Part 2–AutoComplete</title>
      <guid isPermaLink="false">http://dotnetdevdude.com/Blog/PermaLink,guid,3ee0fdb2-3f92-46e6-8ddd-140647d367d8.aspx</guid>
      <link>http://DotNetDevDude.com/Blog/2012/06/25/KendoUIForASPNETMVCPart2AutoComplete.aspx</link>
      <pubDate>Mon, 25 Jun 2012 12:37:36 GMT</pubDate>
      <description>&lt;p&gt;
&lt;em&gt;Note: If you are following along at home you may have noticed that the number
of the series posts has changed.&amp;nbsp; I have taken some *poetic license* and decided
that the previous post introducing Kendo UI for ASP.NET MVC was actually part part
3 of the original series on Kendo UI &lt;strong&gt;in&lt;/strong&gt; ASP.NET MVC as well as part
1 of a new series on Kendo UI &lt;strong&gt;for&lt;/strong&gt; ASP.NET MVC.&amp;nbsp; Clear as mud,
right?&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
To stay in line, and catch up, with the pre-Kendo UI for ASP.NET MVC series this post
is going to show you how to implement the Kendo UI AutoComplete control using the
HtmlHelper extension.&amp;nbsp; In case you didn’t catch the &lt;a href="http://dotnetdevdude.com/Blog/2012/05/21/KendoUIInASPNETMVCPart2AutoComplete.aspx" target="_blank"&gt;original
post&lt;/a&gt; on implementing the AutoComplete using Kendo UI (core/non-mvc) in ASP.NET
MVC, the Kendo UI AutoComplete control is a text box that has an associated list of
items that when text is entered into it a suggestion list is displayed allowing the
user to select an item.
&lt;/p&gt;
&lt;p&gt;
To get started follow steps 1 - 6 in the &lt;a href="http://dotnetdevdude.com/Blog/2012/06/19/KendoUIInASPNETMVCPart3IntroducingKendoUIForASPNETMVC.aspx" target="_blank"&gt;previous
post&lt;/a&gt; to prep a new solution.
&lt;/p&gt;
&lt;p&gt;
Next I created a server side model: &lt;strong&gt;Manufacturer.cs&lt;/strong&gt;
&lt;/p&gt;
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; overflow-x: auto; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;namespace&lt;/span&gt; Part2_AutoComplete.Web.Models&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;{&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;class&lt;/span&gt; Manufacturer&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;int&lt;/span&gt; Id
{ get; set; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; Name
{ get; set; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
As you can see the view the model is a very simple class that contains only an Id
and a Name field. 
&lt;p&gt;
After that I created my view: &lt;strong&gt;Index.cshtml&lt;/strong&gt;
&lt;/p&gt;
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; overflow-x: auto; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;@&lt;span style="color: #0000ff"&gt;using&lt;/span&gt; Kendo.Mvc.UI&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;@model IEnumerable&amp;lt;Part2_AutoComplete.Web.Models.Manufacturer&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;@{&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    ViewBag.Title = &lt;span style="color: #006080"&gt;"Kendo
UI for ASP.NET MVC: Part 2 - AutoComplete"&lt;/span&gt;;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;h2&amp;gt;@ViewBag.Title&amp;lt;/h2&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;@(Html.Kendo().AutoComplete()&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    .Name(&lt;span style="color: #006080"&gt;"manufacturerAutoComplete"&lt;/span&gt;)&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    .DataTextField(&lt;span style="color: #006080"&gt;"Name"&lt;/span&gt;)&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    .BindTo(Model)&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    .Suggest(&lt;span style="color: #0000ff"&gt;true&lt;/span&gt;)&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    .Filter(FilterType.StartsWith)&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    .Placeholder(&lt;span style="color: #006080"&gt;"Manufacturer..."&lt;/span&gt;)&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    .DataSource(source =&amp;gt; {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            source.Read(read =&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;               {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;                        read.Action(&lt;span style="color: #006080"&gt;"GetManufacturers"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"Home"&lt;/span&gt;);&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;               }).ServerFiltering(&lt;span style="color: #0000ff"&gt;true&lt;/span&gt;);&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    })&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;)&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
Lastly we can code our controller: &lt;strong&gt;HomeController.cs&lt;/strong&gt;
&lt;/p&gt;
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; overflow-x: auto; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;namespace&lt;/span&gt; Part2_AutoComplete.Web.Controllers
{&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;class&lt;/span&gt; HomeController
: Controller {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; ActionResult
Index() {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; View(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; List&amp;lt;Manufacturer&amp;gt;
{&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer {Id = 1, Name = &lt;span style="color: #006080"&gt;"Aston
Martin"&lt;/span&gt;}});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        [HttpGet]&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; JsonResult
GetManufacturers() {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; searchValue
= Request.Params[&lt;span style="color: #006080"&gt;"filter[filters][0][value]"&lt;/span&gt;];&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            IList&amp;lt;Manufacturer&amp;gt; manufacturers = BuildManufacturersList().Where(x =&amp;gt; x.Name.StartsWith(searchValue, StringComparison.InvariantCultureIgnoreCase)).ToList();&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; Json(manufacturers,
JsonRequestBehavior.AllowGet);&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;private&lt;/span&gt; IEnumerable&amp;lt;Manufacturer&amp;gt;
BuildManufacturersList() {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            IList&amp;lt;Manufacturer&amp;gt; manufacturers = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; List&amp;lt;Manufacturer&amp;gt;();&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 1, Name = &lt;span style="color: #006080"&gt;"Aston Martin"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 2, Name = &lt;span style="color: #006080"&gt;"Audi"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 3, Name = &lt;span style="color: #006080"&gt;"Buggati"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 4, Name = &lt;span style="color: #006080"&gt;"BMW"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 5, Name = &lt;span style="color: #006080"&gt;"Chevrolet"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 6, Name = &lt;span style="color: #006080"&gt;"Ferrari"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 7, Name = &lt;span style="color: #006080"&gt;"Ford"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 8, Name = &lt;span style="color: #006080"&gt;"Lamborghini"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 9, Name = &lt;span style="color: #006080"&gt;"Mazda"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 10, Name = &lt;span style="color: #006080"&gt;"McLaren"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 11, Name = &lt;span style="color: #006080"&gt;"Mercedes Benz"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 12, Name = &lt;span style="color: #006080"&gt;"Porsche"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; manufacturers;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;        }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;    }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;}&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
That’s it.&amp;nbsp; Now that we are caught up with the transition to Kendo UI &lt;strong&gt;for&lt;/strong&gt; ASP.NET
MVC in the next post we can move on to something fresh and new…and Kendo UI certainly
has a lot to offer in that area!
&lt;/p&gt;
&lt;p&gt;
The code is available on &lt;a href="http://dotnetdevdude.com/Blog/ct.ashx?id=cdab018a-fbb5-42f6-8e62-cf866aa6cc13&amp;amp;url=https%3a%2f%2fgithub.com%2fkburnell%2fGetStartedWithKendoUI"&gt;GitHub&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dotnetdevdude.com/Blog/aggbug.ashx?id=3ee0fdb2-3f92-46e6-8ddd-140647d367d8" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.newtelligence.com"&gt;newtelligence AG&lt;/a&gt;. &lt;a href="http://www.jetbrains.com/ruby/features?utm_source=RubyMineUser&amp;utm_medium=Banner&amp;utm_campaign=RubyMine" style="position: relative;display:block; width:120px; height:30px; border:0; margin:0;padding:0;text-decoration:none;text-indent:0;"&gt;&lt;span style="margin: 0;padding: 0;position: absolute;top: -2px;left: 33px;font-size: 9px;cursor:pointer;  background-image:none;border:0;color: #efcedc; font-family: trebuchet ms,arial,sans-serif;font-weight: normal;text-align:left;"&gt;Happy
fan of&lt;/span&gt;&lt;img src="http://www.jetbrains.com/ruby/features/ruby_banners/ruby1/ruby120x30_rubin.gif" alt="Happy fan of" border="0" /&gt;&lt;/a&gt;</description>
      <comments>http://dotnetdevdude.com/Blog/CommentView,guid,3ee0fdb2-3f92-46e6-8ddd-140647d367d8.aspx</comments>
      <category>Code</category>
      <category>Kendo UI</category>
      <category>MVC</category>
    </item>
    <item>
      <trackback:ping>http://dotnetdevdude.com/Blog/Trackback.aspx?guid=9f136045-5d0e-441d-8c22-dff252e82271</trackback:ping>
      <pingback:server>http://dotnetdevdude.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://dotnetdevdude.com/Blog/PermaLink,guid,9f136045-5d0e-441d-8c22-dff252e82271.aspx</pingback:target>
      <dc:creator>DotNetDevDude</dc:creator>
      <wfw:comment>http://dotnetdevdude.com/Blog/CommentView,guid,9f136045-5d0e-441d-8c22-dff252e82271.aspx</wfw:comment>
      <wfw:commentRss>http://dotnetdevdude.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=9f136045-5d0e-441d-8c22-dff252e82271</wfw:commentRss>
      <slash:comments>6</slash:comments>
      <title>Kendo UI in ASP.NET MVC: Part 3–Introducing Kendo UI for ASP.NET MVC</title>
      <guid isPermaLink="false">http://dotnetdevdude.com/Blog/PermaLink,guid,9f136045-5d0e-441d-8c22-dff252e82271.aspx</guid>
      <link>http://DotNetDevDude.com/Blog/2012/06/19/KendoUIInASPNETMVCPart3IntroducingKendoUIForASPNETMVC.aspx</link>
      <pubDate>Tue, 19 Jun 2012 16:15:53 GMT</pubDate>
      <description>&lt;p&gt;
Back in April I started a series of &lt;a href="http://dotnetdevdude.com/Blog/CategoryView,category,KendoUI.aspx" target="_blank"&gt;posts&lt;/a&gt; related
to using Kendo UI in ASP.NET MVC.&amp;nbsp; Last month the Kendo team released the first
beta of &lt;a href="http://www.kendoui.com/faq/mvc-faq.aspx" target="_blank"&gt;Kendo UI
for ASP.NET MVC&lt;/a&gt;.&amp;nbsp; So, long story short the blog posts on Kendo UI will continue
but from this point forward they will move from implementing Kendo UI proper in ASP.NET
MVC to using Kendo UI for ASP.NET MVC.
&lt;/p&gt;
&lt;p&gt;
Kendo UI for ASP.NET MVC includes the complete Kendo UI suite (&lt;a href="http://www.kendoui.com/web.aspx" target="_blank"&gt;Web&lt;/a&gt;, &lt;a href="http://www.kendoui.com/mobile.aspx" target="_blank"&gt;Mobile&lt;/a&gt;, &lt;a href="http://www.kendoui.com/dataviz.aspx" target="_blank"&gt;DataViz&lt;/a&gt;)
plus a set .NET wrappers to be used with ASP.NET MVC that leverage exciting features
of MVC such as data annotations, editor/display templates and validation.&amp;nbsp; Those
of you still using the WebForms view engine are safe,&amp;nbsp; the wrappers work in both
the Razor view engine and the WebForms view engine.
&lt;/p&gt;
&lt;p&gt;
To get started &lt;a href="http://www.kendoui.com/get-kendo-ui.aspx" target="_blank"&gt;download&lt;/a&gt; the
Kendo UI for ASP.NET MVC bits and install them.&amp;nbsp; The bits include, what I would
call, the Kendo UI core features plus all the ASP.NET MVC specific features so there
is no need install both Kendo UI and Kendo UI for ASP.NET MVC.&amp;nbsp; If you already
have Kendo UI core installed, don’t worry, the installer will adjust accordingly.
&lt;/p&gt;
&lt;p&gt;
Once installed pull up the install location, for me it is “C:\Program Files (x86)\Telerik\Kendo
UI for ASP.NET MVC Q2 2012 BETA”, and play around with the example projects by running
“\Examples\StartExamples.exe”.
&lt;/p&gt;
&lt;p&gt;
Now…let’s get it up and running in an ASP.NET MVC project.
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;em&gt;NOTE: The Kendo UI for ASP.NET MVC documentation states that both MVC 3 and MVC
4 are supported even though the actual Kendo.MVC.dll resides in the “Mvc3” directory.&lt;/em&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;ol&gt;
&lt;li style="margin-bottom: 5px"&gt;
Create a new ASP.NET MVC 3 or 4 project 
&lt;li style="margin-bottom: 5px"&gt;
Add a reference to: [Kendo UI Directory]&lt;strong&gt;\Binaries\Mvc3\Kendo.Mvc.dll&lt;/strong&gt; 
&lt;li style="margin-bottom: 5px"&gt;
Copy the contents of [Kendo UI Directory]&lt;strong&gt;\Scripts&lt;/strong&gt; to the &lt;strong&gt;Scripts&lt;/strong&gt; folder
of your MVC project 
&lt;li style="margin-bottom: 5px"&gt;
Copy the contents of [Kendo UI Directory]&lt;strong&gt;\Content &lt;/strong&gt;to the &lt;strong&gt;Content&lt;/strong&gt; folder
of your MVC project 
&lt;li style="margin-bottom: 5px"&gt;
Reference the Kendo UI scripts and and CSS files in your layout page.&lt;br&gt;
&lt;em&gt;*Note: &lt;a href="http://dotnetdevdude.com/Blog/2012/06/29/KendoUIForASPNETMVCPart3CreatingABundleForTheKendoUIScriptsAndContent.aspx" target="_blank"&gt;If
your using ASP.NET MVC 4 I suggest creating a bundler package&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; overflow-x: auto; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;link rel=&lt;span style="color: #006080"&gt;"stylesheet"&lt;/span&gt; href=&lt;span style="color: #006080"&gt;"@Url.Content("&lt;/span&gt;~/Content/kendo.common.min.css&lt;span style="color: #006080"&gt;")"&lt;/span&gt;&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;link rel=&lt;span style="color: #006080"&gt;"stylesheet"&lt;/span&gt; href=&lt;span style="color: #006080"&gt;"@Url.Content("&lt;/span&gt;~/Content/kendo.&lt;span style="color: #0000ff"&gt;default&lt;/span&gt;.min.css&lt;span style="color: #006080"&gt;")"&lt;/span&gt;&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;script src=&lt;span style="color: #006080"&gt;"@Url.Content("&lt;/span&gt;~/Scripts/jquery.min.js&lt;span style="color: #006080"&gt;")"&lt;/span&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;script src=&lt;span style="color: #006080"&gt;"@Url.Content("&lt;/span&gt;~/Scripts/kendo.web.min.js&lt;span style="color: #006080"&gt;")"&lt;/span&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;script src=&lt;span style="color: #006080"&gt;"@Url.Content("&lt;/span&gt;~/Scripts/kendo.aspnetmvc.min.js&lt;span style="color: #006080"&gt;")"&lt;/span&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/em&gt; 
&lt;li style="margin-bottom: 5px"&gt;
Add a reference to the Kendu.Mvc.UI namespace to the &amp;lt;namespaces&amp;gt; section of
the web.config to allow your views to know about the Kendo HTML Helper extensions. 
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; overflow-x: auto; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&amp;lt;add &lt;span style="color: #0000ff"&gt;namespace&lt;/span&gt;=&lt;span style="color: #006080"&gt;"Kendo.Mvc.UI"&lt;/span&gt;/&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;li style="margin-bottom: 5px"&gt;
Let’s test it out.&amp;nbsp; Open up Index.cshtml and create a Kendo UI control using
the new HTML Helpers.&lt;br&gt;
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; overflow-x: auto; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;@(Html.Kendo().DatePicker().Name(&lt;span style="color: #006080"&gt;"MyTestDatePicker"&lt;/span&gt;))&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;a href="http://dotnetdevdude.com/Blog/content/binary/Windows-Live-Writer/Kendo-UI.NET-MVC-Part-3Introducing-Kendo_61DC/image_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://dotnetdevdude.com/Blog/content/binary/Windows-Live-Writer/Kendo-UI.NET-MVC-Part-3Introducing-Kendo_61DC/image_thumb.png" width="497" height="347"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
&lt;em&gt;&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
As with the previous parts of the series the code is available on &lt;a href="https://github.com/kburnell/GetStartedWithKendoUI" target="_blank"&gt;GitHub&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dotnetdevdude.com/Blog/aggbug.ashx?id=9f136045-5d0e-441d-8c22-dff252e82271" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.newtelligence.com"&gt;newtelligence AG&lt;/a&gt;. &lt;a href="http://www.jetbrains.com/ruby/features?utm_source=RubyMineUser&amp;utm_medium=Banner&amp;utm_campaign=RubyMine" style="position: relative;display:block; width:120px; height:30px; border:0; margin:0;padding:0;text-decoration:none;text-indent:0;"&gt;&lt;span style="margin: 0;padding: 0;position: absolute;top: -2px;left: 33px;font-size: 9px;cursor:pointer;  background-image:none;border:0;color: #efcedc; font-family: trebuchet ms,arial,sans-serif;font-weight: normal;text-align:left;"&gt;Happy
fan of&lt;/span&gt;&lt;img src="http://www.jetbrains.com/ruby/features/ruby_banners/ruby1/ruby120x30_rubin.gif" alt="Happy fan of" border="0" /&gt;&lt;/a&gt;</description>
      <comments>http://dotnetdevdude.com/Blog/CommentView,guid,9f136045-5d0e-441d-8c22-dff252e82271.aspx</comments>
      <category>Code</category>
      <category>jQuery</category>
      <category>Kendo UI</category>
      <category>MVC</category>
    </item>
    <item>
      <trackback:ping>http://dotnetdevdude.com/Blog/Trackback.aspx?guid=cdab018a-fbb5-42f6-8e62-cf866aa6cc13</trackback:ping>
      <pingback:server>http://dotnetdevdude.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://dotnetdevdude.com/Blog/PermaLink,guid,cdab018a-fbb5-42f6-8e62-cf866aa6cc13.aspx</pingback:target>
      <dc:creator>DotNetDevDude</dc:creator>
      <wfw:comment>http://dotnetdevdude.com/Blog/CommentView,guid,cdab018a-fbb5-42f6-8e62-cf866aa6cc13.aspx</wfw:comment>
      <wfw:commentRss>http://dotnetdevdude.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=cdab018a-fbb5-42f6-8e62-cf866aa6cc13</wfw:commentRss>
      <slash:comments>11</slash:comments>
      <title>Kendo UI in ASP.NET MVC: Part 2–AutoComplete</title>
      <guid isPermaLink="false">http://dotnetdevdude.com/Blog/PermaLink,guid,cdab018a-fbb5-42f6-8e62-cf866aa6cc13.aspx</guid>
      <link>http://DotNetDevDude.com/Blog/2012/05/21/KendoUIInASPNETMVCPart2AutoComplete.aspx</link>
      <pubDate>Mon, 21 May 2012 20:18:54 GMT</pubDate>
      <description>&lt;p&gt;
Continuing from my previous post &lt;a href="http://dotnetdevdude.com/Blog/2012/04/30/GettingStartedWithKendoUIInASPNETMVC.aspx" target="_blank"&gt;Getting
Started with Kendo UI in ASP.NET MVC&lt;/a&gt;, let’s dive in to &lt;a href="http://demos.kendoui.com/web/autocomplete/index.html" target="_blank"&gt;Kendo
UI’s AutoComplete&lt;/a&gt; control.&amp;nbsp; The Kendo UI AutoComplete control is a text box
that has an associated list of items that when text is entered into it a suggestion
list is displayed allowing the user to select an item.
&lt;/p&gt;
&lt;p&gt;
To get started I created a blank MVC project and wired up Kendo UI per the instructions
in my &lt;a href="http://dotnetdevdude.com/Blog/2012/04/30/GettingStartedWithKendoUIInASPNETMVC.aspx" target="_blank"&gt;Getting
Started&lt;/a&gt; post.
&lt;/p&gt;
&lt;p&gt;
Next I created a server side model: &lt;strong&gt;Manufacturer.cs&lt;/strong&gt;
&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt; 1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;namespace&lt;/span&gt; Part2_AutoComplete.Web.Models
{&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt; 2:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt; 3:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;class&lt;/span&gt; Manufacturer
{&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt; 4:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;int&lt;/span&gt; Id
{ get; set; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt; 5:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; Name
{ get; set; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum6"&gt; 6:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum7"&gt; 7:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
As you can see the view the model is a very simple class that contains only an Id
and a Name field.
&lt;/p&gt;
&lt;p&gt;
After that I created my view: &lt;strong&gt;Index.cshtml&lt;/strong&gt;
&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt; 1:&lt;/span&gt; @model
Part2_AutoComplete.Web.Models.Manufacturer&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt; 2:&lt;/span&gt; @{&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt; 3:&lt;/span&gt; ViewBag.Title
= &lt;span style="color: #006080"&gt;"Getting Started With KendoUI - Part 2: Auto Complete"&lt;/span&gt;;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt; 4:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt; 5:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum6"&gt; 6:&lt;/span&gt; &amp;lt;script
type=&lt;span style="color: #006080"&gt;"text/javascript"&lt;/span&gt;&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum7"&gt; 7:&lt;/span&gt; $(document).ready(function
() {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum8"&gt; 8:&lt;/span&gt; $(&lt;span style="color: #006080"&gt;"#Name"&lt;/span&gt;).kendoAutoComplete({&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum9"&gt; 9:&lt;/span&gt; minLength:
1,&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum10"&gt; 10:&lt;/span&gt; dataTextField: &lt;span style="color: #006080"&gt;"Name"&lt;/span&gt;,&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum11"&gt; 11:&lt;/span&gt; suggest: &lt;span style="color: #0000ff"&gt;true&lt;/span&gt;,&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum12"&gt; 12:&lt;/span&gt; filter: &lt;span style="color: #006080"&gt;"startswith"&lt;/span&gt;,&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum13"&gt; 13:&lt;/span&gt; dataSource:
{ serverFiltering: &lt;span style="color: #0000ff"&gt;true&lt;/span&gt;, transport: {read: {url: &lt;span style="color: #006080"&gt;"/Home/GetManufacturers/"&lt;/span&gt;,dataType: &lt;span style="color: #006080"&gt;"json"&lt;/span&gt;,
type: &lt;span style="color: #006080"&gt;"POST"&lt;/span&gt;}}}&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum14"&gt; 14:&lt;/span&gt; });&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum15"&gt; 15:&lt;/span&gt; });&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum16"&gt; 16:&lt;/span&gt; &amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum17"&gt; 17:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum18"&gt; 18:&lt;/span&gt; &amp;lt;h2&amp;gt;@ViewBag.Title&amp;lt;/h2&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum19"&gt; 19:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum20"&gt; 20:&lt;/span&gt; @&lt;span style="color: #0000ff"&gt;using&lt;/span&gt;(Html.BeginForm())
{&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum21"&gt; 21:&lt;/span&gt; &amp;lt;div
id=&lt;span style="color: #006080"&gt;"root"&lt;/span&gt;&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum22"&gt; 22:&lt;/span&gt; &amp;lt;div
id=&lt;span style="color: #006080"&gt;"manufacturers"&lt;/span&gt;&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum23"&gt; 23:&lt;/span&gt; @Html.HiddenFor(x
=&amp;gt; x.Id)&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum24"&gt; 24:&lt;/span&gt; &amp;lt;label &lt;span style="color: #0000ff"&gt;for&lt;/span&gt;=&lt;span style="color: #006080"&gt;"input"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;class&lt;/span&gt;=&lt;span style="color: #006080"&gt;"info"&lt;/span&gt;&amp;gt;Choose
a car manufacturer:&amp;lt;/label&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum25"&gt; 25:&lt;/span&gt; @Html.TextBoxFor(m
=&amp;gt; m.Name)&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum26"&gt; 26:&lt;/span&gt; &amp;lt;div &lt;span style="color: #0000ff"&gt;class&lt;/span&gt;=&lt;span style="color: #006080"&gt;"hint"&lt;/span&gt;&amp;gt;Start
typing the name of a car manufacturer &amp;lt;br/&amp;gt;(Aston Martin, Bugatti, Ferrari,
Lamborghini, Porsche) &amp;lt;/div&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum27"&gt; 27:&lt;/span&gt; &amp;lt;/div&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum28"&gt; 28:&lt;/span&gt; &amp;lt;/div&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum29"&gt; 29:&lt;/span&gt; &amp;lt;input
type=&lt;span style="color: #006080"&gt;"submit"&lt;/span&gt; &lt;span style="color: #0000ff"&gt;value&lt;/span&gt;=&lt;span style="color: #006080"&gt;"Send
Back To Server"&lt;/span&gt;/&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum30"&gt; 30:&lt;/span&gt; &amp;lt;h3&amp;gt;@ViewBag.Message&amp;lt;/h3&amp;gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum31"&gt; 31:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
Assuming you are an ASP.NET MVC developer that uses Razor, the majority of the view
code above should look familiar.&amp;nbsp; The lines to focus on are 8 – 14, which are
the actual implementation of the Kendo UI AutoComplete.&amp;nbsp; Let’s break down the
configuration options that I am passing to &lt;em&gt;kendoAutoComplete&lt;/em&gt;:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;minLength:&amp;nbsp; &lt;/em&gt;number of characters to be entered before filtering the
data 
&lt;li&gt;
&lt;em&gt;dataTextField: &lt;/em&gt;field in the data source that represents the content of the
list items 
&lt;li&gt;
&lt;em&gt;suggest: &lt;/em&gt;controls if the rest of the text for the item that matches is automatically
displayed in the text box 
&lt;li&gt;
&lt;em&gt;filter: &lt;/em&gt;type of filtering to apply the data (“startswith”, “contains”, etc.) 
&lt;li&gt;
&lt;em&gt;dataSource: &lt;/em&gt;data that the control is bound to, can either be a JavaScript
object or a &lt;a href="http://www.kendoui.com/documentation/framework/datasource/overview.aspx" target="_blank"&gt;Kendo
UI DataSource&lt;/a&gt;
&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
As you can see I am using a &lt;a href="http://www.kendoui.com/documentation/framework/datasource/overview.aspx" target="_blank"&gt;Kendo
UI DataSource&lt;/a&gt; that makes an AJAX call to the &lt;em&gt;GetManufactures&lt;/em&gt; method on
the &lt;em&gt;Home&lt;/em&gt; controller.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;p&gt;
That is the complete client side implementation of the Kendo UI AutoComplete.&amp;nbsp;
More details on what configuration is available for the AutoComplete can be found &lt;a href="http://demos.kendoui.com/web/autocomplete/index.html" target="_blank"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Lastly we can code our controller: &lt;strong&gt;HomeController.cs&lt;/strong&gt;
&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt; 1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt; 2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Collections.Generic;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt; 3:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Linq;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt; 4:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Web.Mvc;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt; 5:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; Part2_AutoComplete.Web.Models;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum6"&gt; 6:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum7"&gt; 7:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;namespace&lt;/span&gt; Part2_AutoComplete.Web.Controllers
{&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum8"&gt; 8:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum9"&gt; 9:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;class&lt;/span&gt; HomeController
: Controller {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum10"&gt; 10:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum11"&gt; 11:&lt;/span&gt; [HttpGet]&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum12"&gt; 12:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; ActionResult
Index() {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum13"&gt; 13:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; View(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer{Id
= 1, Name = &lt;span style="color: #006080"&gt;"Aston Martin"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum14"&gt; 14:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum15"&gt; 15:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum16"&gt; 16:&lt;/span&gt; [HttpPost]&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum17"&gt; 17:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; ActionResult
Index(Manufacturer manufacturer) {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum18"&gt; 18:&lt;/span&gt; ViewBag.Message
= &lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.Format(&lt;span style="color: #006080"&gt;"You
selected \"{0}\" and sent it to the server!"&lt;/span&gt;, manufacturer.Name);&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum19"&gt; 19:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; View();&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum20"&gt; 20:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum21"&gt; 21:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum22"&gt; 22:&lt;/span&gt; [HttpPost]&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum23"&gt; 23:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; JsonResult
GetManufacturers() {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum24"&gt; 24:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; searchValue
= Request.Params[&lt;span style="color: #006080"&gt;"filter[filters][0][value]"&lt;/span&gt;];&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum25"&gt; 25:&lt;/span&gt; IList&amp;lt;Manufacturer&amp;gt;
manufacturers = BuildManufacturersList()&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum26"&gt; 26:&lt;/span&gt; .Where(x
=&amp;gt; x.Name.StartsWith(searchValue, StringComparison.InvariantCultureIgnoreCase)).ToList();&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum27"&gt; 27:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; Json(manufacturers);&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum28"&gt; 28:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum29"&gt; 29:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum30"&gt; 30:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;private&lt;/span&gt; IList&amp;lt;Manufacturer&amp;gt;
BuildManufacturersList() {&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum31"&gt; 31:&lt;/span&gt; IList&amp;lt;Manufacturer&amp;gt;
manufacturers = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; List&amp;lt;Manufacturer&amp;gt;();&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum32"&gt; 32:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 1, Name = &lt;span style="color: #006080"&gt;"Aston Martin"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum33"&gt; 33:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 2, Name = &lt;span style="color: #006080"&gt;"Audi"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum34"&gt; 34:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 3, Name = &lt;span style="color: #006080"&gt;"Buggati"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum35"&gt; 35:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 4, Name = &lt;span style="color: #006080"&gt;"BMW"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum36"&gt; 36:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 5, Name = &lt;span style="color: #006080"&gt;"Chevrolet"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum37"&gt; 37:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 6, Name = &lt;span style="color: #006080"&gt;"Ferrari"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum38"&gt; 38:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 7, Name = &lt;span style="color: #006080"&gt;"Ford"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum39"&gt; 39:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 8, Name = &lt;span style="color: #006080"&gt;"Lamborghini"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum40"&gt; 40:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 9, Name = &lt;span style="color: #006080"&gt;"Mazda"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum41"&gt; 41:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 10, Name = &lt;span style="color: #006080"&gt;"McLaren"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum42"&gt; 42:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 11, Name = &lt;span style="color: #006080"&gt;"Mercedes Benz"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum43"&gt; 43:&lt;/span&gt; manufacturers.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Manufacturer
{Id = 12, Name = &lt;span style="color: #006080"&gt;"Porsche"&lt;/span&gt;});&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum44"&gt; 44:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; manufacturers;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum45"&gt; 45:&lt;/span&gt; } &lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum46"&gt; 46:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum47"&gt; 47:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
The controller code is very straightforward.&amp;nbsp; Notice the &lt;em&gt;GetManufacturers&lt;/em&gt; method
that starts on line 30, it handles the AJAX request from the client and returns the
JSON that is used to build the Kendo UI DataSource that drives that Kendo UI AutoComplete.
&lt;/p&gt;
&lt;p&gt;
The code is available on &lt;a href="https://github.com/kburnell/GetStartedWithKendoUI" target="_blank"&gt;GitHub&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
If you haven’t checked out the recently released &lt;a href="http://windows.github.com/" target="_blank"&gt;GitHub
for Windows&lt;/a&gt; client, I highly suggest you check it out!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dotnetdevdude.com/Blog/aggbug.ashx?id=cdab018a-fbb5-42f6-8e62-cf866aa6cc13" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.newtelligence.com"&gt;newtelligence AG&lt;/a&gt;. &lt;a href="http://www.jetbrains.com/ruby/features?utm_source=RubyMineUser&amp;utm_medium=Banner&amp;utm_campaign=RubyMine" style="position: relative;display:block; width:120px; height:30px; border:0; margin:0;padding:0;text-decoration:none;text-indent:0;"&gt;&lt;span style="margin: 0;padding: 0;position: absolute;top: -2px;left: 33px;font-size: 9px;cursor:pointer;  background-image:none;border:0;color: #efcedc; font-family: trebuchet ms,arial,sans-serif;font-weight: normal;text-align:left;"&gt;Happy
fan of&lt;/span&gt;&lt;img src="http://www.jetbrains.com/ruby/features/ruby_banners/ruby1/ruby120x30_rubin.gif" alt="Happy fan of" border="0" /&gt;&lt;/a&gt;</description>
      <comments>http://dotnetdevdude.com/Blog/CommentView,guid,cdab018a-fbb5-42f6-8e62-cf866aa6cc13.aspx</comments>
      <category>HTML5</category>
      <category>Kendo UI</category>
      <category>MVC</category>
    </item>
  </channel>
</rss>