Hi everyone!
I have a quick question I was hoping someone here with more experience could shed some light on.
I am currently using the AddressBookUI framework (basically ABPeoplePickerNavigationController) to display a list of contacts from which a user may select one and drill down to the contact details view. Something really ordinar...
With all the hype around MVC (and rightly so) I've decided to give it a go myself and write my first .NET MVC web application. With a few options to choose from I was wondering which framework MVC do people recommend.
Microsoft ASP.NET MVC
The above with alternative view engine
Castle Project - MonoRail
MVC#
Maverick.NET
It seems ...
Hi all
The county code should match only the starting characters not the characters in between. For example, If the user types "UN", it can only list counties starting with "UN"
thanks in advance
...
Hi,
I have a solution with MVC web application, WCF web service and Silverlight. MVC starts Silverlight and Silverlight gets the parameters using web service. Now I have to pass a variable from Silverlight to MVC (not with get/post). How can I do that?
Thanks
...
Over the last few weeks I have been studying the MVC design pattern for web applications using PHP. Taking a broad view I understand how the pattern works and why it is a very good way of implementing any sort of web application from small or large.
As I understand it we have 3 distinct layers that talk to each other via the Controller...
As a beginner in programming it always bugs me when I run into a walls.
Currently one of the wall are co-depending objects.
As you can see in my question history I'm currently working on a blackberry application, in which I implemented something I call the MVC Pattern, but it isn't exactly what I think it's meant to be.
You see, a no...
I'm new to the MVC pattern but have been trying to grasp it, for example by reading the documentation for the CakePHP framework that I want to try out. However, now I have stumbled upon a scenario that I'm not really sure how to handle.
The web site I'm working on consists of nine fixed pages, that is, there will never exist any other p...
We're developing quite a big application using ASP.NET MVC and at the beginning we saw that could be useful to have an abstract base controller with common CRUD actions (new, save, delete...) plus a default list action. In our case we have 20+ entities that are managed through this kind of controllers.
That works and avoids duplicating ...
I'm trying to add some security to my ASP.NET 1.0 MVC app (VB), but I can't get it to work. At the top of my controller, I've got:
<HandleError()> _
Public Class HomeController
I'm overriding OnActionExecuting and throwing a SecurityException if the user is not in the proper role.
Everything I've read states that this should by defau...
Simple question: If I've got a generic Error.aspx page in my Shared folder (and the requisite HandleError on my controller). How do I show the exception message that triggered it?
This Scott Gu post states that the functionality should be in the default Error.aspx generated with new projects, but that was Preview 4, and I'm assuming tha...
In the context of RoR and multiple disperate database connection, I was given this comment.
What is my alternative on an Apache server (mac)? PHP, no MVC, and a mess?
Also, this is not a comment about PHP. It just allows the classic asp mess that I have now, but fwiw, the "mess" works and has served well for many years. I wanted to ...
Here is my code:
partial void OnisApprovedChanging(bool value)
{
this.dateApproved = DateTime.Now;
}
'dateApproved' is updated in the business logic, but this change is not being applied to the database table. I've seen some examples where DateUpdated columns are updated whenever any edit to a table is made...
My question is based in structure and architecture really and I'm after ideas on the best way to implement the following:
I am using code igniter (although you could presume any MVC framework). I have a custom CMS which allows for the management of 5 different websites. Users log in and switch between these sites. They can add content t...
I am new to MVC but I can already see its benefits and advantages. However, I have a (probably easy to answer) design question:
I have been thinking about models and debating the proper way to structure them. The way I see it there are a few options:
1) Models and table structure have a 1 to 1 relationship...meaning that pretty much ...
If I want to directly access the RouteData (the current action or parameter values for example) from the View, rather than having to pass it in from the controller as part of the ViewData, what class would i use?
...
I am new to the concept of MVC and multi-tiered web architecture. I developing a PHP application and am using one of the available MVC frameworks. My question is as follows:
From what I understand, MVC in and of itself is not considered a multi-tier architecture. I can understand how using MVC alone is a step up from taking an unstruc...
Most of the tips on how to implement validation in ASP.NET MVC seem to center around the Model (either building service layers between model and controller or decorating properties of the model with validation attributes).
In my application I use ViewModels for all communication between the controllers and the views.
I have a ViewMode...
I have an Asp.net MVC partial view that is used for searching. It does an Ajax call to retrieve results. Once the results are retrieved and displayed in the result pane, the user can click on a link in any of the result rows to select one of the search results. When the user clicks on a link to select one of the search results, it will m...
All of the WinForms wizards I've written in the past have a high degree of coupling between the UI and the model. That is: the individual pages know about enabling/disabling the Next/Previous buttons, how to react to the Next button being pressed, etc. It makes it all hard to test, because to test any of the logic, you've got to put a lo...
I have quite a large number of parent-detail ViewModels in my MVVM application. Something like this:
SchoolsViewModel
+- SchoolViewModel
+- LessonViewModel
+- PupilsViewModel
+- PupilViewModel
+- TeacherViewModel
+- PupilsViewModel
+- PupilViewModel
+- LessonsViewMo...