Apr
8
revised Literal notation for Dictionary in C#?
deleted 1 character in body
Feb
3
answered Literal notation for Dictionary in C#?
Jan
21
answered Double or decimal for latitude/longitude values in C#
Dec
8
accepted String constants embedded twice in .Net?
Dec
6
awarded Nice Question
Dec
5
comment String constants embedded twice in .Net?
@DavidHeffernan Release|Any CPU (prefer 32bit). I've tried other platform settings too, all with the same result.
Dec
5
asked String constants embedded twice in .Net?
Oct
16
awarded Nice Answer
Oct
15
awarded Yearling
Oct
15
awarded Yearling
Oct
8
answered Getting model data in the AuthorizeAttribute in MVC 3
Sep
26
awarded Enlightened
Aug
22
awarded Great Answer
Aug
19
comment CS0436: Type conflicts with the imported type
You said it yourself: internally to the assembly. Option 3: Make the license class internal and this should fix the problem. Much better than a pragma.
Jul
14
awarded Necromancer
Jul
2
awarded Curious
Jul
1
comment ASP.Net MVC Controller Actions that return void
I suspect the reason for the downvote (I didn't) is because a response "does" come back. A 200 OK response. The response body is empty, though. I think with ajax operations it is reasonable to use HTTP status codes to communicate operation results. 200 OK, 500 Error, 403 forbidden, etc. A body isn't always necessary.
Jun
20
awarded Informed
May
9
comment ExecuteReader requires an open and available Connection. The connection's current state is connecting. in execute reader
You could try if(conn.State != ConnectionSTate.Open) conn.Open(). I don't know if that works in certain states though.
May
9
comment ExecuteReader requires an open and available Connection. The connection's current state is connecting. in execute reader
I'm guessing that you are being passed a connection that is in the "connecting" state, maybe it was opened asynchronously or something. Your State == Closed check doesn't execute the Open method.
1 2 3 4 5