<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Microsoft Visual Studio</title>
        <link>http://blogs.interakting.co.uk/brad/category/92.aspx</link>
        <description>Microsoft Visual Studio is the flagship Integrated Development Environment (IDE) from Microsoft. It can be used to develop console and GUI applications along with Windows Forms applications, web sites, web applications, and web services in both native code as well as managed code for all platforms supported by Microsoft Windows, Windows Mobile, .NET Framework, .NET Compact Framework and Microsoft Silverlight.

Visual Studio includes a code editor supporting IntelliSense as well as code refactoring. The integrated debugger works both as a source-level debugger as well as a machine-level debugger. Other built-in tools include a forms designer for building GUI applications, web designer, class designer, and database schema designer. It allows plug-ins to be added that enhance the functionality at almost every level - including adding support for source control systems (like Subversion and Visual SourceSafe) to adding new toolsets like editors and visual designers for domain-sp</description>
        <language>en-GB</language>
        <copyright>Brad</copyright>
        <managingEditor>pbradley@businessdecision.co.uk</managingEditor>
        <generator>Subtext Version 1.9.5.177</generator>
        <item>
            <title>Creating C# Class from an XML file</title>
            <link>http://blogs.interakting.co.uk/brad/archive/2008/02/25/Creating-C-Class-from-an-XML-file.aspx</link>
            <description>&lt;p&gt;If you've existing XML files that you need to manipulate in &lt;a title="Microsoft C#" href="http://msdn.microsoft.com/vcsharp/" target="_blank"&gt;C#&lt;/a&gt; there is no need to write your own class by hand. &lt;a title="Microsoft Visual Studio" href="http://msdn2.microsoft.com/en-gb/vstudio/default.aspx" target="_blank"&gt;Visual Studio&lt;/a&gt; ships with a little known tool XSD.exe which will do all the leg work for you. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 1 (from a command prompt):&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This will create an XSD based on the XML file, which in step 2 will allow the tool to create the &lt;a title="Microsoft C#" href="http://msdn.microsoft.com/vcsharp/" target="_blank"&gt;C#&lt;/a&gt; class(s)&lt;/p&gt;  &lt;div class="csharpcode-wrapper"&gt;   &lt;pre class="csharpcode"&gt;XSD.exe [XML_FILE]&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Step 2 (from a command prompt):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Call the tool again, this time providing the newly created .xsd file, along with /c (for classes, you could use /d for a dataset) and /n for your project's namespace&lt;/p&gt;

&lt;div class="csharpcode-wrapper"&gt;
  &lt;pre class="csharpcode"&gt;XSD.exe [XSD_FILE] /c /n:[PROJECT NAMESPACE]&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Other parameters that might be useful are /o: (out) which specifies the output directory&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Add the newly created .cs file to your project, and bingo, job done!&lt;/p&gt;&lt;img src="http://blogs.interakting.co.uk/brad/aggbug/210.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brad</dc:creator>
            <guid>http://blogs.interakting.co.uk/brad/archive/2008/02/25/Creating-C-Class-from-an-XML-file.aspx</guid>
            <pubDate>Mon, 25 Feb 2008 09:16:40 GMT</pubDate>
            <wfw:comment>http://blogs.interakting.co.uk/brad/comments/210.aspx</wfw:comment>
            <comments>http://blogs.interakting.co.uk/brad/archive/2008/02/25/Creating-C-Class-from-an-XML-file.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.interakting.co.uk/brad/comments/commentRss/210.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Visual Studio: Commenting Code</title>
            <link>http://blogs.interakting.co.uk/brad/archive/2008/01/17/176.aspx</link>
            <description>&lt;p&gt;Who hates trying to work out what a complex &lt;a title="Microsoft C#" href="http://msdn.microsoft.com/vcsharp/" target="_blank"&gt;C#&lt;/a&gt; method does that you didn't write? I know I do! Now who also hates writing the aforementioned comments... yep me too again! Along comes &lt;a title="Roland Weigelts GhostDoc" href="http://www.roland-weigelt.de/ghostdoc/" target="_blank"&gt;GhostDoc&lt;/a&gt;... a nice little plug-in for &lt;a title="Microsoft Visual Studio" href="http://msdn2.microsoft.com/en-gb/vstudio/default.aspx" target="_blank"&gt;Visual Studio&lt;/a&gt; that automatically generates XML comments for your &lt;a title="Microsoft C#" href="http://msdn.microsoft.com/vcsharp/" target="_blank"&gt;C#&lt;/a&gt; code! All you need to do is hit the hot key (which you can define) or right click and choose "Comment this..." and bingo a method or property you had selected now has a comment. &lt;a title="Roland Weigelts GhostDoc" href="http://www.roland-weigelt.de/ghostdoc/" target="_blank"&gt;GhostDoc&lt;/a&gt; uses some clever behind the scenes code based on the name of the method/property and the data types involved to make a "best guess" effort on giving it a comment  - now I admit some of its suggestions do provide a few comedy results - but either way its often a good starting point!&lt;/p&gt;  &lt;p&gt;I suggest you give it a go...&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.roland-weigelt.de/ghostdoc/" href="http://www.roland-weigelt.de/ghostdoc/"&gt;http://www.roland-weigelt.de/ghostdoc/&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.interakting.co.uk/brad/aggbug/176.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brad</dc:creator>
            <guid>http://blogs.interakting.co.uk/brad/archive/2008/01/17/176.aspx</guid>
            <pubDate>Thu, 17 Jan 2008 14:31:10 GMT</pubDate>
            <wfw:comment>http://blogs.interakting.co.uk/brad/comments/176.aspx</wfw:comment>
            <comments>http://blogs.interakting.co.uk/brad/archive/2008/01/17/176.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.interakting.co.uk/brad/comments/commentRss/176.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Debugging Web Applications... Quicker!</title>
            <link>http://blogs.interakting.co.uk/brad/archive/2008/01/14/161.aspx</link>
            <description>&lt;p&gt;It's always frustrated me that &lt;a title="Microsoft Visual Studio" href="http://msdn2.microsoft.com/en-gb/vstudio/default.aspx" target="_blank"&gt;Visual Studio&lt;/a&gt; takes so long to start debugging web applications compared to a standard windows form application. Also when you stop debugging it would kill the spawned IE window too - annoying if you were in the middle of testing something... Anyway I often found it was better to launch my own version of IE (so it remains open) then in &lt;a title="Microsoft Visual Studio" href="http://msdn2.microsoft.com/en-gb/vstudio/default.aspx" target="_blank"&gt;Visual Studio&lt;/a&gt; select Debug &amp;gt; attach to process &amp;gt; then select the WebDeb.WebServer.EXE process(s). This was much quicker than clicking the standard "start debugging" button (or F5). But even that wasn't enough - it still annoyed me that you had to manually select the process to attach to - then while looking for something else I stumbled across the solution...&lt;/p&gt;  &lt;p&gt;Right click the web site in the solution and select properties, followed by the "Start Options" node. In there change the "Start action" from the default "Use current page" to "Don't open a page. Wait for a response from an external application" then click OK. With the site still selected I recommend setting "Use dynamic ports" to false in the properties window - this means you'll always know what port to connect to. Now open IE as before and browse to the correct URL (and port). Now simply hit F5 in &lt;a title="Microsoft Visual Studio" href="http://msdn2.microsoft.com/en-gb/vstudio/default.aspx" target="_blank"&gt;Visual Studio&lt;/a&gt; whenever you want to debug and it'll load quicker, without spawning a new instance of IE and it will remain open when you stop debugging. &lt;/p&gt;&lt;img src="http://blogs.interakting.co.uk/brad/aggbug/161.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brad</dc:creator>
            <guid>http://blogs.interakting.co.uk/brad/archive/2008/01/14/161.aspx</guid>
            <pubDate>Mon, 14 Jan 2008 09:44:37 GMT</pubDate>
            <wfw:comment>http://blogs.interakting.co.uk/brad/comments/161.aspx</wfw:comment>
            <comments>http://blogs.interakting.co.uk/brad/archive/2008/01/14/161.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.interakting.co.uk/brad/comments/commentRss/161.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>