Browse by Tags

Related Posts

  • Validation with Entity Framework

    Hi i'm building an ASP.NET MVC sites using entity framework for my models I have a repository layer, and a service layer... I have two questions : How can i retrieve the max length of my varchar field and apply it to the text field in my view How should i implement my validation, in my service layer...
    Posted to ASP.NET MVC (Forum) by mmercure on 04-14-2009, 12:00 AM
    Filed under: aspnetmvc, Entity Framework, validation
  • Failed to deploy .ASCX files (MVC Preview 5)

    Hi: I am developing a Mobile compatible site using MVC Preview 5 but when I Use aspnet_compiler to compile MVC application, it fails to deploy .ascx files. When the compilation has finished it appears that the 'Advertisement.ascx' control has been compiled because I get a file like Advertisement...
    Posted to ASP.NET MVC (Forum) by Tejas Jagtap on 02-16-2009, 12:00 AM
    Filed under: aspnetmvc
  • Re: Bug When Adding a Strongly Typed View

    Just a friendly reminder/tip: One way to get around it is to create a non-strongly-typed View and then manually add the Type to the ViewPage declaration: Change <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage"...
    Posted to ASP.NET MVC (Forum) by JeffAxe on 02-10-2009, 12:00 AM
    Filed under: aspnetmvc
  • Poll: How many people were affected by the change to use Relative URLs, or the regression in RouteURl?

    In the RC, we changed our helpers which generate URLs to generat relative paths instead of absolute paths. We've noticed this has broken a lot of scenarios we did not anticipate, such as certain Ajax partial view scenarios. Also in the RC, we made a change to RouteUrl and RouteLink that has introduced...
    Posted to ASP.NET MVC (Forum) by Haacked on 01-28-2009, 12:00 AM
    Filed under: aspnetmvc
  • Announcing the ASP.NET MVC Design Gallery

    Need to improve the appearance of your ASP.NET MVC website? Browse the ASP.NET MVC Gallery and download free ASP.NET MVC website designs. Visit the ASP.NET MVC Gallery at: http://www.asp.net/mvc/gallery/ The ASP.NET MVC Design Gallery contains designs contributed by Microsoft and the community. Promote...
    Posted to ASP.NET MVC (Forum) by JayNeu on 12-18-2008, 12:00 AM
    Filed under: ASP.NET MVC, aspnetmvc, asp.net, ASP.mvc toolkit, ASP.NET mvc
  • Form post ....need to generate mvc-friendly URL for route...how?

    I am trying to get a form to behave a certain way.... essentially when the form is submitted i would like it to push the query but in an MVC format.... the route has the appearance of: Search/{findme} {controller="Home",action="SearchFor",findme=""} the Action for the HomeController...
    Posted to ASP.NET MVC (Forum) by e-j-r on 11-13-2008, 12:00 AM
    Filed under: url, aspnetmvc, form parameters
  • Namespace in Routes Implementation in Beta 1 release notes does not work

    Hi! I am new using ASP.MVC and was trying out the beta1 release notes namespaces in routes by building a new default project, going to the global.asax and adding the code sugested in the release notes. After adding the code to the global.asax and commenting out the original RegisterRoutes, I created...
    Posted to ASP.NET MVC (Forum) by mefren on 10-23-2008, 12:00 AM
    Filed under: asp mvc, ASP.NET MVC Routing, aspnetmvc, aspnetmvc mvc, ASP mvc, asp.net mvc Namespace routing
  • Authentication Setup.....how?

    I don't know if I'm just not seeing this from the right angle, or if i'm just having a brain fart, but I could use some help here. :) We have this stale portal application for our external agents that uses forms authentication. I'm using this site as a chance to get my feet wet with MVC...
    Posted to ASP.NET MVC (Forum) by stylezhouse on 10-23-2008, 12:00 AM
    Filed under: security, aspnetmvc, Forms Authentication
  • Encoded quote (%22) in url path causes Illegal characters in path error

    Setting up a route like: routes.MapRoute( "Search", "search/{searchText}/{id}", new { controller = "Search", action="Index", searchText = "No Search Text", id = "" } ); Navigating to http://localhost:51223/search/%22tomato%20paste%22 causes...
    Posted to ASP.NET MVC (Forum) by benjaminb on 10-18-2008, 12:00 AM
    Filed under: action controllers, ASP asp.net mvc, asp mvc c# routing html helper, asp mvc form error handle, asp mvc, asp.net mvc preview 5, ASP.NET MVC, ASP.NET MVC Routing, aspnetmvc, ASP mvc, asp mvc errors
  • How to redirect to another controller based on a wildcard

    Hi there! I have a problem which I'm sure should be fairly simple. I have several routes which catch various different types of urls that contain different structures, but they correspond to other urls which can be found inside the routescollection. routes.MapRoute( "Product" , "products...
    Posted to ASP.NET MVC (Forum) by Dan Atkinson on 10-17-2008, 12:00 AM
    Filed under: Redirect, route, aspnetmvc, Controller, wildcard
Page 1 of 3 (27 items) 1 2 3 Next >