<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Kris' blog</title>
  <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/" />
  <link rel="self" href="http://blog.krisvandermast.com/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2010-03-17T05:06:39.6199377-04:00</updated>
  <author>
    <name>Kris van der Mast</name>
  </author>
  <subtitle />
  <id>http://blog.krisvandermast.com/</id>
  <generator uri="http://dasblog.info/" version="2.3.9074.18820">DasBlog</generator>
  <entry>
    <title>Silverlight 4 training course at Channel9</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/Silverlight4TrainingCourseAtChannel9.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,a2bbe961-9b39-4e49-afc6-88322037f01b.aspx</id>
    <published>2010-03-17T05:06:39.6199377-04:00</published>
    <updated>2010-03-17T05:06:39.6199377-04:00</updated>
    <category term="Channel 9" label="Channel 9" scheme="http://blog.krisvandermast.com/CategoryView,category,Channel9.aspx" />
    <category term="MEF" label="MEF" scheme="http://blog.krisvandermast.com/CategoryView,category,MEF.aspx" />
    <category term="Microsoft" label="Microsoft" scheme="http://blog.krisvandermast.com/CategoryView,category,Microsoft.aspx" />
    <category term="Silverlight" label="Silverlight" scheme="http://blog.krisvandermast.com/CategoryView,category,Silverlight.aspx" />
    <category term="Webcast" label="Webcast" scheme="http://blog.krisvandermast.com/CategoryView,category,Webcast.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <em>The Silverlight 4 Training Course includes a whitepaper explaining all of the
new Silverlight 4 RC features, several hands-on-labs that explain the features, and
a 8 unit course for building business applications with Silverlight 4. The business
applications course includes 8 modules with extensive hands on labs as well as 25
accompanying videos that walk you through key aspects of building a business application
with Silverlight. Key aspects in this course are working with numerous sandboxed and
elevated out of browser features, the new RichTextBox control, implicit styling, webcam,
drag and drop, multi touch, validation, authentication, MEF, WCF RIA Services, right
mouse click, and much more! </em>
        </p>
        <p>
You can find the material here: <a title="Silverlight 4 Training course at Channel9" href="http://blog.krisvandermast.com/ct.ashx?id=a2bbe961-9b39-4e49-afc6-88322037f01b&amp;url=http%3a%2f%2fchannel9.msdn.com%2flearn%2fcourses%2fSilverlight4%2f">http://channel9.msdn.com/learn/courses/Silverlight4/</a>.
</p>
        <p>
Grz, Kris.
</p>
        <img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=a2bbe961-9b39-4e49-afc6-88322037f01b" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Windows Phone 7 book</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/WindowsPhone7Book.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,a0cda1cf-f4b3-4799-90de-cda63314ca9e.aspx</id>
    <published>2010-03-16T10:01:41.138898-04:00</published>
    <updated>2010-03-16T10:01:41.138898-04:00</updated>
    <category term="Books" label="Books" scheme="http://blog.krisvandermast.com/CategoryView,category,Books.aspx" />
    <category term="Free" label="Free" scheme="http://blog.krisvandermast.com/CategoryView,category,Free.aspx" />
    <category term="Windows Phone 7" label="Windows Phone 7" scheme="http://blog.krisvandermast.com/CategoryView,category,WindowsPhone7.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Only yesterday I was viewing the <a title="MIX10" href="http://blog.krisvandermast.com/ct.ashx?id=a0cda1cf-f4b3-4799-90de-cda63314ca9e&amp;url=http%3a%2f%2flive.visitmix.com%2f" target="_blank">MIX10
keynote</a> at <a title="Microsoft Belux" href="http://blog.krisvandermast.com/ct.ashx?id=a0cda1cf-f4b3-4799-90de-cda63314ca9e&amp;url=http%3a%2f%2fwww.microsoft.com%2fnl%2fbe%2fdefault.aspx" target="_blank">Microsoft
Brussels</a> via live stream and today I noticed on twitter that Charles Petzold has
already put a preview content online of his upcoming book about the topic. <a title="Charles Petzold free book Windows Phone 7" href="http://blog.krisvandermast.com/ct.ashx?id=a0cda1cf-f4b3-4799-90de-cda63314ca9e&amp;url=http%3a%2f%2fcharlespetzold.com%2fphone%2findex.html" target="_blank">Take
a look here for a pdf or xps excerpt</a>.
</p>
        <p>
Grz, Kris.
</p>
        <img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=a0cda1cf-f4b3-4799-90de-cda63314ca9e" />
      </div>
    </content>
  </entry>
  <entry>
    <title>New online Silverlight and Expression learning studio: Toolbox</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/NewOnlineSilverlightAndExpressionLearningStudioToolbox.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,6432f8a9-cf06-457c-816b-c9b4c8e313ed.aspx</id>
    <published>2010-03-16T09:23:55.8043954-04:00</published>
    <updated>2010-03-16T09:23:55.8043954-04:00</updated>
    <category term="Expression" label="Expression" scheme="http://blog.krisvandermast.com/CategoryView,category,Expression.aspx" />
    <category term="Microsoft" label="Microsoft" scheme="http://blog.krisvandermast.com/CategoryView,category,Microsoft.aspx" />
    <category term="Silverlight" label="Silverlight" scheme="http://blog.krisvandermast.com/CategoryView,category,Silverlight.aspx" />
    <category term="Toolbox" label="Toolbox" scheme="http://blog.krisvandermast.com/CategoryView,category,Toolbox.aspx" />
    <category term="Tutorial" label="Tutorial" scheme="http://blog.krisvandermast.com/CategoryView,category,Tutorial.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Microsoft launched <a title="Toolbox" href="http://blog.krisvandermast.com/ct.ashx?id=6432f8a9-cf06-457c-816b-c9b4c8e313ed&amp;url=http%3a%2f%2fwww.microsoft.com%2fdesign%2ftoolbox%2fdefault.aspx" target="_blank">.toolbox</a>,
a new site dedicated on learning Silverlight and Expression. 
</p>
        <p>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=6432f8a9-cf06-457c-816b-c9b4c8e313ed&amp;url=http%3a%2f%2fwww.microsoft.com%2fdesign%2ftoolbox%2fdefault.aspx">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="toolbox" border="0" alt="toolbox" src="http://blog.krisvandermast.com/content/binary/WindowsLiveWriter/NewonlineSilverlightandExpressionlearnin_CA74/toolbox_3.jpg" width="663" height="100" />
          </a>
        </p>
        <p>
          <em>.toolbox features two core learning paths: Design Scenarios and Design Principles.
Both begin with teaching basic techniques and build skills and knowledge incrementally.
In <strong>Design Scenarios</strong>, designers and developers learn to create dynamically-rich
Silverlight applications using Expression Studio. You will learn to add code-free
functionality to designs by following step-by-step tutorials that illustrate how to
create interactive user experiences. In <strong>Design Principles</strong>, you will
learn fundamental design concepts (e.g., choosing the right colors and the right fonts)
along with tips and techniques in how to apply them to your creations.</em>
        </p>
        <p>
One can go for either track and earn leves with that. Each track can be done one by
one following a stack or go through the matrix:
</p>
        <p>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=6432f8a9-cf06-457c-816b-c9b4c8e313ed&amp;url=http%3a%2f%2fwww.microsoft.com%2fdesign%2ftoolbox%2fabout%2f">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="toolbox_track" border="0" alt="toolbox_track" src="http://blog.krisvandermast.com/content/binary/WindowsLiveWriter/NewonlineSilverlightandExpressionlearnin_CA74/toolbox_track_3.png" width="395" height="408" />
          </a>
        </p>
        <p>
Grz, Kris.
</p>
        <img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=6432f8a9-cf06-457c-816b-c9b4c8e313ed" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Visual Studio 2010 and .NET Framework 4 Training Kit - February Release</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/VisualStudio2010AndNETFramework4TrainingKitFebruaryRelease.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,6ba80554-8822-4448-a26b-ec18c150be0b.aspx</id>
    <published>2010-02-14T07:45:39.425125-05:00</published>
    <updated>2010-02-14T07:45:39.425125-05:00</updated>
    <category term=".NET 4.0" label=".NET 4.0" scheme="http://blog.krisvandermast.com/CategoryView,category,NET40.aspx" />
    <category term="Downloads" label="Downloads" scheme="http://blog.krisvandermast.com/CategoryView,category,Downloads.aspx" />
    <category term="Training kit" label="Training kit" scheme="http://blog.krisvandermast.com/CategoryView,category,TrainingKit.aspx" />
    <category term="Visual Studio 2010" label="Visual Studio 2010" scheme="http://blog.krisvandermast.com/CategoryView,category,VisualStudio2010.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a name="Description">
          </a>The Visual Studio 2010 and .NET Framework 4 Training Kit
includes presentations, hands-on labs, and demos. This content is designed to help
you learn how to utilize the Visual Studio 2010 features and a variety of framework
technologies including: 
</p>
        <ul>
          <li>
C# 4.0 
</li>
          <li>
Visual Basic 10 
</li>
          <li>
F# 
</li>
          <li>
Parallel Extensions 
</li>
          <li>
Windows Communication Foundation 
</li>
          <li>
Windows Workflow 
</li>
          <li>
Windows Presentation Foundation 
</li>
          <li>
ASP.NET 4 
</li>
          <li>
Windows 7 
</li>
          <li>
Entity Framework 
</li>
          <li>
ADO.NET Data Services 
</li>
          <li>
Managed Extensibility Framework 
</li>
          <li>
Visual Studio Team System 
</li>
        </ul>
This version of the Training Kit works with Visual Studio 2010 RC and .NET Framework
4 RC. 
<p><a title="Visual Studio 2010 and .NET Framework 4 Training Kit - February Release" href="http://blog.krisvandermast.com/ct.ashx?id=6ba80554-8822-4448-a26b-ec18c150be0b&amp;url=http%3a%2f%2fwww.microsoft.com%2fdownloads%2fdetails.aspx%3fFamilyID%3d752CB725-969B-4732-A383-ED5740F02E93%26displaylang%3den" target="_blank">Grab
it here</a>.
</p><p>
Grz, Kris.
</p><img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=6ba80554-8822-4448-a26b-ec18c150be0b" /></div>
    </content>
  </entry>
  <entry>
    <title>Swiss MSDN team gives away a hands-on lab about Silverlight 4 and WCF RIA Services</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/SwissMSDNTeamGivesAwayAHandsonLabAboutSilverlight4AndWCFRIAServices.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,e0614b27-d854-499b-892a-1b9935fb5db3.aspx</id>
    <published>2010-01-27T02:33:33.6975-05:00</published>
    <updated>2010-01-27T02:33:33.6975-05:00</updated>
    <category term="Entity Framework" label="Entity Framework" scheme="http://blog.krisvandermast.com/CategoryView,category,EntityFramework.aspx" />
    <category term="Hands-on labs" label="Hands-on labs" scheme="http://blog.krisvandermast.com/CategoryView,category,HandsonLabs.aspx" />
    <category term="MSDN" label="MSDN" scheme="http://blog.krisvandermast.com/CategoryView,category,MSDN.aspx" />
    <category term="Silverlight" label="Silverlight" scheme="http://blog.krisvandermast.com/CategoryView,category,Silverlight.aspx" />
    <category term="Visual Studio" label="Visual Studio" scheme="http://blog.krisvandermast.com/CategoryView,category,VisualStudio.aspx" />
    <category term="WCF RIA Services" label="WCF RIA Services" scheme="http://blog.krisvandermast.com/CategoryView,category,WCFRIAServices.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
From the Swiss MSDN blog:
</p>
        <p>
          <em>In this 108 page hands-on lab you will learn how to use Beta 2 of Visual Studio
2010 and Beta 1 of Microsoft Silverlight 4 to create a data driven line of business
style rich internet application that implements many of the new features that Silverlight
4 introduces. We will base our solution on the Windows Communication Foundation (WCF)
RIA Servic</em>es.
</p>
        <p>
          <em>The solution will be an order-management system that shows a list of orders in
a data grid and details of a selected order in a details pane. The system will validate
user entries and have the capabilities of printing order reports and exporting order
lists to Microsoft Excel.</em>
        </p>
        <p>
          <em>
            <a title="Silverlight 4 and WCF RIA services Hand-on lab" href="http://blog.krisvandermast.com/ct.ashx?id=e0614b27-d854-499b-892a-1b9935fb5db3&amp;url=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f7%2f4%2fD%2f74D51112-BC02-46DA-ACDD-E6138940306A%2fSL4-LOB-RIA-Lab.zip" target="_blank">Download
the hands-on lab manual in PDF and Word format, the database and the final sample
solution.</a>
          </em>
        </p>
        <p>
          <em>These features are implemented in the lab:</em>
        </p>
        <ul>
          <li>
            <em>True multi-tier architecture. </em>
          </li>
          <li>
            <em>Entity framework and service layer definition. </em>
          </li>
          <li>
            <em>Data filtering, paging, sorting and grouping. </em>
          </li>
          <li>
            <em>Data modification and validation. </em>
          </li>
          <li>
            <em>Foreign key management. </em>
          </li>
          <li>
            <em>Projections. </em>
          </li>
          <li>
            <em>Programmatic printing from a Silverlight application. </em>
          </li>
          <li>
            <em>COM interop with Microsoft Excel and running full-trust out-of-browser. </em>
          </li>
        </ul>
        <p>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=e0614b27-d854-499b-892a-1b9935fb5db3&amp;url=http%3a%2f%2fblog.krisvandermast.com%2fcontent%2fbinary%2fWindowsLiveWriter%2fSwissMSDNteamgivesawayahandsonlababoutSi_7864%2fSilverlight4WCFRIAServicesHandsOnLab_2.png" target="_blank">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Silverlight4WCFRIAServicesHandsOnLab" border="0" alt="Silverlight4WCFRIAServicesHandsOnLab" src="http://blog.krisvandermast.com/content/binary/WindowsLiveWriter/SwissMSDNteamgivesawayahandsonlababoutSi_7864/Silverlight4WCFRIAServicesHandsOnLab_thumb.png" width="244" height="166" />
          </a>
        </p>
        <p>
Grz, Kris.
</p>
        <img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=e0614b27-d854-499b-892a-1b9935fb5db3" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Whitepaper about building high performance websites</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/WhitepaperAboutBuildingHighPerformanceWebsites.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,b32780ef-173b-4a69-b718-85cab53d7af2.aspx</id>
    <published>2010-01-13T02:17:25.601375-05:00</published>
    <updated>2010-01-13T02:19:21.21075-05:00</updated>
    <category term="Ajax" label="Ajax" scheme="http://blog.krisvandermast.com/CategoryView,category,Ajax.aspx" />
    <category term="Ajax Library" label="Ajax Library" scheme="http://blog.krisvandermast.com/CategoryView,category,AjaxLibrary.aspx" />
    <category term="Performance" label="Performance" scheme="http://blog.krisvandermast.com/CategoryView,category,Performance.aspx" />
    <category term="Whitepaper" label="Whitepaper" scheme="http://blog.krisvandermast.com/CategoryView,category,Whitepaper.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
While taking a look at the new Ajax library Microsoft put online I noticed at the
bottom of a certain page a link to an interesting whitepaper: <a title="Building high performance websites" href="http://blog.krisvandermast.com/ct.ashx?id=b32780ef-173b-4a69-b718-85cab53d7af2&amp;url=http%3a%2f%2fwww.asp.net%2fajaxlibrary%2fGetFile.aspx%3fPage%3dBuilding-High-Performance-Websites%26File%3dBuilding%2520High%2520Performance%2520Web%2520Applications.pdf" target="_blank">Building
high performance websites</a>. It’s an interesting read by <a title="James Senior - Microsoft's social web guy" href="http://blog.krisvandermast.com/ct.ashx?id=b32780ef-173b-4a69-b718-85cab53d7af2&amp;url=http%3a%2f%2fwww.jamessenior.com%2f" target="_blank">James
Senior</a> and <a title="Dan Wahlin's weblog" href="http://blog.krisvandermast.com/ct.ashx?id=b32780ef-173b-4a69-b718-85cab53d7af2&amp;url=http%3a%2f%2fweblogs.asp.net%2fdwahlin%2f" target="_blank">Dan
Wahlin</a>. 
</p>
        <p>
These are the main topics being discussed:
</p>
        <p>
The Microsoft Ajax Content Delivery Network (CDN) 
<br />
Loading ASP.NET Ajax Scripts 
<br />
Loading jQuery Scripts 
<br />
The ASP.NET Ajax Library Script Loader 
<br />
Using the ASP.NET Ajax Script LoaderLoading Custom 
<br />
Script Combining  
<br />
Using the Script Loader when Debugging  
<br />
Using the Script Loader's Lazy Loading Feature to increase performance  
<br />
JavaScript Application Performance Tools  
<br />
The Download Time Optimizer (Doloto)  
<br />
Microsoft Ajax Minifier 
<br />
Internet Explorer JavaScript Profiler  
<br />
Internet Information Server 7 Compression and Caching Options  
</p>
        <p>
Grz, Kris.
</p>
        <img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=b32780ef-173b-4a69-b718-85cab53d7af2" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Scott Guthrie in Belgium</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/ScottGuthrieInBelgium.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,b070771f-10e6-45d0-ada5-4018e0fec5bc.aspx</id>
    <published>2009-12-04T23:12:00-05:00</published>
    <updated>2009-12-07T15:39:45.012614-05:00</updated>
    <category term="Microsoft" label="Microsoft" scheme="http://blog.krisvandermast.com/CategoryView,category,Microsoft.aspx" />
    <category term="Visug" label="Visug" scheme="http://blog.krisvandermast.com/CategoryView,category,Visug.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Yesterda I went to Kinepolis in Brussels for what was going to be a great afternoon. <a title="Scott Guthrie" href="http://blog.krisvandermast.com/ct.ashx?id=b070771f-10e6-45d0-ada5-4018e0fec5bc&amp;url=http%3a%2f%2fweblogs.asp.net%2fscottgu" target="_blank">Scott
Guthrie</a> doesn’t come every year to Belgium, actually it was its second time, so
when he does you better be there to hear what he’s talking about.
</p>
        <p>
The guys from <a title="Visug Belgium" href="http://blog.krisvandermast.com/ct.ashx?id=b070771f-10e6-45d0-ada5-4018e0fec5bc&amp;url=http%3a%2f%2fwww.visug.be%2f" target="_blank">Visug</a> did
a great job preparing the event and had prepared a little fun ingredient for Scott.
Everybody got to wear red polo shirts:
</p>
        <p>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=b070771f-10e6-45d0-ada5-4018e0fec5bc&amp;url=http%3a%2f%2fblog.krisvandermast.com%2fcontent%2fbinary%2fWindowsLiveWriter%2fScottGuthrieinBelgium_12FF4%2fbelgium_thumb_65DCE55C_2.jpg">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="belgium_thumb_65DCE55C" border="0" alt="belgium_thumb_65DCE55C" src="http://blog.krisvandermast.com/content/binary/WindowsLiveWriter/ScottGuthrieinBelgium_12FF4/belgium_thumb_65DCE55C_thumb.jpg" width="734" height="489" />
          </a>
        </p>
        <p>
The session itself covered the following topics:
</p>
        <ul>
          <li>
            <a title="ASP.NET" href="http://blog.krisvandermast.com/ct.ashx?id=b070771f-10e6-45d0-ada5-4018e0fec5bc&amp;url=http%3a%2f%2fwww.asp.net%2f" target="_blank">ASP.NET
4.0</a> and Visual studio 2010</li>
          <li>
            <a title="Silverlight 4" href="http://blog.krisvandermast.com/ct.ashx?id=b070771f-10e6-45d0-ada5-4018e0fec5bc&amp;url=http%3a%2f%2fwww.silverlight.net" target="_blank">Silverlight
4</a>
          </li>
          <li>
            <a title="ASP.NET MVC" href="http://blog.krisvandermast.com/ct.ashx?id=b070771f-10e6-45d0-ada5-4018e0fec5bc&amp;url=http%3a%2f%2fwww.asp.net%2fmvc%2f" target="_blank">ASP.NET
MVC 2</a>
          </li>
        </ul>
        <p>
For me personally it was a great opportunity to see and talk with Scott again after
the last MVP summit and there was some pretty interesting content about web related
technologies (my favorite). Microsoft’s really doing a great job for webdevelopers
with brining out new tools, new little additions to a more maturing web platform (ASP.NET
4.0), investing in new ways to let developers develop close to the raw metal with
MVC and making it possible for them to create compelling applications with Silverlight.
</p>
        <p>
One of the nice intros about Silverlight is its streaming capabilities with a cool
pixar style animation: <a title="Silverlight smooth streaming demo" href="http://blog.krisvandermast.com/ct.ashx?id=b070771f-10e6-45d0-ada5-4018e0fec5bc&amp;url=http%3a%2f%2fwww.iis.net%2fmedia%2fexperiencesmoothstreaming" target="_blank">http://www.iis.net/media/experiencesmoothstreaming</a>.
</p>
        <p>
 
</p>
        <p>
Grz, Kris.
</p>
        <img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=b070771f-10e6-45d0-ada5-4018e0fec5bc" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Using a hidden field to pass javascript variables to the codebehind of an ASP.NET webform</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/UsingAHiddenFieldToPassJavascriptVariablesToTheCodebehindOfAnASPNETWebform.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,8e372fa8-2fcd-4fd1-999d-137a02e40cbc.aspx</id>
    <published>2009-12-02T15:46:59.335375-05:00</published>
    <updated>2009-12-02T15:46:59.335375-05:00</updated>
    <category term="ASP.NET" label="ASP.NET" scheme="http://blog.krisvandermast.com/CategoryView,category,ASPNET.aspx" />
    <category term="CDN" label="CDN" scheme="http://blog.krisvandermast.com/CategoryView,category,CDN.aspx" />
    <category term="jQuery" label="jQuery" scheme="http://blog.krisvandermast.com/CategoryView,category,jQuery.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
With a lot of ajax, sometimes too much, being used in modern web applications it usually
means that also calculations or data is being kept on the client. That’s all great
but sometimes one has to perform a postback to the server. When the browser unloads
and all form data’s passed to the server the javascript variables that were living
happily in the browser are lost. A possible solution is to use a hidden field to send
it back and forth. Some source code explains this scenario better:
</p>
        <p>
Markup:
</p>
        <pre class="brush: xml;">&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="passjsdataviahiddenfield.aspx.cs" Inherits="betslap.passjsdataviahiddenfield" %&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head runat="server"&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;

        $(document).ready(function () {
        
            $('#&lt;%= btnGo.ClientID %&gt;').click(function () {
                var txtValue = 'Hello ' + $('#&lt;%= txtInput.ClientID %&gt;').val();
                $('#&lt;%= hidden1.ClientID %&gt;').val(txtValue);
            });
        });
     
    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;div&gt;
        &lt;asp:HiddenField runat="server" ID="hidden1" /&gt;
        Fill in your name please: &lt;asp:TextBox runat="server" ID="txtInput" /&gt;
        &lt;br /&gt;
        &lt;asp:Button runat="server" ID="btnGo" Text="Go!" OnClick="btnGo_Click" /&gt;
        &lt;br /&gt;
        &lt;asp:Literal ID="Literal1" runat="server"&gt;&lt;/asp:Literal&gt;
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
        <p>
Codebehind:
</p>
        <pre class="brush: csharp;">using System;

namespace betslap
{
    public partial class passjsdataviahiddenfield : System.Web.UI.Page
    {
        protected void btnGo_Click(object sender, EventArgs e)
        {
            Literal1.Text = hidden1.Value;
        }
    }
}</pre>
        <p>
In the markup I make use of the new CDN (Content Delivery Network) from Microsoft.
In the piece of javascript that follows a click event is wired and to the button control.
The value of the textbox prefixed with the string Hello is put in a local variable
txtValue. Then that variable’s used to fill up the hidden field value attribute. Once
the button gets clicked this value passing to the hidden field gets processed and
then the postback occurs. There we set in the Click eventhandler, on the server, the
text of the literal control to the text of the hidden field, in which we passed our
javascript variable. The page gets processed, html is rendered and sent back to the
browser. Both the value of the hidden field and the text of the literal are the same
right now. This demonstrates the working.
</p>
        <p>
Something else that I touched is this syntax:
</p>
        <pre class="brush: xml;">&lt;%= btnGo.ClientID %&gt;</pre>
        <p>
Since ASP.NET generates the ids of the html that gets rendered it can be sometimes
something else than you expect. Especially when using master pages and javascript
a lot of people get surprised with the, in their eyes, unpredictable behavior as it
also generates a lot of prefixes. ASP.NET exposes the <a title="ClientID property" href="http://blog.krisvandermast.com/ct.ashx?id=8e372fa8-2fcd-4fd1-999d-137a02e40cbc&amp;url=http%3a%2f%2fmsdn.microsoft.com%2fen-us%2flibrary%2fsystem.web.ui.control.clientid.aspx" target="_blank">ClientID
property</a> on server controls which provides us with the rendered id on the client.
With this line we inject that ClientID directly into the code of javascript, which
gets rendered to the browser and there the correct id is always available. 
</p>
        <p>
To learn more about Microsoft CDN take a look at this page: <a title="Microsoft CDN" href="http://blog.krisvandermast.com/ct.ashx?id=8e372fa8-2fcd-4fd1-999d-137a02e40cbc&amp;url=http%3a%2f%2fwww.asp.net%2fajaxlibrary%2fCDN.ashx" target="_blank">http://www.asp.net/ajaxlibrary/CDN.ashx</a>.
</p>
        <p>
Grz, Kris.
</p>
        <img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=8e372fa8-2fcd-4fd1-999d-137a02e40cbc" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Book review: ASP.NET 3.5 Content Management System Development</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/BookReviewASPNET35ContentManagementSystemDevelopment.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,d468bff2-4b6d-4431-b9f6-40171450fd32.aspx</id>
    <published>2009-12-01T15:32:06.06975-05:00</published>
    <updated>2009-12-01T15:32:06.06975-05:00</updated>
    <category term="Books" label="Books" scheme="http://blog.krisvandermast.com/CategoryView,category,Books.aspx" />
    <category term="Review" label="Review" scheme="http://blog.krisvandermast.com/CategoryView,category,Review.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Recently I got this book for a review. The book itself is <a href="http://blog.krisvandermast.com/ct.ashx?id=d468bff2-4b6d-4431-b9f6-40171450fd32&amp;url=http%3a%2f%2fwww.packtpub.com%2fasp-net-3-5-cms-development%2fbook" target="_blank">ASP.NET
3.5 Content Management System Development by Packt publishing</a>.
</p>
        <p>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=d468bff2-4b6d-4431-b9f6-40171450fd32&amp;url=http%3a%2f%2fwww.packtpub.com%2fasp-net-3-5-cms-development%2fbook" target="_blank">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="1847193617" border="0" alt="1847193617" src="http://blog.krisvandermast.com/content/binary/WindowsLiveWriter/Book.5ContentManagementSystemDevelopment_12ECD/1847193617_3.jpg" width="198" height="244" />
          </a>
        </p>
        <p>
The book’s right for the right kind of people: people who started with ASP.NET, played
around with it and now want to learn more of some of the concepts of ASP.NET. This
is definitely not a book for developers who’ve been doing some hardcore web development
with ASP.NET themselves.
</p>
        <p>
What I liked is the order in which the book’s written. All chapters follow nicely
one after another and it shows in each chapter steps to either build on the former
or how to refactor the previous code and for what reason. 
</p>
        <p>
Chapter 1: a quick and dirty file based CMS system with only one page gets created
after how it’s shown how to set up and configuring IIS and ASP.NET.
</p>
        <p>
Chapter 2 is a great refrehser, or introduction, of SQL statements and installing <strong>SQL </strong>Server
Express 2005 as a database. What I really liked about this chapter’s something that
mostly gets overseen: SQL injection. What its is and what .NET does to prevent it 
</p>
        <p>
Chapter 3 takes you through a basic <strong>multilayered architecture</strong> which
will be implemented in the small, now database using, application. What I found a
bit of a pity was the usage of typed datasets. In a world where one sees Microsoft
moving more and more to Linq and Entity Framework this is a bit of a missed chance.
On the other hand typed datasets is still used a lot in the industry. And as told
before, this is a book for people having gone through beginner tutorials first. Also
a good basis for further chapters is made with the new architecture which goes beyond
a simple: here’s a page and some controls which connect directly to the database.
</p>
        <p>
Chapter 4 introduces the reader to an important concept: <strong>security</strong>.
How to configure sqlmembershipprovider, creating the database, making use of the aspnet_regsqltool,
roles and making use of the login controls.
</p>
        <p>
The next chapter shows how to create an articles module. An introduction to <strong>user
controls</strong>, and making use of roles.
</p>
        <p>
Chapter 6 leads the reader into the world of themes, <strong>master pages</strong>,
skins and menus. First it’s shown how to add items directly with a wizard to the menu
and then a more common approach’s used with <strong>sitemaps</strong>. 
</p>
        <p>
Chapter 7 is all about the <strong>fileupload</strong> control, working with files
(image gallery) and creating <strong>RSS</strong> for your content management system.  
</p>
        <p>
The fore last chapter’s more about finishing touches and adding reporting to the application,
nice little additions. Also a couple of tips about SEO are highlighted (using the
title and meta tags).
</p>
        <p>
The last chapter goes into further possibilities: upgrading to a real full blown SQL
Server edition, how to use base pages in the application and error handling.
</p>
        <p>
 
</p>
        <p>
What I liked about the book is the way the authors write, it’s technical content but
with humor added on top. It’s a kind of book you’ll like to read when you want to
get to know as an aspiring developer. The topic about SQL injection was a big plus
for this book just to get people more aware about the problems that can arise with
it.
</p>
        <p>
Grz, Kris.
</p>
        <img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=d468bff2-4b6d-4431-b9f6-40171450fd32" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Microsoft Ajax CDN with SSL support</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/MicrosoftAjaxCDNWithSSLSupport.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,71b7a34c-10ef-49ef-8226-4636203c8f4b.aspx</id>
    <published>2009-11-30T04:01:06.912831-05:00</published>
    <updated>2009-11-30T04:01:06.912831-05:00</updated>
    <category term="Ajax" label="Ajax" scheme="http://blog.krisvandermast.com/CategoryView,category,Ajax.aspx" />
    <category term="CDN" label="CDN" scheme="http://blog.krisvandermast.com/CategoryView,category,CDN.aspx" />
    <category term="Library" label="Library" scheme="http://blog.krisvandermast.com/CategoryView,category,Library.aspx" />
    <category term="Links" label="Links" scheme="http://blog.krisvandermast.com/CategoryView,category,Links.aspx" />
    <category term="Microsoft Ajax" label="Microsoft Ajax" scheme="http://blog.krisvandermast.com/CategoryView,category,MicrosoftAjax.aspx" />
    <category term="SSL" label="SSL" scheme="http://blog.krisvandermast.com/CategoryView,category,SSL.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Microsoft’s investing in CDN for a lot of their ajax scripts and also jQuery, we already
knew that for a while. Now they also added support for SSL so when you use your site
with http<strong>s</strong> it shouldn’t give an enduser the warning anymore about
mixed content. The very well known “This page contains both secure and nonsecure items”
message.
</p>
        <p>
There’s a whole list available out there: <a title="Microsoft Ajax CDN overview" href="http://blog.krisvandermast.com/ct.ashx?id=71b7a34c-10ef-49ef-8226-4636203c8f4b&amp;url=http%3a%2f%2fwww.asp.net%2fajaxlibrary%2fcdn.ashx" target="_blank">http://www.asp.net/ajaxlibrary/cdn.ashx</a>.
</p>
        <p>
At first I didn’t see the dataservice.js scripts anymore, the ones that enable people
to use ajax against ADO.NET Data Services, I mean <strong><a title="WCF Data Services" href="http://blog.krisvandermast.com/ct.ashx?id=71b7a34c-10ef-49ef-8226-4636203c8f4b&amp;url=http%3a%2f%2fblogs.msdn.com%2fastoriateam%2farchive%2f2009%2f11%2f17%2fsimplifying-our-n-tier-development-platform-making-3-things-1-thing.aspx" target="_blank">WCF
Data Services</a></strong> after the product got renamed, but they also got renamed
to:
</p>
        <li>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=71b7a34c-10ef-49ef-8226-4636203c8f4b&amp;url=http%3a%2f%2fajax.microsoft.com%2fajax%2fbeta%2f0911%2fMicrosoftAjaxAdoNet.debug.js">http://ajax.microsoft.com/ajax/beta/0911/MicrosoftAjaxAdoNet.debug.js</a>
        </li>
        <li>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=71b7a34c-10ef-49ef-8226-4636203c8f4b&amp;url=http%3a%2f%2fajax.microsoft.com%2fajax%2fbeta%2f0911%2fMicrosoftAjaxAdoNet.js">http://ajax.microsoft.com/ajax/beta/0911/MicrosoftAjaxAdoNet.js</a>
        </li>
        <p>
 
</p>
        <p>
Besides the new CDN SSL feature there’s also a <a href="http://blog.krisvandermast.com/ct.ashx?id=71b7a34c-10ef-49ef-8226-4636203c8f4b&amp;url=http%3a%2f%2fwww.asp.net%2fajaxlibrary%2f" target="_blank">new
Library available for Microsoft Ajax</a>. Also quite a lot of <a title="Tutorials" href="http://blog.krisvandermast.com/ct.ashx?id=71b7a34c-10ef-49ef-8226-4636203c8f4b&amp;url=http%3a%2f%2fwww.asp.net%2fajaxlibrary%2flearn.ashx" target="_blank">new
tutorials have been added for the new Ajax library</a>.
</p>
        <p>
Grz, Kris.
</p>
        <img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=71b7a34c-10ef-49ef-8226-4636203c8f4b" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Visual Studio 2010: Add an extra context menu item to the document tab</title>
    <link rel="alternate" type="text/html" href="http://blog.krisvandermast.com/VisualStudio2010AddAnExtraContextMenuItemToTheDocumentTab.aspx" />
    <id>http://blog.krisvandermast.com/PermaLink,guid,822596f0-78ab-4533-87ac-fc17bd3420d7.aspx</id>
    <published>2009-11-28T10:46:26.0845-05:00</published>
    <updated>2009-11-28T10:46:26.0845-05:00</updated>
    <category term="Visual Studio" label="Visual Studio" scheme="http://blog.krisvandermast.com/CategoryView,category,VisualStudio.aspx" />
    <category term="Visual Studio 2010" label="Visual Studio 2010" scheme="http://blog.krisvandermast.com/CategoryView,category,VisualStudio2010.aspx" />
    <author>
      <name>Kris van der Mast</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I got this question in one of the <a title="Visual Studio 2010" href="http://blog.krisvandermast.com/ct.ashx?id=822596f0-78ab-4533-87ac-fc17bd3420d7&amp;url=http%3a%2f%2fforums.asp.net%2f1213.aspx" target="_blank">new
forums over at ASP.NET</a>. I took a bit of time to search and this is the result
I came up with:
</p>
        <p>
          <strong>Default</strong>:
</p>
        <p>
By default when you right click on the MDI document tab you get this context menu
which will look familiar to most people from previous versions of Visual Studio.
</p>
        <p>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=822596f0-78ab-4533-87ac-fc17bd3420d7&amp;url=http%3a%2f%2fblog.krisvandermast.com%2fcontent%2fbinary%2fWindowsLiveWriter%2fVisualStudio2010Addanextracontextmenuite_E921%2fvs2010_mdi_01_4.png" target="_blank">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="vs2010_mdi_01" border="0" alt="vs2010_mdi_01" src="http://blog.krisvandermast.com/content/binary/WindowsLiveWriter/VisualStudio2010Addanextracontextmenuite_E921/vs2010_mdi_01_thumb_1.png" width="244" height="153" />
          </a>
        </p>
        <p>
          <strong>Solution</strong>:
</p>
        <p>
Use the menu and to go <strong>Tools</strong>, <strong>Customize</strong>…
</p>
        <p>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=822596f0-78ab-4533-87ac-fc17bd3420d7&amp;url=http%3a%2f%2fblog.krisvandermast.com%2fcontent%2fbinary%2fWindowsLiveWriter%2fVisualStudio2010Addanextracontextmenuite_E921%2fvs2010_mdi_02_2.png" target="_blank">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="vs2010_mdi_02" border="0" alt="vs2010_mdi_02" src="http://blog.krisvandermast.com/content/binary/WindowsLiveWriter/VisualStudio2010Addanextracontextmenuite_E921/vs2010_mdi_02_thumb.png" width="244" height="146" />
          </a>
        </p>
        <p>
Then from the new window select the second tab <strong>Commands</strong>. Check the
radiobutton <strong>context menu</strong> and from the combobox choose <strong>Other
Context Menus | Easy MDI Document Window</strong>: 
</p>
        <p>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=822596f0-78ab-4533-87ac-fc17bd3420d7&amp;url=http%3a%2f%2fblog.krisvandermast.com%2fcontent%2fbinary%2fWindowsLiveWriter%2fVisualStudio2010Addanextracontextmenuite_E921%2fvs2010_mdi_03_2.png" target="_blank">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="vs2010_mdi_03" border="0" alt="vs2010_mdi_03" src="http://blog.krisvandermast.com/content/binary/WindowsLiveWriter/VisualStudio2010Addanextracontextmenuite_E921/vs2010_mdi_03_thumb.png" width="237" height="244" />
          </a>
        </p>
        <p>
Click the <strong>Add Command…</strong> button and from the new window choose on the
left <strong>Window</strong> and on the right <strong>Close all documents</strong>.
</p>
        <p>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=822596f0-78ab-4533-87ac-fc17bd3420d7&amp;url=http%3a%2f%2fblog.krisvandermast.com%2fcontent%2fbinary%2fWindowsLiveWriter%2fVisualStudio2010Addanextracontextmenuite_E921%2fvs2010_mdi_04_2.png" target="_blank">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="vs2010_mdi_04" border="0" alt="vs2010_mdi_04" src="http://blog.krisvandermast.com/content/binary/WindowsLiveWriter/VisualStudio2010Addanextracontextmenuite_E921/vs2010_mdi_04_thumb.png" width="244" height="156" />
          </a>
        </p>
        <p>
Click on the OK and then on the Close button and you’re done. Nice and easy.
</p>
        <p>
          <strong>Result</strong>:
</p>
        <p>
Your newly added context menu item for the MDI tab in all its glory:
</p>
        <p>
          <a href="http://blog.krisvandermast.com/ct.ashx?id=822596f0-78ab-4533-87ac-fc17bd3420d7&amp;url=http%3a%2f%2fblog.krisvandermast.com%2fcontent%2fbinary%2fWindowsLiveWriter%2fVisualStudio2010Addanextracontextmenuite_E921%2fvs2010_mdi_05_2.png" target="_blank">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="vs2010_mdi_05" border="0" alt="vs2010_mdi_05" src="http://blog.krisvandermast.com/content/binary/WindowsLiveWriter/VisualStudio2010Addanextracontextmenuite_E921/vs2010_mdi_05_thumb.png" width="244" height="147" />
          </a>
        </p>
        <p>
Grz, Kris.
</p>
        <img width="0" height="0" src="http://blog.krisvandermast.com/aggbug.ashx?id=822596f0-78ab-4533-87ac-fc17bd3420d7" />
      </div>
    </content>
  </entry>
</feed>