asp.net-mvc-2
Repository Pattern and MVC help
I\'m new to C# and ASP.NET MVC and i\'m trying to understand the repository pattern.I\'ve read a whole lot of articles, but I just don\'t understand how to use it.I\'m currently using LINQ to SQL to a[详细]
2023-04-08 06:05 分类:问答MVC2 scaffolding - can't see any data
I\'m having a problem seeing any data in my MVC2 application. I\'m using your typical scaffolding setup, but when I view the index or details page I see no data at all.[详细]
2023-04-08 05:13 分类:问答How to logging data change with Entity Framework, otherwise how to do it with SQL Server 2008 Standard?
I use SQL Server 2008 Standard, Asp.net MVC 2 and Entity Framework 4.0 I would like to know the best and simplest way to log data change. I read a little bit about change data capture and seem to be[详细]
2023-04-07 14:36 分类:问答I am not able to compare two object in my asp.net mvc application
I have this code to compare two objects, these two out put results are same. but my equal condition is allw开发者_C百科ays getting false. I am not understanding is that something I am doign wrong here[详细]
2023-04-07 12:10 分类:问答How to run Jquery on click of an ActionLink
How do I run jquery when an MVC ActionLink is clicked? I have an action that takes some time. I want to show a 开发者_如何学运维\'processing\' image until it returns. Is there a better way to do this?[详细]
2023-04-07 10:25 分类:问答What affect will upgrading from ASP.NET MVC2 to MVC3 have on NHibernate?
How do I upgrade ASP.NET MVC2 to MVC3 with minimal possible implications 开发者_运维问答to NHibernate?There\'s there should be no impact in terms of NHibernate if you properly separated concerns in yo[详细]
2023-04-07 09:36 分类:问答How to add custom validate method for viewmodel
I tried to add custom validator for ViewModel class: [Serializable] public class UserViewModel : IValidatableObject[详细]
2023-04-07 04:39 分类:问答Page can't render when running from Home Screen on iPad
I have a web app that runs on an iPad with no problem. However, in Safari, when I\'m on the page and choose \"Add to Home Screen\" then click the icon to open the page, I get the following error:[详细]
2023-04-07 01:02 分类:问答Data Persistence in ViewData verses tempData
I was wonderin开发者_开发知识库g how long Data can persist in the ViewData dictionary.I know data can\'t persist that long in TempData (less than an hour).So how long can it last in ViewData?Is there[详细]
2023-04-06 22:35 分类:问答400 Bad Request for URLs containing "&" on IIS7 with UrlRoutingModule
I\'m setting up ASP.net MVC 2.0 on an old WebForms site that runs on IIS 7. The old site has a 404 handler set up like:[详细]
2023-04-06 20:57 分类:问答