<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MsHelp</title>
	<atom:link href="http://mshelp.be/feed" rel="self" type="application/rss+xml" />
	<link>http://mshelp.be</link>
	<description>Windows, .NET2.0, .NET3.5</description>
	<lastBuildDate>Tue, 11 May 2010 22:38:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Things to read: 12/05/2010</title>
		<link>http://mshelp.be/things-to-read-12052010-346.htm</link>
		<comments>http://mshelp.be/things-to-read-12052010-346.htm#comments</comments>
		<pubDate>Tue, 11 May 2010 22:38:25 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[]]></category>

		<guid isPermaLink="false">http://mshelp.be/things-to-read-12052010-346.htm</guid>
		<description><![CDATA[

Windows Identity Foundation SDK 4.0 Supports Visual Studio 2010


SharePoint 2010 Demo Virtual Machine


Export SQL table records to XML form


New Visual Studio Magazine Article on Building Data Bound WPF and Silverlight Applications


Visual Studio 2010: How to understand your code using Dependency Graphs, Sequence Diagrams, and the Architecture Explorer


ASP.NET Security Scenarios on Azure


OData and Authentication series


Getting Started [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>
<h4><a href="http://blogs.msdn.com/usisvde/archive/2010/05/11/windows-identity-foundation-sdk-4-0-supports-visual-studio-2010.aspx">Windows Identity Foundation SDK 4.0 Supports Visual Studio 2010</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/oallen/archive/2010/05/11/sharepoint-2010-demo-virtual-machine.aspx">SharePoint 2010 Demo Virtual Machine</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/saurabh_singh/archive/2010/05/11/export-sql-table-records-to-xml-form.aspx">Export SQL table records to XML form</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/wpfsldesigner/archive/2010/05/11/new-visual-studio-magazine-article-on-building-data-bound-wpf-and-silverlight-applications.aspx">New Visual Studio Magazine Article on Building Data Bound WPF and Silverlight Applications</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/jennifer/archive/2010/05/11/visual-studio-2010-how-to-understand-your-code-using-dependency-graphs-sequence-diagrams-and-the-architecture-explorer.aspx">Visual Studio 2010: How to understand your code using Dependency Graphs, Sequence Diagrams, and the Architecture Explorer</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/jmeier/archive/2010/05/11/asp-net-security-scenarios-on-azure.aspx">ASP.NET Security Scenarios on Azure</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/marcelolr/archive/2010/05/11/odata-and-authentication-series.aspx">OData and Authentication series</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/ericwhite/archive/2010/05/11/getting-started-building-a-wcf-web-service.aspx">Getting Started Building a WCF Web Service</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/echarran/archive/2010/05/11/info-planning-for-virtualization-for-sharepoint-2010.aspx">INFO: Planning for Virtualization for SharePoint 2010</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/ukadc/archive/2010/05/11/unity-2-0-automatic-builders.aspx">Unity 2.0 â€“ Automatic Builders</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/dparys/archive/2010/05/11/windows-azure-management-console-version-2.aspx">Windows Azure Management Console Version 2</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/jmprieur/archive/2010/05/11/a-nice-article-from-netfxfactory-about-using-wpf-databinding-feature-in-the-dsl-tools-2010.aspx">A nice article from NetFxFactory about using WPF-databinding feature in the DSL Tools 2010</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/ayyash/archive/2010/05/11/free-sql-azure-clinic-from-microsoft-elearning.aspx">Free SQL Azure Clinic from Microsoft eLearning</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/silverlightws/archive/2010/05/10/fiddler-inspector-for-wcf-silverlight-polling-duplex-and-wcf-ria.aspx">Fiddler inspector for WCF Silverlight Polling Duplex and WCF RIA </a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/benoitsarie/archive/2010/05/10/visual-studio-2010-how-to-deploy-a-web-application-with-web-application-project-deployment-part-2.aspx">Visual Studio 2010 : How to deploy a Web application with Web Application Project Deployment (Part 2)</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/sqlazure/archive/2010/05/10/10009232.aspx">SELECT * AND SQL Azure</a></h4>
</li>
<li>
<h4><a href="http://blogs.msdn.com/innov8showcase/archive/2010/05/10/office-2010-training-kit-released.aspx">Office 2010 Training Kit Released</a></h4>
<h4></h4>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/things-to-read-12052010-346.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2010 presentation posted to SlideShare</title>
		<link>http://mshelp.be/visual-studio-2010-presentation-posted-to-slideshare-344.htm</link>
		<comments>http://mshelp.be/visual-studio-2010-presentation-posted-to-slideshare-344.htm#comments</comments>
		<pubDate>Sun, 02 May 2010 00:25:25 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[Presentation]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://mshelp.be/visual-studio-2010-presentation-posted-to-slideshare-344.htm</guid>
		<description><![CDATA[Earlier this month I did a presentation on Visual Studio 2010 for the company I work for. I kinda forgot to upload the slides right after. Busy period.
So here are the slides. If you have any question let me know. 
This presentation covers the following topics:
- Visual Studio 2010 IDE enhancements/changes
- Architecture possibilities
- New debugging [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this month I did a presentation on Visual Studio 2010 for the company I work for. I kinda forgot to upload the slides right after. Busy period.</p>
<p>So here are the slides. If you have any question let me know. </p>
<p>This presentation covers the following topics:</p>
<p>- Visual Studio 2010 IDE enhancements/changes</p>
<p>- Architecture possibilities</p>
<p>- New debugging experience (IntelliTrace, Breakpoints enhancements, datatips)</p>
<p>- Whatâ€™s new for Testers?</p>
<p><strong>PS</strong>: If you want to have some more detailed information on testing in Visual Studio 2010 and TFS 2010, check out <a href="http://codesmartnothard.com/SlideDeckFromWhatsNewForTestingInVisualStudio2010AndTFS2010.aspx">Slide Deck from Whats New for Testing in Visual Studio 2010 and TFS 2010</a>. Webcast of this presentation can be found here: <a href="http://www.deliveron.com/blog/post/Whats-New-for-Testing-in-Visual-Studio-2010-Webcast.aspx">Whats New for Testing in Visual Studio 2010 Webcast</a></p>
<p>- Extending Visual studio</p>
<p>- Other new features</p>
<div style="width: 425px" id="__ss_3861370"><strong style="margin: 12px 0px 4px; display: block"><a title="Exploring Visual Studio 2010" href="http://www.slideshare.net/SvenVanoirbee/exploring-visual-studio-2010">Exploring Visual Studio 2010</a></strong><object id="__sse3861370" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=vs2010presentation2-100426133843-phpapp01&amp;stripped_title=exploring-visual-studio-2010" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed name="__sse3861370" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=vs2010presentation2-100426133843-phpapp01&amp;stripped_title=exploring-visual-studio-2010" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding-bottom: 12px; padding-left: 0px; padding-right: 0px; padding-top: 5px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/SvenVanoirbee">SvenVanoirbee</a>.</div>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/visual-studio-2010-presentation-posted-to-slideshare-344.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Having fun with WCF</title>
		<link>http://mshelp.be/having-fun-with-wcf-343.htm</link>
		<comments>http://mshelp.be/having-fun-with-wcf-343.htm#comments</comments>
		<pubDate>Sun, 02 May 2010 00:16:00 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://mshelp.be/having-fun-with-wcf-343.htm</guid>
		<description><![CDATA[On my current project I have really started â€œworkingâ€ (not like before, experimenting) with WCF and to be honest this is the kind of technology I really like to work with. I love to do .NET programming in general, but when it comes to services, WCF in particular. Thatâ€™s really my thing! 
I did however [...]]]></description>
			<content:encoded><![CDATA[<p>On my current project I have really started â€œworkingâ€ (not like before, experimenting) with WCF and to be honest this is the kind of technology I really like to work with. I love to do .NET programming in general, but when it comes to services, WCF in particular. Thatâ€™s really my thing! </p>
<p>I did however feel that I didnâ€™t know nearly enough to call myself a WCF guru. Thatâ€™s why I picked up a book on WCF and started playing around with it. This newly gained knowledge is something I would like to share with you.</p>
<p>So in the coming..days, weeks, months, years..Iâ€™ll be posting more on WCF. Other stuff will also be posted but thereâ€™s definitely going to be more on WCF. </p>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/having-fun-with-wcf-343.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Looking for Crystal Reports for Visual Studio 2010?</title>
		<link>http://mshelp.be/looking-for-crystal-reports-for-visual-studio-2010-342.htm</link>
		<comments>http://mshelp.be/looking-for-crystal-reports-for-visual-studio-2010-342.htm#comments</comments>
		<pubDate>Mon, 19 Apr 2010 22:14:22 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[Crystal Reports]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://mshelp.be/looking-for-crystal-reports-for-visual-studio-2010-342.htm</guid>
		<description><![CDATA[Well Crystal Reports isnâ€™t included in VS2010 by default any more. From now on you need to download Crystal Reports from SAP.com. The good thing however is that you will be able to download this free, without any registration required. Thatâ€™s good news, right?
So if you want some more information on this new release for [...]]]></description>
			<content:encoded><![CDATA[<p>Well Crystal Reports isnâ€™t included in VS2010 by default any more. From now on you need to download Crystal Reports from <a href="sap.com">SAP.com</a>. The good thing however is that you will be able to download this <strong>free, without any registration required</strong>. Thatâ€™s good news, right?</p>
<p>So if you want some more information on this new release for VS2010, check out <a href="http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14514">Crystal Reports in Visual Studio 2010 on sap.com</a>. Or if you donâ€™t want to get started, you can download Crystal Reports for VS2010 <a href="http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18793">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/looking-for-crystal-reports-for-visual-studio-2010-342.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2010 has been released!!</title>
		<link>http://mshelp.be/visual-studio-2010-has-been-released-341.htm</link>
		<comments>http://mshelp.be/visual-studio-2010-has-been-released-341.htm#comments</comments>
		<pubDate>Mon, 12 Apr 2010 21:31:34 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://mshelp.be/visual-studio-2010-has-been-released-341.htm</guid>
		<description><![CDATA[Itâ€™s out there!!
from Somaâ€™s site
The new release of Visual Studio 2010 has plenty of compelling new features and updates that will make every developer more productive. 
Â· Visual Studio 2010 allows users target of the right platform for their application, including Windows 7, Windows Server 2008 R2, SQL Server 2008, SharePoint. Office, Windows Azure, and [...]]]></description>
			<content:encoded><![CDATA[<p>Itâ€™s out there!!</p>
<p>from <a href="http://blogs.msdn.com/somasegar/archive/2010/04/11/announcing-visual-studio-2010-and-net-framework-4.aspx">Somaâ€™s site</a></p>
<p>The new release of Visual Studio 2010 has plenty of compelling new features and updates that will make every developer more productive. </p>
<p>Â· Visual Studio 2010 allows users target of the right platform for their application, including Windows 7, Windows Server 2008 R2, SQL Server 2008, SharePoint. Office, Windows Azure, and Windows Phone 7 applications using their existing skills.</p>
<p>Â· Visual Studio 2010 is a rich, personalized development environment. We know that software developers spend much of their time in the IDE, and features like the new editor and multi-monitor support make your time in Visual Studio more productive and enjoyable. </p>
<p>Â· Teams are able to work more efficiently using Application Lifecycle Management tools. Weâ€™ve done a great deal of work in Visual Studio 2010 to improve testing and debugging tools. Features like IntelliTrace and easy project management help your team ensure high quality.</p>
<p>Itâ€™s really cool that you could <a href="http://www.microsoft.com/visualstudio/en-us/watch-it-live">follow the keynote live</a> and even ask questions via <a href="http://twitter.com/ch9live">Twitter</a>.</p>
<p><a href="http://www.mshelp.be/img/VisualStudio2010hasbeenreleased_14ABF/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.mshelp.be/img/VisualStudio2010hasbeenreleased_14ABF/image_thumb.png" width="644" height="468" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/visual-studio-2010-has-been-released-341.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS SQL Server Samples</title>
		<link>http://mshelp.be/ms-sql-server-samples-340.htm</link>
		<comments>http://mshelp.be/ms-sql-server-samples-340.htm#comments</comments>
		<pubDate>Mon, 05 Apr 2010 17:58:04 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[Microsoft SQL Server]]></category>

		<guid isPermaLink="false">http://mshelp.be/ms-sql-server-samples-340.htm</guid>
		<description><![CDATA[Looking for some sample data to populate your database (SQL Server 2005/2008/R2, SQL Azure) with? Have a look at this link on CodePlex
]]></description>
			<content:encoded><![CDATA[<p>Looking for some sample data to populate your database (SQL Server 2005/2008/R2, SQL Azure) with? Have a look at this link on <a href="http://msftdbprodsamples.codeplex.com/">CodePlex</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/ms-sql-server-samples-340.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Hands on labs for Sharepoint 2010 development</title>
		<link>http://mshelp.be/10-hands-on-labs-for-sharepoint-2010-development-339.htm</link>
		<comments>http://mshelp.be/10-hands-on-labs-for-sharepoint-2010-development-339.htm#comments</comments>
		<pubDate>Mon, 05 Apr 2010 13:52:01 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://mshelp.be/10-hands-on-labs-for-sharepoint-2010-development-339.htm</guid>
		<description><![CDATA[Use these 10 hands-on lab manuals for SharePoint 2010 to get started learning SharePoint 2010 development. Each lab is available in C# and Visual Basic.    HOL01 - Developing a Visual Web Part in Visual Studio 2010    This hands-on lab introduces the Visual Studio 2010 SharePoint development environment. It shows [...]]]></description>
			<content:encoded><![CDATA[<p>Use these 10 hands-on lab manuals for SharePoint 2010 to get started learning SharePoint 2010 development. Each lab is available in C# and Visual Basic.    <br />HOL01 -<strong> Developing a Visual Web Part in Visual Studio 2010</strong>    <br />This hands-on lab introduces the Visual Studio 2010 SharePoint development environment. It shows how to build a Visual Web Part using LINQ to SharePoint, and how to connect one Web Part to another Web Part on the page.     <br />HOL02 -<strong> Developing a List Definition and Event Receiver in Visual Studio 2010      <br /></strong>This hands-on lab walks you through building a list definition for SharePoint 2010 in Visual Studio 2010. It also shows how to build an event receiver for the list in Visual Studio 2010 and deploy it to SharePoint. After the list and event receiver are deployed, you can use the developer dashboard to evaluate the performance of the event receiver.     <br />HOL03 &#8211; <strong>Developing Advanced Web Parts for SharePoint 2010 with Visual Studio 2010      <br /></strong>This hands-on lab shows how to build a Web Part using several SharePoint-specific controls in Visual Studio 2010. Investigate advanced built-in Web Parts, including the Data View Web Part.     <br />HOL04 &#8211; <strong>Developing with LINQ to SharePoint in Visual Studio 2010      <br /></strong>This hands-on lab explores a variety of LINQ queries on SharePoint 2010, going into more depth than the introductory hands-on lab. It also walks you through an exercise of creating a custom content type in Visual Studio 2010.     <br />HOL05 -<strong> Developing for SharePoint 2010 with the Client OM and REST in Visual Studio 2010      <br /></strong>This hands-on lab introduces the Client object model for use in calling SharePoint 2010 APIs from a client machine. It also shows the use of ADO.NET Data Services to call REST services in SharePoint 2010.     <br />HOL06 &#8211; <strong>Developing a BCS External Content Type with Visual Studio 2010      <br /></strong>This hands-on lab walks you through building an external content type for Business Connectivity Services using Visual Studio 2010. It also builds a form for Microsoft Outlook and shows the data being edited offline in Outlook.     <br />HOL07 &#8211; <strong>Developing a SharePoint 2010 Workflow with Initiation Form in Visual Studio 2010      <br /></strong>This hands-on lab walks you through building a workflow in Visual Studio 2010 for SharePoint 2010. You add an initiation form to the workflow and use an external data exchange activity in the workflow.     <br />HOL08 -<strong> Developing SharePoint 2010 User Interface with Silverlight in Visual Studio 2010     <br /></strong>This hands-on lab walks you through building Microsoft Silverlight applications for use in SharePoint 2010. You will access SharePoint 2010 data in Silverlight using the Client object model.     <br />HOL09 &#8211; <strong>Developing SharePoint 2010 Sandboxed Solutions in Visual Studio 2010      <br /></strong>This hands-on lab walks you through building a Sandboxed Solution Web Part for SharePoint 2010. It will also add code to the Web Part that overloads the limits placed by the sandboxed solution, and you will review how the solution is shut down.     <br />HOL10 -<strong> Developing SharePoint 2010 User Interface Ribbon and Dialog Customizations     <br /></strong>This hands-on lab walks you through adding a custom action to the SharePoint 2010 ribbon, and creating a Web Part that uses the Dialog Framework.</p>
<p>Download them on <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c010fc68-b47f-4db6-b8a8-ad4ba33a35c5&amp;displaylang=en">Microsoft Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/10-hands-on-labs-for-sharepoint-2010-development-339.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Employee Info Starter Kit (v4.0.0) with HttpException</title>
		<link>http://mshelp.be/employee-info-starter-kit-v4-0-0-with-httpexception-337.htm</link>
		<comments>http://mshelp.be/employee-info-starter-kit-v4-0-0-with-httpexception-337.htm#comments</comments>
		<pubDate>Sun, 04 Apr 2010 22:38:34 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://mshelp.be/employee-info-starter-kit-v4-0-0-with-httpexception-337.htm</guid>
		<description><![CDATA[So I wanted to have a look at the new Employee Info Starter Kit. This sample application covers some of the new technology that you can use with ASP.NET Webforms. You can download the sample application here. So I extracted the package, set the correct start up project and started the application. All of a [...]]]></description>
			<content:encoded><![CDATA[<p>So I wanted to have a look at the new Employee Info Starter Kit. This sample application covers some of the new technology that you can use with ASP.NET Webforms. You can download the sample application <a href="http://eisk.codeplex.com/releases/view/42206">here</a>. So I extracted the package, set the correct start up project and started the application. All of a sudden, before the application actually started up, Iâ€™m greeted with this exception:</p>
<p><em><font color="#808080" size="2">System.Web.HttpException (0&#215;80004005): Session state has created a session id, but cannot save it because the response was already flushed by the application.\r\n&#160;&#160; at System.Web.SessionState.SessionIDManager.SaveSessionID(HttpContext context, String id, Boolean&amp; redirected, Boolean&amp; cookieAdded)\r\n&#160;&#160; at System.Web.SessionState.SessionStateModule.CreateSessionId()\r\n&#160;&#160; at System.Web.SessionState.SessionStateModule.DelayedGetSessionId()\r\n&#160;&#160; at System.Web.SessionState.SessionStateModule.ReleaseStateGetSessionID()\r\n&#160;&#160; at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)\r\n&#160;&#160; at System.Web.SessionState.SessionStateModule.OnEndRequest(Object source, EventArgs eventArgs)\r\n&#160;&#160; at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n&#160;&#160; at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)</font></em></p>
<p>Seems like there is something wrong with the session. Opened up my favourite browser and did some searching. Some minutes later, I had found the solution and here it is..</p>
<p>Open Global.asax and make sure the Session_Start method looks like this:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:8f58c926-539f-48ca-84dd-888a50117fc0" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;white-space:-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;overflow: auto;"><span style="color: #0000FF;">protected</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> Session_Start(</span><span style="color: #0000FF;">object</span><span style="color: #000000;"> sender, EventArgs e)
{
   </span><span style="color: #0000FF;">string</span><span style="color: #000000;"> sessionId </span><span style="color: #000000;">=</span><span style="color: #000000;"> Session.SessionID;

   </span><span style="color: #0000FF;">if</span><span style="color: #000000;"> (</span><span style="color: #000000;">!</span><span style="color: #000000;">Eisk.DataAccessHelpers.ConnectionStringManager.IsConnectionStringOk())
       Response.Redirect(</span><span style="color: #800000;">"</span><span style="color: #800000;">~/public/install.aspx</span><span style="color: #800000;">"</span><span style="color: #000000;">);

}</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>That should solve the problem! More info can be found <a href="http://www.codeverge.net/ng.asp-net-forum.migrating_from_asp-net_1-x_to_asp-net_2-0/error-session-state-has-created-a-session-id-but-cannot-save-it-because-the-response-was-already-flushed-by-the-application">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/employee-info-starter-kit-v4-0-0-with-httpexception-337.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failed to install ASP.NET MVC2 with Visual Studio 2010 RC</title>
		<link>http://mshelp.be/failed-to-install-asp-net-mvc2-with-visual-studio-2010-rc-336.htm</link>
		<comments>http://mshelp.be/failed-to-install-asp-net-mvc2-with-visual-studio-2010-rc-336.htm#comments</comments>
		<pubDate>Sat, 03 Apr 2010 18:38:30 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>

		<guid isPermaLink="false">http://mshelp.be/failed-to-install-asp-net-mvc2-with-visual-studio-2010-rc-336.htm</guid>
		<description><![CDATA[Today I wanted to experiment a little bit with ASP.NET MVC2. I downloaded the bits from Microsoft Download and clicked on the executable. Unfortunately an error occurred and the installation was stopped.
No worries, this is an easy fix. If you click on Details, then youâ€™ll see whatâ€™s going on. From my previous Visual Studio 2010 [...]]]></description>
			<content:encoded><![CDATA[<p>Today I wanted to experiment a little bit with ASP.NET MVC2. I downloaded the bits from <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=7aba081a-19b9-44c4-a247-3882c8f749e3">Microsoft Download</a> and clicked on the executable. Unfortunately an error occurred and the installation was stopped.</p>
<p>No worries, this is an easy fix. If you click on Details, then youâ€™ll see whatâ€™s going on. From my previous Visual Studio 2010 release, I still had an older version of ASP.NET MVC. </p>
<p><a href="http://www.mshelp.be/img/Failedtoin.NETMVC2withVisualStudio2010RC_12233/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.mshelp.be/img/Failedtoin.NETMVC2withVisualStudio2010RC_12233/image_thumb.png" width="538" height="400" /></a> </p>
<p><a href="http://www.mshelp.be/img/Failedtoin.NETMVC2withVisualStudio2010RC_12233/image_3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.mshelp.be/img/Failedtoin.NETMVC2withVisualStudio2010RC_12233/image_thumb_3.png" width="644" height="310" /></a> </p>
<p>I just removed ASP.NET MVC 2 and then tried to reinstall, this time it succeeded!</p>
<p><a href="http://www.mshelp.be/img/Failedtoin.NETMVC2withVisualStudio2010RC_12233/image_4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.mshelp.be/img/Failedtoin.NETMVC2withVisualStudio2010RC_12233/image_thumb_4.png" width="362" height="175" /></a> </p>
<p>Phil Haack has some more information on this on <a href="http://haacked.com/archive/2010/02/10/installing-asp-net-mvc-2-rc-2-on-visual-studio.aspx">his blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/failed-to-install-asp-net-mvc2-with-visual-studio-2010-rc-336.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Entity Framework 4.0 &#8211; Part4: How to use your own POCO&#8217;s</title>
		<link>http://mshelp.be/entity-framework-4-0-part4-how-to-use-your-own-pocos-333.htm</link>
		<comments>http://mshelp.be/entity-framework-4-0-part4-how-to-use-your-own-pocos-333.htm#comments</comments>
		<pubDate>Tue, 23 Mar 2010 22:54:29 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[ADO.NET]]></category>
		<category><![CDATA[Entity Framework]]></category>

		<guid isPermaLink="false">http://mshelp.be/entity-framework-4-0-part4-how-to-use-your-own-pocos-333.htm</guid>
		<description><![CDATA[These tutorials are built using Visual Studio 2010 RC and .NET 4.0. RC. This means that Entity Framework 4.0 is used. At the moment of writing this, VS2010 and .NET 4.0 are not yet released as RTM so information provided in this post could change in the future.
In the previous articles I mainly talked about [...]]]></description>
			<content:encoded><![CDATA[<p><em>These tutorials are built using Visual Studio 2010 RC and .NET 4.0. RC. This means that Entity Framework 4.0 is used. At the moment of writing this, VS2010 and .NET 4.0 are not yet released as RTM so information provided in this post could change in the future.</em></p>
<p>In the previous articles I mainly talked about things you could already do with eelier version of Entity Framework. EF4.0 has some better tooling, we saw this already with the <a href="http://mshelp.be/entity-framework-4-0-part3-complex-types-330.htm">complex types</a>. With the new version of Entity Framework there is also out of the box support for POCO (<a href="http://en.wikipedia.org/wiki/Plain_Old_CLR_Object">Plain Old CLR Objects</a>). This I personally like very much because Iâ€™m not such a big fan of generated classes. Previously you didnâ€™t have much choice. You had to work with the objectâ€™s that EF generated for you. Did you have some specific logic in your property getters or setters? Then you had to find another solution. Remapping your objects to something else was one of them. You could not rely on these generated classes to contain custom business logic. If you rebuilt the edmx, your custom logic would be removed and the classes would be regenerated. There were however some clever tricks to get POCO support working before EF4.0. For instance have a look at: <span style="text-decoration: underline;"><a href="http://code.msdn.microsoft.com/EFPocoAdapter">Persistence Ignorance (POCO) Adapter for Entity Framework</a>.</span></p>
<p>In EF4.0 we have POCO support, so we can use our own business objects, domain objects. so letâ€™s jump into the code and see how we work with that. Iâ€™ll use the same database as I used before.</p>
<p>- Create a new console application</p>
<p>- Add a new file to the project, choose ADO.NET Entity Data Model</p>
<p><a href="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_thumb.png" border="0" alt="image" width="644" height="446" /></a></p>
<p>- Here we see the same screen as we did before. Again weâ€™ll create a model based on the database. This is not obliged. You could create the model yourself, but for this I would just let EF generate the classes for you. You will save yourself a lot of time.</p>
<p><a href="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_thumb_3.png" border="0" alt="image" width="545" height="484" /></a></p>
<p>- Now we should select our data source, Iâ€™ll choose the same database that I used before</p>
<p><a href="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_thumb_4.png" border="0" alt="image" width="546" height="484" /></a></p>
<p>- Itâ€™s time to select the tables we want to work with. Iâ€™m just going to use the Article for this.</p>
<p><a href="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_5.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_thumb_5.png" border="0" alt="image" width="540" height="484" /></a></p>
<p>- If everything is fine, you should end up with the following diagram</p>
<p><a href="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_6.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_thumb_6.png" border="0" alt="image" width="560" height="484" /></a></p>
<p>-So letâ€™s summarize what happened:</p>
<blockquote><p>- EF retrieved the information on the database<br />
- Retrieved specific information on the table where you want to create entities for<br />
- Based on these entities, EF created the CSDL, SSDL and MSL<br />
- EF created the entities for you to access your data in the underlying table<br />
- For these entities, EF generated some classes</p></blockquote>
<p><a href="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_7.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_thumb_7.png" border="0" alt="image" width="644" height="437" /></a></p>
<p>- These generated classes are the objects that we want to replace with our own objects</p>
<p>- Letâ€™s first stop the auto generation process. Select your .edmx file in the solution explorer and press F4 to open the properties window. There you should see the property â€œCustom Toolâ€ with the value: EntityModelCodeGenerator. Go ahead and delete that value. Just make the field empty. If you rebuild now, youâ€™ll see immediately that the generated code behind file will go away.</p>
<p><a href="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_8.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_thumb_8.png" border="0" alt="image" width="361" height="350" /></a></p>
<p>- OK letâ€™s start by creating our POCO. One thing to remember is that this has to be EXACTLY the same as your entity. Do it wrong and you WILL get exceptionsâ€¦Iâ€™ll go over this later</p>
<p>- First letâ€™s create the Article class</p>
<div id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:c2514ed3-1b11-42e2-a168-30965c966442" class="wlWriterEditableSmartContent" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px">
<pre style="background-color:#FFFFFF;white-space:-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;overflow: auto;"><span style="color: #000000;">    </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">class</span><span style="color: #000000;"> Article
    {
       </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> Id { </span><span style="color: #0000FF;">get</span><span style="color: #000000;">; </span><span style="color: #0000FF;">set</span><span style="color: #000000;">; }
       </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">string</span><span style="color: #000000;"> Name { </span><span style="color: #0000FF;">get</span><span style="color: #000000;">; </span><span style="color: #0000FF;">set</span><span style="color: #000000;">; }
       </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">string</span><span style="color: #000000;"> Description { </span><span style="color: #0000FF;">get</span><span style="color: #000000;">; </span><span style="color: #0000FF;">set</span><span style="color: #000000;">; }
       </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> Double Price { </span><span style="color: #0000FF;">get</span><span style="color: #000000;">; </span><span style="color: #0000FF;">set</span><span style="color: #000000;">; }
       </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> Stock { </span><span style="color: #0000FF;">get</span><span style="color: #000000;">; </span><span style="color: #0000FF;">set</span><span style="color: #000000;">; }
    }</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>- As you can see this matches to my entity shown in the previous image</p>
<p>- Now we need a way of connecting to the model. The bridge between your POCO and the edmx file containing the mapping schema etc is the <a href="http://msdn.microsoft.com/en-us/library/system.data.objects.objectcontext.aspx">ObjectContext class</a>. This class uses the connection string in the App.Config file to connect to the edmx file and the underlying table. The connection string is one of the parameters we need to pass to the base constructor of the ObjectContext. In this ObjectContext implementation weâ€™ll also define the entities. This is called an <a href="http://msdn.microsoft.com/en-us/library/dd412719%28VS.100%29.aspx">ObjectSet</a>, thatâ€™s what we are adding to the ObjectContext. Letâ€™s have a look at this now:</p>
<div id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:c2d45218-eca0-4d44-b262-43fe7d585564" class="wlWriterEditableSmartContent" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px">
<pre style="background-color:#FFFFFF;white-space:-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;overflow: auto;"><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">class</span><span style="color: #000000;"> ArticleModel:ObjectContext
    {
        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> IObjectSet</span><span style="color: #000000;">&lt;</span><span style="color: #000000;">Article</span><span style="color: #000000;">&gt;</span><span style="color: #000000;"> Articles { </span><span style="color: #0000FF;">get</span><span style="color: #000000;">; </span><span style="color: #0000FF;">set</span><span style="color: #000000;">; }
        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> ArticleModel()
            : </span><span style="color: #0000FF;">base</span><span style="color: #000000;">(</span><span style="color: #800000;">"</span><span style="color: #800000;">name=DemoDBEntities</span><span style="color: #800000;">"</span><span style="color: #000000;">,</span><span style="color: #800000;">"</span><span style="color: #800000;">DemoDBEntities</span><span style="color: #800000;">"</span><span style="color: #000000;">)
        {
            </span><span style="color: #0000FF;">if</span><span style="color: #000000;"> (Articles </span><span style="color: #000000;">==</span><span style="color: #000000;"> </span><span style="color: #0000FF;">null</span><span style="color: #000000;">)
                Articles </span><span style="color: #000000;">=</span><span style="color: #000000;"> CreateObjectSet</span><span style="color: #000000;">&lt;</span><span style="color: #000000;">Article</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">();
        }
    }</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>- I donâ€™t think much explanation is needed anymore. The first parameter that I pass to the base constructor of the ObjectContext class is the connection string, the second one is the name of the container. There are some different ways that you can do this..the Object Browser tells you how:</p>
<p><a href="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_9.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_thumb_9.png" border="0" alt="image" width="644" height="434" /></a></p>
<p>- OK weâ€™re almost done! Now letâ€™s test run what we just created</p>
<div id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:afe5df71-60cb-4fab-bdc7-fde4ab927e23" class="wlWriterEditableSmartContent" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px">
<pre style="background-color:#FFFFFF;white-space:-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;overflow: auto;"><span style="color: #000000;">    </span><span style="color: #0000FF;">class</span><span style="color: #000000;"> Program
    {
    </span><span style="color: #0000FF;">static</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> Main(</span><span style="color: #0000FF;">string</span><span style="color: #000000;">[] args)
    {
        var am </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">new</span><span style="color: #000000;"> ArticleModel();

        </span><span style="color: #0000FF;">foreach</span><span style="color: #000000;"> (var art </span><span style="color: #0000FF;">in</span><span style="color: #000000;"> am.Articles)
        {
            Console.WriteLine(art.Name);
        }
        Console.ReadLine();
    }</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p><a href="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://www.mshelp.be/img/EntityFramewo.0Part4HowtouseyourownPOCOs_14EF6/image_thumb_10.png" border="0" alt="image" width="644" height="326" /></a></p>
<p><strong>Exceptions</strong></p>
<p>Now something short on exceptions because exception can occur while working with your own POCOâ€™s.</p>
<p>- Make sure your object properties are the same as the properties in your EF entity. If you donâ€™t have the same properties, then youâ€™ll receive an InvalidOperationException saying something like: <strong>Mapping and metadata information could not be found for EntityType &#8216;EFPOCO1.Article&#8217;. </strong>I donâ€™t like these kind of errors because they do not show which column is wrong. You have match every property and see which one is different.</p>
<p>- Make sure your App.Config can be read. If the ObjectContext canâ€™t locate the App.Config or the name of the connection string is incorrect then youâ€™ll receive an ArgumentException saying something like: <strong>The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid. </strong></p>
<p>OK as you can see it isnâ€™t that hard to use your own POCOâ€™s. Iâ€™m not saying EF generated classes are bad, itâ€™s just that if you have some specific logic that you want to have in your objects, then youâ€™re kind of stuck and need to be creative.</p>
<p>Anyway, hope this was informative.</p>
<p><a rev="vote-for" href="http://dotnetshoutout.com/MsHelp-Entity-Framework-40-Part4-How-to-use-your-own-POCOs"><img style="border:0px" src="http://dotnetshoutout.com/image.axd?url=http%3A%2F%2Fmshelp.be%2Fentity-framework-4-0-part4-how-to-use-your-own-pocos-333.htm" alt="Shout it" /></a><br />
<a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmshelp.be%2fentity-framework-4-0-part4-how-to-use-your-own-pocos-333.htm"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmshelp.be%2fentity-framework-4-0-part4-how-to-use-your-own-pocos-333.htm" border="0" alt="kick it on DotNetKicks.com" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/entity-framework-4-0-part4-how-to-use-your-own-pocos-333.htm/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
