Questions tagged [nerddinner]

an open source ASP.NET MVC project that allows Technology People to host their Lunches, Flashmobs, Dinners and informal get-togethers.

NerdDinner is an open source ASP.NET MVC project that allows Technology People to host their Lunches, Flashmobs, Dinners and informal get-togethers.

The source for the project is hosted at http://nerddinner.codeplex.com and contains branches that include use ASP.NET MVC versions 1, 2, & 3.

The live version of the site is available at http://www.nerddinner.com.

75 questions
0
votes
1 answer

Nerd Dinner validation rules question

In the NerdDinner tutorial, Step 5, mid way down under Complete Edit Action Method Implementations there is a paragraph: The nice thing about our Edit implementation is that neither our Controller class nor our View template has to know anything…
johnny
  • 19,272
  • 52
  • 157
  • 259
0
votes
3 answers

Nerd Dinners Controllers

On this page: http://nerddinnerbook.s3.amazonaws.com/Part4.htm After the controller is added, I can browse to http://localhost:xxxx/dinners and it works as expected. My question is how does it know to use "Dinners"? Where is "Dinners" located? My…
johnny
  • 19,272
  • 52
  • 157
  • 259
0
votes
1 answer

System.web.mvc.modelstatedictionary does not contain a definition for addruleviolations

I am getting two errors when trying to build NerdDinner in DinnerController.cs. Here is what I currently have in DinnerController.cs. I am getting errors on the two lines with '**' using System; using System.Collections.Generic; using…
B Woods
  • 580
  • 3
  • 7
  • 21
0
votes
1 answer

NerdDinnerEntities?

what is NerdDinnerEntities in NerdDinner project, is it a class library or class? if it is class then where the dinner and Rsvp class should be? please don't say read the professional asap.net mvc2 book. i am getting this doubt only after reading…
software
  • 728
  • 6
  • 18
  • 39
0
votes
1 answer

Entity Framework 4 really slow on Nerd dinner FindByLocation modification

I have modified the nerd dinner example to find locations in the vicinity of specified position. When selecting from a flat table performance is good, but I wanted to split up the tables so I have a generic coordinates table (SDB_Geography) and also…
Malako
  • 534
  • 6
  • 20
0
votes
1 answer

Problem in GetRuleViolations method in NerdDinner tutotial

I'm on about page 70 of the NerdDinner tutorial (MVC 1.0 version). It won't build at this point because it is saying the properties referred to in the GetRuleViolations (ie, Title, Description, etc) can't be resolved. I've compared my own project…
DevinM
  • 1
  • 1
0
votes
1 answer

Nerd Dinner - how is the return type of the EF queries determined?

In Nerd Dinner's Entity Framework repository, the queries' return type corresponds to the model and not to the EF conceptual entity. public IQueryable FindAllDinners() { return db.Dinners; } ... public ObjectSet Dinners //…
Mayo
  • 10,544
  • 6
  • 45
  • 90
0
votes
1 answer

What is `confirmButton` in NerdDinner's ActionResult Delete?

In the NerdDinner MVC app demo, there is confirmButton defined when setting up ActionResult Delete: public ActionResult Delete(int id, string confirmButton) { What is confirmButton for, as it is not used in the code? I assumed it returned the name…
SamWM
  • 5,196
  • 12
  • 56
  • 85
0
votes
2 answers

NerdDinner Visual Web Developer 2010 Settings

I'm following steps of the NerdDinner tutorial. In the dinner Model class where I have error and validation handling for CRUD instead of error notifications in browser I get some kind of debugger dialog. Why is that? alt text…
dd .
  • 572
  • 2
  • 13
  • 28
0
votes
1 answer

NerdDinner difficulties

I'm having a problem with the Create method of the NerdDinner tutorial, which is very good BTW. As you can see here http://nerddinnerbook.s3.amazonaws.com/Part5.htm in the Create method, he removed the ID field of the aspx page. I did that too, but…
George Silva
  • 3,454
  • 10
  • 39
  • 64
0
votes
1 answer

NerdDinner Exception Handling

I'm working through the NerdDinner ASP.NET MVC 1.0 example. I have it all working apart from Exception handling. I've modified it very slightly for my own benefit, but basically, when I create a new record that violates a validation rule, I get an…
pierre
  • 1,235
  • 1
  • 13
  • 30
0
votes
1 answer

AJAX Search like nerddinner.com

can somebody tell me how it's needed to change the nerdDinner project, that the 'location-search' which is an JSON-Based Ajax call, works like http://www.nerddinner.com/#where=london so that the search-location parameter will be added to the…
Dan
  • 1
0
votes
1 answer

mvc 2.0 updatemodel and my ID Column

I have created a create view within my MVC 2.0 Application and by default it included a field for the integer ID Column. This is definitely a field i do not need. If i remove the field and use updatemodel when trying to create the object in code,…
femi
  • 974
  • 2
  • 13
  • 44
0
votes
2 answers

Following NerdDinner tutorial, don't allow duplicate

My sql database doesn't allow 2 records to be added with the same number. If I try to create a record with a previously used number or edit a record to use a previously used number, it doesn't allow it and returns to the edit/create page with an…
RememberME
  • 2,092
  • 4
  • 37
  • 62
0
votes
1 answer

NerdDinner tutorial - missing explanation for Helper methods?

I've started reading NerdDinner tutorial from scratch. While reading and coding application I came to part about some Helper methods and there was one example of some class (AddRuleViolations) but there was no any explanation WHERE to add this…
ilija veselica
  • 9,414
  • 39
  • 93
  • 147