<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MVC on Gabriel Mongeon</title><link>https://gabrielmongeon.ca/en/tags/mvc/</link><description>Recent content in MVC on Gabriel Mongeon</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 12 Feb 2015 00:00:00 -0500</lastBuildDate><atom:link href="https://gabrielmongeon.ca/en/tags/mvc/index.xml" rel="self" type="application/rss+xml"/><item><title>Exclude TFS DLLs During Publication</title><link>https://gabrielmongeon.ca/en/2015/02/exclude-tfs-dlls-during-publication/</link><pubDate>Thu, 12 Feb 2015 00:00:00 -0500</pubDate><guid>https://gabrielmongeon.ca/en/2015/02/exclude-tfs-dlls-during-publication/</guid><description>&lt;p>In one of my projects, I use an ASP.Net MVC site to communicate with Team Foundation Server (TFS) to display metrics/graphs/reports. The site is hosted on the same server that hosts TFS and during publication, it publishes the file &lt;em>Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.dll&lt;/em> in the bin folder each time, which causes an ASP.Net error because the dll is already on the server.&lt;/p>
&lt;p>It is possible in an ASP.Net MVC project to exclude files and directories &lt;a href="http://www.asp.net/web-forms/overview/deployment/advanced-enterprise-web-deployment/excluding-files-and-folders-from-deployment">by creating a .wpp.targets file&lt;/a>. This allows you to define the exclusions as well as the source/reason for the exclusion.&lt;/p></description></item><item><title>Orchard Project Beta</title><link>https://gabrielmongeon.ca/en/2010/08/orchard-project-beta/</link><pubDate>Tue, 03 Aug 2010 17:35:00 -0400</pubDate><guid>https://gabrielmongeon.ca/en/2010/08/orchard-project-beta/</guid><description>&lt;p>The 0.5 beta version of the &lt;a href="http://orchard.codeplex.com/">Orchard project&lt;/a> has just been released. Here are 4 points that I really like about this engine:&lt;/p>
&lt;ol>
&lt;li>ASP.Net MVC&lt;/li>
&lt;li>Allows multiple Wikis under the same site&lt;/li>
&lt;li>Management of static pages&lt;/li>
&lt;li>AND ABOVE ALL, the ability to translate posts and pages into different languages!! Which is quite rare in this field.&lt;/li>
&lt;/ol>
&lt;p>You can download &lt;a href="http://orchard.codeplex.com/releases/view/45076">the source code&lt;/a> or simply &lt;a href="http://orchardproject.net/docs/Installing-Orchard.ashx">install it with WebPI&lt;/a>&lt;/p></description></item><item><title>Visual Studio 2010 Now Available</title><link>https://gabrielmongeon.ca/en/2010/04/visual-studio-2010-now-available/</link><pubDate>Tue, 13 Apr 2010 17:44:00 -0400</pubDate><guid>https://gabrielmongeon.ca/en/2010/04/visual-studio-2010-now-available/</guid><description>&lt;p>&lt;a href="http://msdn.microsoft.com/en-us/default.aspx">&lt;img src="http://www.hanselman.com/blog/content/binary/WindowsLiveWriter/VisualStudio2010Released_1353E/clip_image002_3.gif" alt="">&lt;/a>&lt;/p>
&lt;p>VS2010 is now available (&lt;a href="http://go.microsoft.com/?LinkId=9725695">Trial&lt;/a>, &lt;a href="http://www.microsoft.com/express/">Express&lt;/a> and for &lt;a href="http://msdn.microsoft.com/subscriptions/">MSDN subscribers&lt;/a>). &lt;a href="http://www.hanselman.com/">Scott Hanselman&lt;/a> has written an &lt;a href="http://www.hanselman.com/blog/VisualStudio2010Released.aspx">excellent article&lt;/a> summarizing all the new features of this new version, now it&amp;rsquo;s your turn to play!&lt;/p></description></item><item><title>ASP.Net Path</title><link>https://gabrielmongeon.ca/en/2010/03/asp.net-path/</link><pubDate>Wed, 24 Mar 2010 18:08:00 -0400</pubDate><guid>https://gabrielmongeon.ca/en/2010/03/asp.net-path/</guid><description>&lt;p>&lt;a href="http://www.west-wind.com/weblog/">Rick Strahl&lt;/a> saved my day with his post &amp;ldquo;&lt;a href="http://www.west-wind.com/weblog/posts/132081.aspx">Making sense of ASP.NET Path&lt;/a>&amp;rdquo; especially the following line:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-html" data-lang="html">&lt;span class="line">&lt;span class="cl">&lt;span class="p">&amp;lt;&lt;/span>&lt;span class="nt">script&lt;/span> &lt;span class="na">src&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;&amp;lt;%= Url.Content(&amp;#34;&lt;/span>&lt;span class="err">~/&lt;/span>&lt;span class="na">scripts&lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="na">new&lt;/span>&lt;span class="err">.&lt;/span>&lt;span class="na">js&lt;/span>&lt;span class="err">&amp;#34;)&lt;/span> &lt;span class="err">%&lt;/span>&lt;span class="p">&amp;gt;&lt;/span>&lt;span class="s2">&amp;#34; type=&amp;#34;&lt;/span>&lt;span class="nx">text&lt;/span>&lt;span class="o">/&lt;/span>&lt;span class="nx">javascript&lt;/span>&lt;span class="err">&amp;#34;&lt;/span>&lt;span class="o">&amp;gt;&lt;/span>&lt;span class="p">&amp;lt;/&lt;/span>&lt;span class="nt">script&lt;/span>&lt;span class="p">&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Orchard Project - Reusable Applications and Components for ASP.NET</title><link>https://gabrielmongeon.ca/en/2010/03/orchard-project-reusable-applications-and-components-for-asp.net/</link><pubDate>Fri, 12 Mar 2010 17:53:00 -0500</pubDate><guid>https://gabrielmongeon.ca/en/2010/03/orchard-project-reusable-applications-and-components-for-asp.net/</guid><description>&lt;p>The &lt;a href="http://www.orchardproject.net">Orchard Project&lt;/a> aims to create an application and reusable components using ASP.NET. Additionally, in the short term, it will provide a CMS application based on .NET.&lt;/p>
&lt;p>Having tested it several times, it seems very promising, but still too immature to consider using it as my Blog engine. But we&amp;rsquo;ll see&amp;hellip;.&lt;/p>
&lt;p>The &lt;a href="http://orchard.codeplex.com/sourcecontrol/list/changesets?ProjectName=orchard">source code&lt;/a> is available on &lt;a href="http://www.codeplex.com/">CodePlex&lt;/a>&lt;/p></description></item></channel></rss>