Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:666191
More Search Options
RSS Available
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 >
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Channel 9:
BugCamSmash in Action!
Channel 9:
Virtual Earth Videomap Movies
TechNet Edge:
AD RMS Certificates and Licensing on the Client and the Server
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13 [C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13]
Channel 10:
Bing Launches 2nd Homepage Photo Contest
Channel 10:
Bing4Free Lets You Use Bing.com Images for Desktop Wallpaper
Channel 10:
Bing Updates: Streetside Views, Photosynth, and "Mapplications"
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online