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
1
vote
1 answer

How to get the 'NerdDinner' OpenID popup window working

So I'm trying to implement OpenID using NerdDinner 2 as an example. When you click on one of the OpenID providers, you get a popup window that looks like the screenshot below. I've got most of the underlying code setup correctly and my login page…
Scott
  • 13,735
  • 20
  • 94
  • 152
1
vote
3 answers

Database functions in Entity Framework could not return results

I have implemented the same function "distancebetween" as in Nerddinner. I created an airport repository and have these methods: public IQueryable ReturnAllAirportWithIn50milesOfAPoint(double lat, double lon) { var…
Seen
  • 4,054
  • 4
  • 37
  • 46
1
vote
1 answer

NerdDinner Example and issues

I am using VS2010 and Sql Server 2008 in Windows 7 64 bit OS. I have downloaded NERD dinner example and tried to run the example. Everything is fine until I try to login using Open Id. I have tried to loging using Yahoo and Google Accounts. After…
MuthuKumaran
  • 103
  • 7
1
vote
2 answers

placment of classes in NerdDinner

I am learning ASP.NET MVC and looking at the ASP.NET MVC sample application NerdDinner. The folder "Models" contains a class called Dinner.cs. This is the main Dinner entity. Shouldn't this class be in an other location? For example "Domain" ? And…
HerbalMart
  • 1,669
  • 3
  • 27
  • 50
1
vote
1 answer

distancebetween sql function and order by closest

Im using this function to get events within 30 miles, its pretty much the same as the nerd dinner one. But How can I order them by 'closest'..? ALTER FUNCTION [dbo].[NearestEvents] ( @lat real, @long real ) RETURNS TABLE AS RETURN…
raklos
  • 28,027
  • 60
  • 183
  • 301
1
vote
1 answer

ModelState errors not being displayed after changing Model

I'm following the NerdDinner example on Professional ASP.NET MVC 1.0 (I'm using the version of ASP.NET MVC that comes with VisualStudio 2015), and so far I was able to fix some little problems, but this one got me. I have a model named Dinner, which…
nlogn
  • 343
  • 4
  • 13
1
vote
3 answers

Cannot open database "Database" requested by the login

I'm working through a sample .Net MVC application. I've added the aspnet membership api tables to an existing database. I've modified the web.config file as follows:
109221793
  • 16,477
  • 38
  • 108
  • 160
1
vote
1 answer

ViewResult returns no data

I am using the pattern from NerdDinner. I call Index() in my test Method and I the ViewREsult I get back has no data. So the variable data ends up being null. However, I know that there is data there. Because I can go to the watch window and expand…
Jas
  • 13
  • 2
1
vote
1 answer

Nerd Dinner - labels for textfields are broken

I am trying to learn ASP.NET (since I know C#) so I have decided to follow Nerd Dinner Tutorial. I am having trouble in part 5 of tutorial. I exactly followed tutorial, even pasted whole code to my visual studio, but when I was supposed to create…
AspNewbie
  • 27
  • 4
1
vote
1 answer

Html.Encode importance

I'm working through the NerdDinner MVC tutorial and came across this and was wondering about. On page 62 of the pdf they have the following:

Upcoming Dinners

mwright
  • 4,099
  • 7
  • 30
  • 40
1
vote
2 answers

Nerd Dinner not catching errors

I'm at the "Handling Edit Errors" (page 67) in chapter 1 of the Professional ASP.NET MVC 1.0 book and I'm running into a problem. The problem is that when I'm editing a dinner and I click save, it's not catching any of the form errors, even though…
Mark
  • 11
  • 2
1
vote
0 answers

The current IHttpHandler is not one of types: System.Web.UI.Page, DotNetOpenAuth.IEmbeddedResourceRetrieval

I use nerddinner example for configuring openID in my project using mvc3/razor I get this error in LogonOpenId.cshtml This is my actual LogonOpenId.cshtml I download Nerddinner for openid as a whole project. I Attach my web.config file for ther…
gs11111
  • 649
  • 2
  • 17
  • 49
1
vote
1 answer

MVC nerd dinner CreateView not displaying EventDate

I am currently going through the MVC tutorial Nerd Dinner using MVS 2010 I have got up to step 7 but I have just noticed that when I now go to the create screen, it is not quite correct. the title input box seems to contain the ViewBag.Title Rather…
Jake Aitchison
  • 1,079
  • 6
  • 20
1
vote
1 answer

nerd dinner map being displayed out of the container div

I am implementing the nerd dinner example in MVC2. The problem which I am having is with the map. The map which is Ajax enabled does not display properly on the webpage i.e. the actual map is shown out of the div element inside of which it should…
sagar
  • 177
  • 3
  • 19
1
vote
3 answers

How to create Shared VB Array Initialisors for NerdDinner

I am trying to work my way through the NerdDinner tutorial - and as an exercise I'm converting it to VB as I go. I'm not very far in and after having gotten past the C# Yield statement I'm stuck on Shared VB Array Initialisors. static…
David A Gibson
  • 2,013
  • 5
  • 35
  • 60