Browse by Tags

Related Posts

  • Re: Models?? unit testing examples needed for TDD (agile, eXtreme Programming), also for non TDD unit tests ...

    Hi Gerry, In my experience I tend to go a step further and simply write the test first. In doing so, I am not only beginning to flesh out what the structure of the model with be, but also how I will ultimately use this model in my code. This provides what I think is another of the main benefits of TDD...
    Posted to ASP.NET MVC (Forum) by kstenson on 03-10-2009, 12:00 AM
    Filed under: model, MVC, TDD, C#
  • MVC web site design questions

    I'm learning ASP.NET MVC (I mostly understand how it works), but I have a few questions about designing/organization your web sites. 1. When should you create a new controller and when should you just add a new action? In the download, there's a HomeController that has Home, Contact, and About...
    Posted to ASP.NET MVC (Forum) by jamesewelch on 08-06-2008, 12:00 AM
    Filed under: model, MVC, view, ASP.NET MVC, Controller, asp.net
  • Re: Proper Model Interaction Classes (MVC)

    Yes like: public static class UserCommands { public static User GetUser(string UserName) { var db = new mycataContext(); return db.Users.First(x=>x.UserName== UserName); } public static bool ValidateUser(string UserName, string Password) { var db = new mycataContext(); User TheUser = GetUser(UserName...
    Posted to ASP.NET MVC (Forum) by sjnaughton on 08-17-2009, 12:00 AM
    Filed under: MVC, model, Static Methods
  • Re: Proper Model Interaction Classes (MVC)

    [quote user="Cheese Slayer"]Also, when I updated the database manually via MSSQL Server Management Studio, the updates don't go through unless the solution is rebuilt. [/quote] I assume you mean that the app does not see the changes until rebuild, yes? If this is the case I think the issue...
    Posted to ASP.NET MVC (Forum) by sjnaughton on 08-17-2009, 12:00 AM
    Filed under: MVC, model
  • A Data Model with Active Directory Data using System.DirectoryServices

    Hi, today I was tasked with improving an asp.net 2.0 web application which was used to administer a corporation's Active Directory (search items in AD, modify users etc). Now I was toying areound with some ideas of how to migrate this to the MVC pattern. Could I create a data model using DirectoryEntry...
    Posted to ASP.NET MVC (Forum) by hoetz on 09-24-2009, 12:00 AM
    Filed under: MVC, model, system.directoryservices, active directory
Page 1 of 1 (5 items)