<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>DotNetDoc - VS2005</title>
    <link>http://www.dotnetdoc.com/</link>
    <description>My Ramblings on .Net and other stuff</description>
    <language>en-us</language>
    <copyright>Daniel Egan</copyright>
    <lastBuildDate>Fri, 16 Mar 2007 00:00:13 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>degan@ocgpros.com</managingEditor>
    <webMaster>degan@ocgpros.com</webMaster>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=6e5a5a12-e681-438b-825c-8d974a00c415</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,6e5a5a12-e681-438b-825c-8d974a00c415.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,6e5a5a12-e681-438b-825c-8d974a00c415.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=6e5a5a12-e681-438b-825c-8d974a00c415</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just in case anyone else is having problems getting debugging to work with Visual
Studio 2005 and IIS7, here is a link that will fix your problem. 
</p>
        <p>
          <a href="http://mvolo.com/blogs/serverside/archive/2006/12/28/Fix-problems-with-Visual-Studio-F5-debugging-of-ASP.NET-applications-on-IIS7-Vista.aspx">http://mvolo.com/blogs/serverside/archive/2006/12/28/Fix-problems-with-Visual-Studio-F5-debugging-of-ASP.NET-applications-on-IIS7-Vista.aspx</a>
        </p>
        <p>
        </p>
        <p>
Thanks Mike….
</p>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=6e5a5a12-e681-438b-825c-8d974a00c415" />
      </body>
      <title>VS2005 IIS7 and Debugging</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,6e5a5a12-e681-438b-825c-8d974a00c415.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,6e5a5a12-e681-438b-825c-8d974a00c415.aspx</link>
      <pubDate>Fri, 16 Mar 2007 00:00:13 GMT</pubDate>
      <description>&lt;p&gt;
Just in case anyone else is having problems getting debugging to work with Visual
Studio 2005 and IIS7, here is a link that will fix your problem. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://mvolo.com/blogs/serverside/archive/2006/12/28/Fix-problems-with-Visual-Studio-F5-debugging-of-ASP.NET-applications-on-IIS7-Vista.aspx"&gt;http://mvolo.com/blogs/serverside/archive/2006/12/28/Fix-problems-with-Visual-Studio-F5-debugging-of-ASP.NET-applications-on-IIS7-Vista.aspx&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
Thanks Mike….
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=6e5a5a12-e681-438b-825c-8d974a00c415" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,6e5a5a12-e681-438b-825c-8d974a00c415.aspx</comments>
      <category>VS2005</category>
    </item>
    <item>
      <trackback:ping>http://www.dotnetdoc.com/Trackback.aspx?guid=7e3bfb29-8b9b-4947-b39e-600b561f7cef</trackback:ping>
      <pingback:server>http://www.dotnetdoc.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.dotnetdoc.com/PermaLink,guid,7e3bfb29-8b9b-4947-b39e-600b561f7cef.aspx</pingback:target>
      <dc:creator>Daniel Egan</dc:creator>
      <wfw:comment>http://www.dotnetdoc.com/CommentView,guid,7e3bfb29-8b9b-4947-b39e-600b561f7cef.aspx</wfw:comment>
      <wfw:commentRss>http://www.dotnetdoc.com/SyndicationService.asmx/GetEntryCommentsRss?guid=7e3bfb29-8b9b-4947-b39e-600b561f7cef</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <strong>I received a question today from one of my readers. (1 of the 10 I guess. LOL
) about VS2005 web projects.</strong>
        </p>
        <p>
          <em>
            <font size="1">
              <strong>Doc,</strong>
            </font>
          </em>
        </p>
        <p>
          <em>
            <font size="1">
              <strong>    I am trying to add some class code to
my website project and it does not seem to want to recognize the namespace that I
am using. When I create a namespace in my aspx files I can see them but not in my
class files. What am I doing wrong?</strong>
            </font>
          </em>
        </p>
        <p>
          <img src="http://www.dotnetdoc.com/content/binary/folder2.jpg" align="left" border="0" />This
is a common mistake for those who are new to VS2005.  Since you are now able
to point to a folder on your drive and bring up a web project without setting up an
IIS virtual directory, you need to do things a  bit different. All class files
need to be put in a special folder called App_Code. This folder will automatically
be compiled at run time. You can use it to store .cs, .vb, xsd, wsdl etc..
</p>
        <p>
The compiler will look to see what extension .cs or .vb your files have and use that
languages compiler for C# or VB respectively. The code is then compiled into a single
assembly and is made available to the code in your project. This means that you cannot
have files of different languages inside this folder.
</p>
        <p>
          <strong>
            <em>Or can you...?</em>
          </strong>
        </p>
        <p>
By placing a &lt;compilation&gt;&lt;codeSubDirectory&gt; set of tags in your web.config.
The compiler will create separate assemblies for each folder. Of course, you have
to put the files of like type into those folders.
</p>
        <pre>&lt;configuration&gt;
   &lt;system.web&gt;
      &lt;compilation&gt;
         &lt;<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">codeSubDirectories</b>&gt;
&lt;codeSubDirectory directoryName="/aspnet/code/mySubDir1"/&gt; &lt;codeSubDirectory
directoryName="/aspnet/code/mySubDir2"/&gt; &lt;codeSubDirectory directoryName="/aspnet/code/mySubDir3"/&gt;
&lt;/<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">codeSubDirectories</b>&gt;
&lt;/compilation&gt; &lt;/system.web&gt; &lt;/configuration&gt;</pre>
        <pre>Hope that helped.</pre>
        <pre>Happy Programming!</pre>
        <pre>Doc</pre>
        <img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=7e3bfb29-8b9b-4947-b39e-600b561f7cef" />
      </body>
      <title>Why can't I see my code?</title>
      <guid isPermaLink="false">http://www.dotnetdoc.com/PermaLink,guid,7e3bfb29-8b9b-4947-b39e-600b561f7cef.aspx</guid>
      <link>http://www.dotnetdoc.com/PermaLink,guid,7e3bfb29-8b9b-4947-b39e-600b561f7cef.aspx</link>
      <pubDate>Tue, 23 May 2006 20:32:03 GMT</pubDate>
      <description>&lt;p&gt;
&lt;strong&gt;I received a question today from one of my readers. (1 of the 10 I guess.&amp;nbsp;LOL
) about VS2005 web projects.&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;&lt;font size=1&gt;&lt;strong&gt;Doc,&lt;/strong&gt;&lt;/font&gt;&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;&lt;font size=1&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to add some class code to
my website project and it does not seem to want to recognize the namespace that I
am using. When I create a namespace in my aspx files I can see them but not in my
class files. What am I doing wrong?&lt;/strong&gt;&lt;/font&gt;&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.dotnetdoc.com/content/binary/folder2.jpg" align=left border=0&gt;This
is a common mistake for those who are new to VS2005.&amp;nbsp; Since you are now able
to point to a folder on your drive and bring up a web project without setting up an
IIS virtual directory, you need to do things a&amp;nbsp; bit different. All class files
need to be put in a special folder called App_Code. This folder will automatically
be compiled at run time. You can use it to store .cs, .vb, xsd, wsdl etc..
&lt;/p&gt;
&lt;p&gt;
The compiler will look to see what extension .cs or .vb your files have and use that
languages compiler for C# or VB respectively. The code is then compiled into a single
assembly and is made available to the code in your project. This means that you cannot
have files of different languages inside this folder.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;em&gt;Or can you...?&lt;/em&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
By placing a &amp;lt;compilation&amp;gt;&amp;lt;codeSubDirectory&amp;gt; set of tags in your web.config.
The compiler will create separate assemblies for each folder. Of course, you have
to put the files of like type into those folders.
&lt;/p&gt;
&lt;pre&gt;&amp;lt;configuration&amp;gt;
   &amp;lt;system.web&amp;gt;
      &amp;lt;compilation&amp;gt;
         &amp;lt;&lt;b style="COLOR: black; BACKGROUND-COLOR: #ffff66"&gt;codeSubDirectories&lt;/b&gt;&amp;gt;
&amp;lt;codeSubDirectory directoryName="/aspnet/code/mySubDir1"/&amp;gt; &amp;lt;codeSubDirectory
directoryName="/aspnet/code/mySubDir2"/&amp;gt; &amp;lt;codeSubDirectory directoryName="/aspnet/code/mySubDir3"/&amp;gt;
&amp;lt;/&lt;b style="COLOR: black; BACKGROUND-COLOR: #ffff66"&gt;codeSubDirectories&lt;/b&gt;&amp;gt;
&amp;lt;/compilation&amp;gt; &amp;lt;/system.web&amp;gt; &amp;lt;/configuration&amp;gt;&lt;/pre&gt;
&lt;pre&gt;Hope that helped.&lt;/pre&gt;
&lt;pre&gt;Happy Programming!&lt;/pre&gt;
&lt;pre&gt;Doc&lt;/pre&gt;
&lt;img width="0" height="0" src="http://www.dotnetdoc.com/aggbug.ashx?id=7e3bfb29-8b9b-4947-b39e-600b561f7cef" /&gt;</description>
      <comments>http://www.dotnetdoc.com/CommentView,guid,7e3bfb29-8b9b-4947-b39e-600b561f7cef.aspx</comments>
      <category>VS2005</category>
    </item>
  </channel>
</rss>