Questions tagged [fubumvc]

FubuMVC is an open source Front Controller-style MVC framework designed primarily for Web applications built on ASP.NET.

From FubuMVC.com:

Compositional, compile safe, convention-based configuration for complex web applications. The MVC framework that doesn't get in your way.

48 questions
2
votes
2 answers

How do I get FubuMVC to work on WinXP with IIS 5.1?

How do I get FubuMVC to work on WinXP with IIS 5.1?
Chris Holmes
  • 11,444
  • 12
  • 50
  • 64
2
votes
1 answer

Binding to an empty IEnumerable in FubuMVC results in a binding error

I have an IEnumerable valued property in my model, which gets values from a checkbox array. When no checkboxes are selected, Fubu responds with a binding error. What happens is that Fubu looks for various potential value sources. When it…
ulu
  • 5,872
  • 4
  • 42
  • 51
2
votes
1 answer

What's the best way to create a paging gridview-style partial view in Asp.net MVC?

In the current MVC project I'm working on, I need to be able to create something exactly like the GridView from asp.net webforms. I'm actually using FubuMVC, but I can adapt any Asp.net MVC solution to the Fubu framework. I want to create something…
Mark Rogers
  • 96,497
  • 18
  • 85
  • 138
2
votes
1 answer

Custom Errors in FubuMVC

Does FubuMVC work out of the box with custom error settings in the web.config or do I need to do extra work? It is not working at the moment, but I'm not sure if I have done something wrong.
Nick
  • 1,845
  • 3
  • 15
  • 22
2
votes
2 answers

Allow or deny access to entire site based on Claim

I have a FubuMvc website that uses Claims based authorization from a WIF single signon server. The Authentication happens on the SSO and the claims including roles and a set of custom claims are passed to the website for authorization. The SSO and…
Bronumski
  • 14,009
  • 6
  • 49
  • 77
1
vote
1 answer

How to use FubuMVC's DisplayFor with items of a child list on the model?

Suppose I have the view models below. public class CustomerListViewModel { public IEnumerable Customers { get; set; } } public class CustomerViewModel { public string FirstName { get; set; } public string LastName { get;…
ventaur
  • 1,821
  • 11
  • 24
1
vote
1 answer

Array in post data to input model - fubumvc

I have post request that contains the key "Items[]" with a value like "2,3,12". I have a controller method that uses the following input model. public class InputModel { public int[] Items { get; set; } } Currently "Items" never get set. Am I…
Pingvinen
  • 65
  • 1
  • 5
1
vote
1 answer

FubuMvc: If I move my controller and views into a folder I get a 404

I'm new to FubuMvc and I'm just playing around with it on a small project. I have the default nuget package fubu configuration, and I'm using web forms view engine: public ConfigureFubuMVC() { // This line turns on the basic…
Matt Frear
  • 52,283
  • 12
  • 78
  • 86
1
vote
1 answer

fubumvc - simple forms validation using IFailureValidationPolicy

I've been trying to implement form validation correctly and a discussion on fubu mailing list has been the most helpful (http://groups.google.com/group/fubumvc-devel/browse_thread/thread/d54b135fe0254653/12180cd86e9dc50b). I'm still not entirely…
stantona
  • 3,260
  • 2
  • 24
  • 28
1
vote
2 answers

How to create nested

I have no previous experience with FubuMVC HtmlTags library, and I simply got stuck when trying to accomplish a simple nested structure like this:
  • text
  • text
    • subtext
    • subtext
joeriks
  • 3,382
  • 8
  • 32
  • 42
1
vote
1 answer

How do I find the output model type in a behavior?

With FubuMVC, I'm not sure what the best way is to determine the current action's output model type. I see different objects that I could get the current request's URL from. But that doesn't lead to a very good solution. What's the easiest way to…
Mark Rogers
  • 96,497
  • 18
  • 85
  • 138
1
vote
1 answer

How do you create a FubuMVC behavior that copies site configuration values to an output model?

I'm trying to figure out to create a behavior that will copy a boolean site configuration value to an output model. This way I don't have to copy the bool in each action who's view requires it, but can simply add the behavior to the controller…
Mark Rogers
  • 96,497
  • 18
  • 85
  • 138
1
vote
1 answer

FubuMVC: How to I create a zero-model out action on my controller?

In FubuMVC, when I want a controller action method to return a json result, I use the JsonEndpoint attribute on the method. However there is not a corresponding attribute for a void method that I can see. For a particular action, I don't want to…
Mark Rogers
  • 96,497
  • 18
  • 85
  • 138
1
vote
1 answer

Service Locator not set in fubuMVC HelloWorld sample

recently I downloaded the latest sources from fubumvc. I startet the "HelloWorld" sample for a little warm up. Unfortunately everytime a NullReferenceException is thrown by the ServiceLocator in the FubuPage class. First I thought the App-Start…
user333896
  • 33
  • 2
1
vote
1 answer

IE 8 & 9 try to download json response if using iframe

I am using the blueimp fileUpload plugin to send files to the server and in ie 8 and ie 9 it tries to prompt me to download a file. When I open the file it is perfect json. I have tried setting the content type to text/plain as well as the dataType…
segFault
  • 1,228
  • 2
  • 18
  • 41