Search

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

Matching Posts

  • Re: [Authorize] and Partial Content - (Code) Design Issues with MembershipProviders

    I had hoped for a bit more discussion / feedback on the subject. Still haven't found a neat way to do it.
    Posted to ASP.NET MVC (Forum) by TheDeathArt on 4/23/2009
  • Re: nerddinner and the authenicationserver

    The aspnetdb database is a SQL Server Database used for the SqlMembershipProvider. You can find the creation files in the following folder: %WINDOWS%\Microsoft.NET\Framework\v2.0.50727 The 3 SQL files you need for it is: InstallCommon.sql , InstallMembership.sql And possible InstallRoles.sql Consider that the example was written by Microsoft people who assume knowlegde about their AspNetMembership system is common knowlegde, and the database table is already there ;-) (I personally think the default
    Posted to ASP.NET MVC (Forum) by TheDeathArt on 4/13/2009
  • Re: ? Html.TextBox appears to break web standards ~~ solution needed

    label is per default a non-block element, and only block elements can have a set size. The typical trick is this: label { display: block; float: left; width: 80px; } This will render the text-block at a specific width, and cause all the input to be in the format of Username: [input field] And web standards is quite clear about it doesn't matter. The only standard requirement is you do not use inline elements in <form>, but encapsule it in block elements, and paragraphs are splendid for
    Posted to ASP.NET MVC (Forum) by TheDeathArt on 4/13/2009
  • Re: Implementing pager through WCF service

    The most performing solution would be solution 3. To send a offset argument to the Service telling it where to start the query, and perhaps even a amount to query. That is a pretty standard way to do it as well. I recomend you do it as a form of overload, ie. GetProducts() GetProducts(int offset, int amount)
    Posted to ASP.NET MVC (Forum) by TheDeathArt on 4/12/2009
  • Re: Confused over MVC use

    @gerrylowry: We normally call BLL for the Domain Model, and DAL simple as "Data", "Data Model", or even "Data Source", since it's almost always separated to a system like nHibernate (ORM) or similar solutions. It's rather uncommon to translate IT-terms in Scandinavia. But very common for IT-terms to have many names :)
    Posted to ASP.NET MVC (Forum) by TheDeathArt on 4/12/2009
  • Re: Confused over MVC use

    Well, MVC is splitting up it's architecture in a Data Access Layer (Model) and a Buisness Logic Layer (Controls). It's just a matter how you view on it. To much abstraction in words, as the interesting is the specific implementation in code, specially when it relates to Web, since you cannot implement a true MVC in a stateless enviroment, unless you do stupid hacks like sun did in JSF, with requiring POST for all actions. But if we compare to a normal WebForms application, your realised code
    Posted to ASP.NET MVC (Forum) by TheDeathArt on 4/12/2009
  • Re: LINQ joins with multiple AND OR conditions?

    The big question would be why you want to write it in LINQ, when you already know how it's done in SQL. Extra unnesary abstraction to slow down the system perhaps?
    Posted to ASP.NET MVC (Forum) by TheDeathArt on 4/12/2009
  • Re: How to create code-behind file with a view?

    Yes, that's Buisness Logic. So what you want to do is to assign the list of users from your controller, though the ViewData. Controller (C#) public ActionResult ViewUsers() { ViewData["Users"] = Membership.GetAllUsers(); return View(); } View (ASP.NET) <% foreach (MembershipUser user in (ViewData["Users"] as MembershipUserCollection )) { %> <img src="<%= Profile.GetProfile( user.UserName ).Head %>" /> <% } %/> And to improve even more I would
    Posted to ASP.NET MVC (Forum) by TheDeathArt on 4/12/2009
  • Re: Confused over MVC use

    You shouldn't change your existing software, but for new development, MVC is a so much cleaner way to handle input and request routing. It allows for a more reuseable code design than WebForms, and forces you to split up your achitecture even more than WebForms did. Which is a good thing, since we developers are known to be lazy if we can. Now I don't know what you mean by buzzwords like DAL, BLL++ (please, developer section, no marketing buzz here!), but you can merge existing datasources
    Posted to ASP.NET MVC (Forum) by TheDeathArt on 4/12/2009
  • Re: How to create code-behind file with a view?

    I ofcourse meant Buisness Logic, since regulare View logic such as helpers is easily made though the .NET 3.5 extension methods. But even helpers belong in the Model, rather than in the View, since Helpers could do a piece of buisness logic. I also know that it's possible, but I prefer to say it's not possible, since it would lead to designing wrong. Don't provide more tools than needed to the unexperienced worker, as he will end up using them, and thus doing things the wrong way. If
    Posted to ASP.NET MVC (Forum) by TheDeathArt on 4/11/2009
Page 1 of 5 (49 items) 1 2 3 4 5 Next >