Monday, July 29, 2013

Deploying MVC

you may need to use  Add Deployable Dependencies Dialog Box

Links to Other Views In MVC

<%= Html.ActionLink("herby", "ViewList", "View")%>


I am getting
The call is ambiguous between the following methods or properties:
'System.Web.Mvc.Html.LinkExtensions.ActionLink(System.Web.Mvc.HtmlHelper, string, string, string)' and
'System.Web.Mvc.Html.LinkExtensions.ActionLink(System.Web.Mvc.HtmlHelper, string, string, string)'
however - though it compiles

set as start page changes this


VS & sql server integration

Opening SP's and scripts would crash my VS

I needed to run the msi'd stored here:
en_visual_studio_2010_ultimate_x86_dvd_509116\WCU\DAC

Adding a code behind manually to MVC view

I have vs2010 ultimate and I needed to exclude from project and then add

also I had to convert to asp project - very bizzare

Thursday, July 25, 2013

mixed aspx/mvc sites

  public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.aspx/{*pathInfo}");

should be in the global asax


(i have found that it works without this - don't know why)

Wednesday, July 24, 2013

orchard mvc style addresses

adding a trailing "/" in orchard will produce a

Not found

The page you are looking for does not exist.