<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Deploying Breeze</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Deploying Breeze</description>
  <pubDate>Fri, 10 Apr 2026 19:25:45 -700</pubDate>
  <lastBuildDate>Fri, 28 Sep 2012 14:15:31 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3658</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Deploying Breeze : I downloaded the newest version...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3658&amp;PID=14662#14662</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1530" rel="nofollow">bizcad</a><br /><strong>Subject:</strong> 3658<br /><strong>Posted:</strong> 28-Sep-2012 at 2:15pm<br /><br />I downloaded the newest version of everything IdeaBlade-Breeze-4c7684d today at home on my Windows 8 Machine running VS2012 Premium.  After unzipping the file in my Downloads Folder, I copied it into a new folder in Visual Studio 2012\Projects and used Windows Explorer to unset the folder as read only.  I then changed permissions, adding Everyone, and giving full control.  <br /><br />1. I opened the ToDo app in VS.<br />2. Made sure the Allow NuGet to Download was checked and Rebuilt the Project.<br />3. F5 launched the app and I did some minor testing.  Everything worked.<br />4. The Todo.sdf was created in the AppData folder and I was able to look at the database.<br /><br />]]>
   </description>
   <pubDate>Fri, 28 Sep 2012 14:15:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3658&amp;PID=14662#14662</guid>
  </item> 
  <item>
   <title>Deploying Breeze :     I&amp;#039;m the &amp;#034;IT...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3658&amp;PID=14566#14566</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=3" rel="nofollow">JoshO</a><br /><strong>Subject:</strong> 3658<br /><strong>Posted:</strong> 24-Sep-2012 at 4:48pm<br /><br />I'm the "IT guy" and I don't code so I can't explain why things in Visual Studio happen the way they happen...but I do know that the changes you made to the index.cshtml file did produce an error during Debug&nbsp;in IIS Express which did not correct itself when you&nbsp;reverted&nbsp;back to this:<div>&nbsp;<font size="2"><font face="C&#111;nsolas"><font color="#800000">&lt;script</font> <font color="#ff0000"><font color="#ff0000"><font color="#ff0000">data-main</font></font></font><font color="#0000ff"><font color="#0000ff"><font color="#0000ff">="Scripts/main"</font></font></font> <font color="#ff0000"><font color="#ff0000"><font color="#ff0000">src</font></font></font><font color="#0000ff"><font color="#0000ff"><font color="#0000ff">="</font></font></font>@Url.Content(<font color="#a31515"><font color="#a31515"><font color="#a31515">"~/Scripts/lib/require.js"</font></font></font>)<font color="#0000ff"><font color="#0000ff"><font color="#0000ff">"&gt;&lt;/</font></font></font><font color="#800000"><font color="#800000"><font color="#800000">script</font></font></font><font color="#0000ff"><font color="#0000ff"><font color="#0000ff">&gt;</font></font></font></font></font></div><div>&nbsp;</div><div>I was able to reproduce everthing you saw and was also able to correct the problem in Visual Studio by right-clicking the ToDo solution and performing a "Clean Solution" first and then a build. This was the only method that worked and don't ask me why ;`)</div><div>&nbsp;</div><div>As to deploying the app in a nested application folder under "Default Web Site" make the following changes to the index.cshtml file assuming the app folder is named "ToDo" (in IIS only&nbsp;not VS!!)&nbsp;--</div><div>&nbsp;</div><div>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&nbsp;&nbsp;&nbsp; &lt;head&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;meta charset="utf-8" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;meta name="viewport" content="width=device-width" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;title&gt;Breeze Todos&lt;/title&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;link rel="stylesheet" href="@Url.Content("/ToDo/Content/reset.css")"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;link rel="stylesheet" href="@Url.Content("/ToDo/Content/toastr.css")"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;link rel="stylesheet" href="@Url.Content("/ToDo/Content/toastr-responsive.css")"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;link rel="stylesheet" href="@Url.Content("/ToDo/Content/todo.css")"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/head&gt;<br>&nbsp;&nbsp;&nbsp; &lt;body&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;div id="applicationHost"&gt;&lt;/div&gt;</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;script src="@Url.Content("Scripts/lib/jquery-1.8.0.min.js")"&gt;&lt;/script&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;script src="@Url.Content("Scripts/lib/knockout-2.1.0.js")"&gt;&lt;/script&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;script src="@Url.Content("Scripts/lib/q.js")"&gt;&lt;/script&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;script src="@Url.Content("Scripts/lib/toastr.js")"&gt;&lt;/script&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;script data-main="Scripts/main" src="@Url.Content("Scripts/lib/require.js")"&gt;&lt;/script&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/body&gt;<br>&lt;/html&gt;</div><div>&nbsp;</div><div>The tricky part is the css files are&nbsp;relative to the root of the site but not the Scripts which are relative to the application root.</div><div>Stuff like this keeps me employed!</div><div>&nbsp;</div><span style="font-size:10px"><br /><br />Edited by JoshO - 24-Sep-2012 at 5:15pm</span>]]>
   </description>
   <pubDate>Mon, 24 Sep 2012 16:48:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3658&amp;PID=14566#14566</guid>
  </item> 
  <item>
   <title>Deploying Breeze :   1. I downloaded breeze-runtime-plus-0.55...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3658&amp;PID=14565#14565</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1530" rel="nofollow">bizcad</a><br /><strong>Subject:</strong> 3658<br /><strong>Posted:</strong> 24-Sep-2012 at 3:48pm<br /><br />1.&nbsp; I downloaded breeze-runtime-plus-0.55 (the ToDo app)&nbsp;and compiled on my local machine with VS2012 RTM.&nbsp; It worked out of the box running in IISExpress.<div>&nbsp;</div><div>2.&nbsp; I then changed the Connnection String in Web.Config to point to a real SqlServer 2005 located on our network.&nbsp; It worked.</div><div>3.&nbsp; I then Published the app to a Windows 2012 running in a VM on the network as&nbsp;an application running on port 80.</div><div>*Publish Method: WebDeploy</div><div>*Service URL: 192.168.168.176 (the ip address of the VM)&nbsp; for some reason DNS did not work with the VM name.</div><div>*Site/application: Default Web Site/ToDo</div><div>*Destination URL: <a href="http://192.168.168.176/ToDo" target="_blank">http://192.168.168.176/ToDo</a></div><div>*UserName: mydomain\nstein</div><div>*I used my password - I am a domain admin so I did not think there would be a problem with security.</div><div>The connection validated.</div><div>On the next dialog, I used the connection string from Web.Config.</div><div>On the last dialog, the Preview looked ok, so I published.</div><div>&nbsp;</div><div>4.&nbsp; I then went to an IE9 and hit the application.&nbsp; The screen was gray with no ToDo list.&nbsp; An F12 -&gt; Network capture and refresh showed that I was getting a 404 with main.js.&nbsp; So I went to the Server and checked to make sure that main.js was there and it was.&nbsp; The 404 was looking for main.js in <a href="http://192.168.168.176/&#083;cripts/main.js" target="_blank">http://192.168.168.176/Scripts/main.js</a>&nbsp;when the app was pointing to <a href="http://192.168.168.176/ToDo/whatever" target="_blank">http://192.168.168.176/ToDo/whatever</a>.&nbsp;</div><div>&nbsp;</div><div>5.&nbsp; I got the Sales Rep Derick on the line and he pulled in a Developer who explained that Breeze expects the app to be from the base.&nbsp; He helped me delete the old app and reinstall as a new Website on port 8080.&nbsp; Now when I hit 192.168.168.176:8080, the app comes up.&nbsp; I do not like it.&nbsp; I would prefer that I could run from within the Default Web Site.&nbsp; But at least I know the problem exists.</div><div>&nbsp;</div><div>6.&nbsp; So I went back to VS and added a ~/ to the front of the script tag to see if that would work.&nbsp; </div><div><p><font color="#800000" size="2" face="C&#111;nsolas"><font color="#800000" size="2" face="C&#111;nsolas"><font color="#800000" size="2" face="C&#111;nsolas">&lt;script</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas"> </font></font><font color="#ff0000" size="2" face="C&#111;nsolas"><font color="#ff0000" size="2" face="C&#111;nsolas"><font color="#ff0000" size="2" face="C&#111;nsolas">data-main</font></font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">="Scripts/main"</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas"> </font></font><font color="#ff0000" size="2" face="C&#111;nsolas"><font color="#ff0000" size="2" face="C&#111;nsolas"><font color="#ff0000" size="2" face="C&#111;nsolas">src</font></font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">="</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">@Url.Content(</font></font><font color="#a31515" size="2" face="C&#111;nsolas"><font color="#a31515" size="2" face="C&#111;nsolas"><font color="#a31515" size="2" face="C&#111;nsolas">"~/Scripts/lib/require.js"</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">)</font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">"&gt;&lt;/</font></font></font><font color="#800000" size="2" face="C&#111;nsolas"><font color="#800000" size="2" face="C&#111;nsolas"><font color="#800000" size="2" face="C&#111;nsolas">script</font></font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">&gt;</font></font></font></p></div><div>&nbsp;</div><div>to</div><div><p><font color="#800000" size="2" face="C&#111;nsolas"><font color="#800000" size="2" face="C&#111;nsolas"><font color="#800000" size="2" face="C&#111;nsolas">&lt;script</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas"> </font></font><font color="#ff0000" size="2" face="C&#111;nsolas"><font color="#ff0000" size="2" face="C&#111;nsolas"><font color="#ff0000" size="2" face="C&#111;nsolas">data-main</font></font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">="~/Scripts/main"</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas"> </font></font><font color="#ff0000" size="2" face="C&#111;nsolas"><font color="#ff0000" size="2" face="C&#111;nsolas"><font color="#ff0000" size="2" face="C&#111;nsolas">src</font></font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">="</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">@Url.Content(</font></font><font color="#a31515" size="2" face="C&#111;nsolas"><font color="#a31515" size="2" face="C&#111;nsolas"><font color="#a31515" size="2" face="C&#111;nsolas">"~/Scripts/lib/require.js"</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">)</font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">"&gt;&lt;/</font></font></font><font color="#800000" size="2" face="C&#111;nsolas"><font color="#800000" size="2" face="C&#111;nsolas"><font color="#800000" size="2" face="C&#111;nsolas">script&gt;</font></font></font></p></div><p>It was  a breaking change.&nbsp; Now when I run from F5, the app breaks at the third line of dataservice.js<font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas"><p>        core = breeze.core,</font><font face="Arial, Helvetica, sans-serif">It continues to break there even if I remove the ~/.&nbsp; They went off to see if they could repeat the problem and they were able to do so.&nbsp; I am sure a fix will be in the next build.&nbsp; </p><div>Nick Stein</div><div>9/24/2012</font></font></div>]]>
   </description>
   <pubDate>Mon, 24 Sep 2012 15:48:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3658&amp;PID=14565#14565</guid>
  </item> 
 </channel>
</rss>