Search

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

Matching Posts

  • Re: MVC Storefront / Kona / ???

    Actually, the "proper" child of Kona is the Orchard Project It's more than a storefront, it's a full content management framework whcih happens to have a storefront module. That said, it was started from the Kona codebase, and uses a lot of the Kona concepts.
    Posted to ASP.NET MVC (Forum) by paul.vencill on 11/25/2009
  • Re: MVC and DA or Enity Framework

    your best bet generally is to use *some* kind of ORM (EF, Linq to Sql, and NHibernate being the three most commonly discussed ime). You then commonly wrap calls to that ORM's API in classes referred to as 'repositories', which are very similar conceptually to a DAL class, but generally they're more object oriented rather than data oriented. Your controllers then have a reference to just the repository it needs, and if you later choose to change what the underlying technology of the
    Posted to ASP.NET MVC (Forum) by paul.vencill on 11/25/2009
  • Re: Equivalent of Page_Init in web forms for MVC

    I would do it in a custom actionfilter, and apply that action filter to whichever controllers and/or action methods need to have that cache policy. If it's the whole app, then you could set it in the global.asax, or in an HttpModule, probably in the Begin_response method. That said, what about being a BB app makes you not want to still use caching?
    Posted to ASP.NET MVC (Forum) by paul.vencill on 11/20/2009
  • Re: Is it possible to use the ‘using’ statement in my aspx views? (ASP.NET MVC)

    you can either use the <%@Import declaration on each view, or you can use the <namespaces /> collection in your web.config. I tend to prefer the latter. There should already be a <namespaces> node in your web.config, just add your own nodes for whatever namespaces your views will use.
    Posted to ASP.NET MVC (Forum) by paul.vencill on 11/15/2009
  • Re: Asp.Net MVC - Problem returning a model to the view

    I don't believe it's areas related. Make sure that the namespace you're importing exactly matches the namespace in the model's class definition.
    Posted to ASP.NET MVC (Forum) by paul.vencill on 11/15/2009
  • Re: Site Wide Search using ASP.NET MVC

    well, first off, a search form is actually a good place to use the querystring and to use a form witth the method GET. You're effectively "getting" query results after all, and a user's arbitrary query should not be represented in your URL as a fixed resource (imo), whcih is semantically what the path is for. So you're not really going to post anythign back or do any rdirects, you'd just return a view that corresponds to the search results. As an example, public class SearchController
    Posted to ASP.NET MVC (Forum) by paul.vencill on 11/15/2009
  • Re: Model Binding Acting strange

    There's an order to how the model binder finds the parameter in question. If I recall correctly, it looks first in the RouteData,then in the Form, then finally in the QueryString. The first place it's found, wins. So make sure you're not setting the name value statically somewhere. Also, showing your code is usually helpful, b/c you might think you're doing what you've descrbied above and just have a typo or soemthing that one of us can spot. Paul
    Posted to ASP.NET MVC (Forum) by paul.vencill on 11/13/2009
  • Re: How does MVC affect on the way our pages get indexed by search engines?

    1) depends on the search engine. I don't know all the differences, but I've heard that some ignore querystring params (e.g. ?uid=user-id) and pay attention only to the domain and path. Google does pick up querystrin gparams, but generally one of the "best practices" in the industry right now is to use params just for things like sorting and filtering, but use the path (everything after the domain, eg. /my-page/something.aspx) as the way of identifying hte resource itself. Also,
    Posted to ASP.NET MVC (Forum) by paul.vencill on 11/10/2009
  • Re: simple example of a unit test for routes

    I don't know any online, so I threw together a really quick blog post about how I normally do it: http://coderaptor.wordpress.com/
    Posted to ASP.NET MVC (Forum) by paul.vencill on 11/10/2009
  • Re: simple example of a unit test for routes

    You're too kind, but I'm glad it helped you.
    Posted to ASP.NET MVC (Forum) by paul.vencill on 11/10/2009
Page 1 of 135 (1346 items) 1 2 3 4 5 Next > ... Last »