Search

You searched for the word(s): userid:814700

Matching Posts

  • Re: RC1 migration. HttpRequestValidationException

    Thank you very much! I've missed that post.
    Posted to ASP.NET MVC (Forum) by DmitryRA on 2/2/2009
  • RC1 migration. HttpRequestValidationException

    I continue with problems with migration from beta to RC1. I have some admin part where html code can be posted.The action methods for posted forms are like: [AcceptVerbs(HttpVerbs.Post)] public ActionResult Edit(int id, FormCollection form) { ..... etc ... When a form with values contaning html is submitted, there rises an HttpRequestValidationException System.Web.HttpRequestValidationException [HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from
    Posted to ASP.NET MVC (Forum) by DmitryRA on 2/1/2009
  • Re: Could not load type... in strongly typed view

    Doesn't work after the project migration. Something breaks it... Can't find out what.
    Posted to ASP.NET MVC (Forum) by DmitryRA on 1/31/2009
  • Re: Could not load type... in strongly typed view

    Absolutely the same thing. I don't see an assembly in reference .NET menu. I've tryed to add manually from (program files/microsoft asp.net/asp.net mvc rc/assemblies), tryed to set copy local or get from gac, tryed to delete all the old assemblies. Tryed to copy them manually and add from \bin. Works only on new project. I can copy classes to a new project, etc... But what is wrong? I can't understand. Why doesn't it work when I copy assemlies and set them manually?
    Posted to ASP.NET MVC (Forum) by DmitryRA on 1/31/2009
  • Re: Could not load type... in strongly typed view

    I have the same problem, but I tryed to update MVC Beta to MVC RC1. After the upgrade - all is fine, but when I create strongly typed page (by one page with no cede behind) i get this error: Cannot Load Type 'System.Web.Mvc.ViewPage<ConceptStyle.Models.CcsAuto.Field>'. Line 1: <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ConceptStyle.Models.CcsAuto.Field>" %> I've
    Posted to ASP.NET MVC (Forum) by DmitryRA on 1/31/2009
  • Re: MVC Modules

    We have the same problem, but a different approach. What is bad in the aproach with inherence? 1. A controller must be inhereted from some class or interface, so you can't use easily controllers written by somebody else (i.e. inherited directly from Controller class) One can adapt such a controller by creating a new inherited class with IModule interface, but it is another story. If one have many foreign controllers (like forum) an integration can be very complex. 2. It is similar to p.1: there
    Posted to ASP.NET MVC (Forum) by DmitryRA on 1/7/2009
    Filed under: modules, reflection, aspect, engine
  • Re: Routing from xml

    Good idea. But about LINQ to XML... If this would be a "standart tool for each project" and this xml parsing will be on each page request it should be speed optimized. So I would suggest even to implement it on XmlReader instead of XmlDocument and do not with LINQ to XML.
    Posted to ASP.NET MVC (Forum) by DmitryRA on 7/23/2008
  • Re: Why a new approach?

    Soft-creation-time is not only write-code-time. There are think-about-time, develop-architecture-time, implement-development-time (inside of wich is coding - bug-insertion-time:) code-superposition-time etc.), bug-testing-time and bug-fixing time. TDD takes more coding-time but frees a lot of other time parts, specially the code-superposition-time, bug-testing-time etc. So if you have a simple project and the main "time" is "coding-time" you can run without TDD well. If you have
    Posted to ASP.NET MVC (Forum) by DmitryRA on 7/22/2008
  • Re: Master Pages and Dynamic Data??

    Almost in any web development one needs a page template (lets call it so) and MasterPages do this good. But we apply WebPages to them independently from controller (and in many cases it is good too). So we have movement something like model -> controller -> response - > View Page -> Master Page In this talks one wants (actually) to pass some (separated from current controller action) model part to master page. We could have: model-> superController (prepares data for MasterPage) ->
    Posted to ASP.NET MVC (Forum) by DmitryRA on 7/22/2008
  • Re: Master Pages and Dynamic Data??

    To make such global data in each controller(from inherence) and drag it to a master page through the View - really doesn't look good... One implies that controllers receive some data from users, manage it and generate appropriate responses (with selecting ViewPages=MasterPages). But in Your example the "news ticker" concerns only a master page and it doesn't implement any logic of managing user data or response, so logically nothing stops you from placing a populate code inside
    Posted to ASP.NET MVC (Forum) by DmitryRA on 7/21/2008
Page 1 of 2 (11 items) 1 2 Next >