<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Visual Studio</title><subtitle type="html">jonathan wells, product manager</subtitle><id>http://blogs.msdn.com/onoj/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/onoj/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2007-05-09T15:54:00Z</updated><entry><title>Compose #WPF applications using pre-defined designer created views #XAML(AppModels)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2009/06/29/compose-wpf-applications-using-pre-defined-designer-created-views-xaml-appmodels.aspx" /><id>http://blogs.msdn.com/onoj/archive/2009/06/29/compose-wpf-applications-using-pre-defined-designer-created-views-xaml-appmodels.aspx</id><published>2009-06-29T17:43:49Z</published><updated>2009-06-29T17:43:49Z</updated><content type="html">Technorati Tags: WPF , XAML , Sample AppModels are now live on CodePlex When you are facing the buy-vs-build question, often the reason for &amp;quot;build&amp;quot; is that you have a unique back end. You would probably be happy to use a front end you didn't write, as long as you could hook it into your data store. The Application Models project is aimed at just this problem. AppModels are pre-packaged XAML views and data models organized around application domains such as Project Management, Sales and...(&lt;a href="http://blogs.msdn.com/onoj/archive/2009/06/29/compose-wpf-applications-using-pre-defined-designer-created-views-xaml-appmodels.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9808645" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="Sample" scheme="http://blogs.msdn.com/onoj/archive/tags/Sample/default.aspx" /><category term="WPF" scheme="http://blogs.msdn.com/onoj/archive/tags/WPF/default.aspx" /><category term="XAML" scheme="http://blogs.msdn.com/onoj/archive/tags/XAML/default.aspx" /></entry><entry><title>Windows 7 API Code Pack for .NET Framework: DX Types are disposable; explanation. #Win7 #CodePack #vs</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2009/05/28/windows-7-api-code-pack-for-net-framework-dx-types-are-disposable-explanation-win7-codepack-vs.aspx" /><id>http://blogs.msdn.com/onoj/archive/2009/05/28/windows-7-api-code-pack-for-net-framework-dx-types-are-disposable-explanation-win7-codepack-vs.aspx</id><published>2009-05-28T16:20:00Z</published><updated>2009-05-28T16:20:00Z</updated><content type="html">@SlimDX asked on twitter last week: Dear Windows API Code Pack: I may be mistaken, but your DX types aren't actually disposable from what I saw. What? Here is a response from a developer on the Code Pack project: Yes, we do support Dispose() on all of our wrapper types. At first glance it might not be very obvious how we support it, but here's how: C++/CLI generates the IDisposable pattern supporting method, Dispose(),.if we implement the equivalent ~ (destructor) on a ref class or struct, which...(&lt;a href="http://blogs.msdn.com/onoj/archive/2009/05/28/windows-7-api-code-pack-for-net-framework-dx-types-are-disposable-explanation-win7-codepack-vs.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9647165" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="Windows 7" scheme="http://blogs.msdn.com/onoj/archive/tags/Windows+7/default.aspx" /><category term="Code Pack" scheme="http://blogs.msdn.com/onoj/archive/tags/Code+Pack/default.aspx" /></entry><entry><title>Visual Studio 2010 and .NET Framework 4 Training Kit #vs10</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2009/05/22/visual-studio-2010-and-net-framework-4-training-kit-vs10.aspx" /><id>http://blogs.msdn.com/onoj/archive/2009/05/22/visual-studio-2010-and-net-framework-4-training-kit-vs10.aspx</id><published>2009-05-22T15:02:42Z</published><updated>2009-05-22T15:02:42Z</updated><content type="html">The training kit is here . 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: C# 4.0 Visual Basic 10 F# Parallel Extensions Windows Communication Foundation Windows Workflow Windows Presentation Foundation ASP.NET 4 Entity Framework ADO.NET Data Services Managed Extensibility Framework Visual Studio Team...(&lt;a href="http://blogs.msdn.com/onoj/archive/2009/05/22/visual-studio-2010-and-net-framework-4-training-kit-vs10.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9635092" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="Sample" scheme="http://blogs.msdn.com/onoj/archive/tags/Sample/default.aspx" /><category term="Visual Studio 2010" scheme="http://blogs.msdn.com/onoj/archive/tags/Visual+Studio+2010/default.aspx" /></entry><entry><title>Visual Studio 2010 Beta 1 download options</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2009/05/19/visual-studio-2010-beta-1-download-options.aspx" /><id>http://blogs.msdn.com/onoj/archive/2009/05/19/visual-studio-2010-beta-1-download-options.aspx</id><published>2009-05-20T00:59:00Z</published><updated>2009-05-20T00:59:00Z</updated><content type="html">Visual Studio 2010 and .NET Framework 4 mark the next generation of developer tools from Microsoft. Download the beta today! Professional Visual Studio 2010 Professional Beta 1 – Web Installer Visual Studio 2010 Professional Beta 1 – ISO Team System Visual Studio Team System 2010 Team Suite Beta 1 – Web Installer Visual Studio Team System 2010 Team Suite Beta 1 - ISO Visual Studio Team System 2010 Test Load Agent Beta 1 Visual Studio Team System 2010 Team Foundation Server Beta 1 Microsoft Visual...(&lt;a href="http://blogs.msdn.com/onoj/archive/2009/05/19/visual-studio-2010-beta-1-download-options.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9629837" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="Visual Studio 2010" scheme="http://blogs.msdn.com/onoj/archive/tags/Visual+Studio+2010/default.aspx" /></entry><entry><title>Install Window7 from USB Key onto netbook – what worked for me</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2009/05/10/install-window7-from-usb-key-onto-netbook-what-worked-for-me.aspx" /><id>http://blogs.msdn.com/onoj/archive/2009/05/10/install-window7-from-usb-key-onto-netbook-what-worked-for-me.aspx</id><published>2009-05-10T17:57:00Z</published><updated>2009-05-10T17:57:00Z</updated><content type="html">I just finished installing Windows 7 RC on my friends ASUS EEE PC 900 and it works great. There are a lot of different how to guides out there – i cobbled together my approach from a variety of sources. Here’s what I did: 1. Downloaded Windows 7 RC This proved to be harder than I thought it would be. First the default download manager that fires up after you register for the RC kept stalling on me. I had to keep stopping and starting it to get it to move (probably due to traffic). I then tried downloading...(&lt;a href="http://blogs.msdn.com/onoj/archive/2009/05/10/install-window7-from-usb-key-onto-netbook-what-worked-for-me.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9600611" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="Installation" scheme="http://blogs.msdn.com/onoj/archive/tags/Installation/default.aspx" /><category term="Windows7" scheme="http://blogs.msdn.com/onoj/archive/tags/Windows7/default.aspx" /><category term="USB Key" scheme="http://blogs.msdn.com/onoj/archive/tags/USB+Key/default.aspx" /></entry><entry><title>USB Key Installed Windows 7 – worked great</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2009/05/09/usb-key-installed-windows-7-worked-great.aspx" /><id>http://blogs.msdn.com/onoj/archive/2009/05/09/usb-key-installed-windows-7-worked-great.aspx</id><published>2009-05-09T16:20:32Z</published><updated>2009-05-09T16:20:32Z</updated><content type="html">I followed the instructions from the first hit here . Note that this approach requires Vista to make the USB key bootable. Most hits on that search seem to work ok – be sure to scan the comments though to pick up on typos in the articles (that will save you some time and frustration. The USB key install worked great and was quick!...(&lt;a href="http://blogs.msdn.com/onoj/archive/2009/05/09/usb-key-installed-windows-7-worked-great.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9599148" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author></entry><entry><title>Windows 7 API Code Pack for the .NET Framework 2min demos</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2009/05/07/windows-7-api-code-pack-for-the-net-framework-2min-demos.aspx" /><id>http://blogs.msdn.com/onoj/archive/2009/05/07/windows-7-api-code-pack-for-the-net-framework-2min-demos.aspx</id><published>2009-05-07T15:56:07Z</published><updated>2009-05-07T15:56:07Z</updated><content type="html">The Windows 7 API Code Pack for the .NET Framework (formerly VistaBridge ) wraps Windows 7 native functionality for easy consumption from your .NET Framework Windows 7 Client applications. Features in the 0.85 release include: Support for Windows Shell namespace objects, including the new Windows 7 libraries, Known Folders and non file system containers. Windows Vista and Windows 7 Task Dialogs. Windows 7 Explorer Browser Control supporting both WPF and Windows Forms. Support for Shell property system....(&lt;a href="http://blogs.msdn.com/onoj/archive/2009/05/07/windows-7-api-code-pack-for-the-net-framework-2min-demos.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9593536" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="CodePack" scheme="http://blogs.msdn.com/onoj/archive/tags/CodePack/default.aspx" /><category term="Windows7" scheme="http://blogs.msdn.com/onoj/archive/tags/Windows7/default.aspx" /><category term="Windows Client" scheme="http://blogs.msdn.com/onoj/archive/tags/Windows+Client/default.aspx" /></entry><entry><title>WinForms to WPF converter sample</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2009/05/05/winforms-to-wpf-converter-sample.aspx" /><id>http://blogs.msdn.com/onoj/archive/2009/05/05/winforms-to-wpf-converter-sample.aspx</id><published>2009-05-05T17:11:55Z</published><updated>2009-05-05T17:11:55Z</updated><content type="html">Eric Lee is creating a WinForms to WPF converter sample. Check it out on Codeplex . Or watch the short demo video ....(&lt;a href="http://blogs.msdn.com/onoj/archive/2009/05/05/winforms-to-wpf-converter-sample.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9588873" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author></entry><entry><title>MessageSecurityException was unhandled</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2008/07/02/messagesecurityexception-was-unhandled.aspx" /><id>http://blogs.msdn.com/onoj/archive/2008/07/02/messagesecurityexception-was-unhandled.aspx</id><published>2008-07-03T04:21:21Z</published><updated>2008-07-03T04:21:21Z</updated><content type="html">Just encountered this while attempting to call an 'https' web service that required NTLM authentication. Exception text: "The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'." Solution: Changed clientCredentialType to 'windows'. Do this in the app.config. Changed from: &amp;lt;security mode="Transport"&amp;gt; &amp;lt;transport clientCredentialType="None" proxyCredentialType="None" realm="" /&amp;gt; &amp;lt;message clientCredentialType="UserName"...(&lt;a href="http://blogs.msdn.com/onoj/archive/2008/07/02/messagesecurityexception-was-unhandled.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8682542" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author></entry><entry><title>NetDispatchFaultExcetion was unhandled</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2008/07/02/netdispatchfaultexcetion-was-unhandled.aspx" /><id>http://blogs.msdn.com/onoj/archive/2008/07/02/netdispatchfaultexcetion-was-unhandled.aspx</id><published>2008-07-03T04:08:40Z</published><updated>2008-07-03T04:08:40Z</updated><content type="html">I just came across this whilst making a web service call from a Windows Forms client application. Exception text: "The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:GetWizardInfoResponse . The InnerException message was 'There was an error deserializing the object of type DataManagementConsoleFileProducer.RegSysWebService.GetWizardInfoResponseBody. The maximum string content length quota (8192) has...(&lt;a href="http://blogs.msdn.com/onoj/archive/2008/07/02/netdispatchfaultexcetion-was-unhandled.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8682536" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="Code" scheme="http://blogs.msdn.com/onoj/archive/tags/Code/default.aspx" /><category term="Visual Studio 2008" scheme="http://blogs.msdn.com/onoj/archive/tags/Visual+Studio+2008/default.aspx" /><category term="WCF" scheme="http://blogs.msdn.com/onoj/archive/tags/WCF/default.aspx" /><category term="Solution" scheme="http://blogs.msdn.com/onoj/archive/tags/Solution/default.aspx" /></entry><entry><title>Incorrect Syntax near 'GO'... SqlCommand.ExecuteNonQuery();</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2008/02/26/incorrect-syntax-near-go-sqlcommand-executenonquery.aspx" /><id>http://blogs.msdn.com/onoj/archive/2008/02/26/incorrect-syntax-near-go-sqlcommand-executenonquery.aspx</id><published>2008-02-27T01:51:31Z</published><updated>2008-02-27T01:51:31Z</updated><content type="html">Whilst building an 'custom action' to install a database , I encountered a SqlException ("Incorrect syntax near...") when calling ExecuteNonQuery(). To solve the problem process sql commands separately (using 'GO' as a delimiter). Thankfully parsing the ".sql" file into commands is fairly straight forward: string [] commands = sql.Split( new string []{ "GO\r\n" , "GO " , "GO\t" }, StringSplitOptions.RemoveEmptyEntries ); foreach ( string c in commands) { command = new SqlCommand(c, masterConnection);...(&lt;a href="http://blogs.msdn.com/onoj/archive/2008/02/26/incorrect-syntax-near-go-sqlcommand-executenonquery.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7910744" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author></entry><entry><title>Windows Vista Security Series: Adding a Cipher Algorithm to Windows Vista</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2007/05/10/windows-vista-security-series-adding-a-cipher-algorithm-to-windows-vista.aspx" /><id>http://blogs.msdn.com/onoj/archive/2007/05/10/windows-vista-security-series-adding-a-cipher-algorithm-to-windows-vista.aspx</id><published>2007-05-10T20:43:00Z</published><updated>2007-05-10T20:43:00Z</updated><content type="html">Dan Griffin JWSecure, Inc. May 2007 Applies to: Windows Vista Summary: This whitepaper and accompanying sample demonstrates how to create and us a plug-in to support a new cipher algorithm in Windows; specifically TwoFish . Using a plug-is ideal, as existing crypto-agnostic applications can continue to use the existing messaging and encryption APIs without modification (15 printed pages). Download XPS version . Download the associated sample code, CNGSample.exe . Dependencies You must have the CNG...(&lt;a href="http://blogs.msdn.com/onoj/archive/2007/05/10/windows-vista-security-series-adding-a-cipher-algorithm-to-windows-vista.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2527019" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="Vista" scheme="http://blogs.msdn.com/onoj/archive/tags/Vista/default.aspx" /><category term="Security" scheme="http://blogs.msdn.com/onoj/archive/tags/Security/default.aspx" /><category term="Draft" scheme="http://blogs.msdn.com/onoj/archive/tags/Draft/default.aspx" /><category term="Sample" scheme="http://blogs.msdn.com/onoj/archive/tags/Sample/default.aspx" /></entry><entry><title>Windows Vista Sample - Remote Differential Compression</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2007/05/10/windows-vista-sample-remote-differential-compression.aspx" /><id>http://blogs.msdn.com/onoj/archive/2007/05/10/windows-vista-sample-remote-differential-compression.aspx</id><published>2007-05-10T20:35:00Z</published><updated>2007-05-10T20:35:00Z</updated><content type="html">Download RDCSample.exe . Dependencies You must have the Windows SDK for Windows Vista. If you do not install the SDK to the default location, which is listed below, you must update the Visual Studio Include and Library paths in the sample code accordingly. Download the Windows SDK for Windows Vista . The Windows Vista SDK installs to %ProgramFiles%\Microsoft SDKs\Windows\v6.0. Summary This code sample demonstrates the use of the Microsoft Remote Differential Compression COM interfaces in a .NET environment...(&lt;a href="http://blogs.msdn.com/onoj/archive/2007/05/10/windows-vista-sample-remote-differential-compression.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2526850" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="Vista" scheme="http://blogs.msdn.com/onoj/archive/tags/Vista/default.aspx" /><category term="Draft" scheme="http://blogs.msdn.com/onoj/archive/tags/Draft/default.aspx" /><category term="Sample" scheme="http://blogs.msdn.com/onoj/archive/tags/Sample/default.aspx" /></entry><entry><title>Windows Vista Security Sample - IPsecPing</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2007/05/10/windows-vista-security-sample-ipsecping.aspx" /><id>http://blogs.msdn.com/onoj/archive/2007/05/10/windows-vista-security-sample-ipsecping.aspx</id><published>2007-05-10T20:19:00Z</published><updated>2007-05-10T20:19:00Z</updated><content type="html">Download IPsecPingSample.exe . Dependencies You must have the Windows SDK for Windows Vista. If you do not install the SDK to the default location, which is listed below, you must update the Visual Studio Include and Library paths in the sample code accordingly. Download the Windows SDK for Windows Vista . The Windows Vista SDK installs to %ProgramFiles%\Microsoft SDKs\Windows\v6.0. The following Visual Studio 2005 project is included in the download: PingS This project produces IPSecPing.exe, an...(&lt;a href="http://blogs.msdn.com/onoj/archive/2007/05/10/windows-vista-security-sample-ipsecping.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2526515" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="Vista" scheme="http://blogs.msdn.com/onoj/archive/tags/Vista/default.aspx" /><category term="Security" scheme="http://blogs.msdn.com/onoj/archive/tags/Security/default.aspx" /><category term="Draft" scheme="http://blogs.msdn.com/onoj/archive/tags/Draft/default.aspx" /><category term="Sample" scheme="http://blogs.msdn.com/onoj/archive/tags/Sample/default.aspx" /></entry><entry><title>Windows Vista Security Series: Programming the Windows Vista Firewall</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/onoj/archive/2007/05/09/windows-vista-security-series-programming-the-windows-vista-firewall.aspx" /><id>http://blogs.msdn.com/onoj/archive/2007/05/09/windows-vista-security-series-programming-the-windows-vista-firewall.aspx</id><published>2007-05-10T01:54:00Z</published><updated>2007-05-10T01:54:00Z</updated><content type="html">Dan Griffin JWSecure, Inc. May 2007 Summary: This whitepaper and accompanying sample demonstrates how to program the new Windows Firewall API including how to configure the Windows Firewall for correct operation with. (22 printed pages). Download XPS version . Download the associated sample code, FirewallSample.exe . Dependencies You must have the Windows SDK for Windows Vista. If you do not install the SDK to the default location, which is listed below, you must update the Visual Studio Include...(&lt;a href="http://blogs.msdn.com/onoj/archive/2007/05/09/windows-vista-security-series-programming-the-windows-vista-firewall.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2511681" width="1" height="1"&gt;</content><author><name>onoj</name><uri>http://blogs.msdn.com/members/onoj.aspx</uri></author><category term="Vista" scheme="http://blogs.msdn.com/onoj/archive/tags/Vista/default.aspx" /><category term="Security" scheme="http://blogs.msdn.com/onoj/archive/tags/Security/default.aspx" /><category term="Draft" scheme="http://blogs.msdn.com/onoj/archive/tags/Draft/default.aspx" /><category term="Sample" scheme="http://blogs.msdn.com/onoj/archive/tags/Sample/default.aspx" /></entry></feed>