Click here to Skip to main content
15,617,020 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: I would like to develope new project from scratch. I would like to use ASP.NET MVC 5.0, EntityFramework and SQL Server. Pin
indian1432-Aug-17 6:57
indian1432-Aug-17 6:57 
QuestionError message: The operation cannot be completed because the DbContext has been disposed Pin
indian14327-Jul-17 11:39
indian14327-Jul-17 11:39 
AnswerRe: Error message: The operation cannot be completed because the DbContext has been disposed Pin
Richard Deeming28-Jul-17 1:31
mveRichard Deeming28-Jul-17 1:31 
AnswerRe: Error message: The operation cannot be completed because the DbContext has been disposed Pin
Nathan Minier28-Jul-17 1:36
professionalNathan Minier28-Jul-17 1:36 
QuestionUnable to use RequiredValidator control to validate RadioButtonList in Repeater? Pin
samflex26-Jul-17 14:25
samflex26-Jul-17 14:25 
AnswerRe: Unable to use RequiredValidator control to validate RadioButtonList in Repeater? Pin
F-ES Sitecore26-Jul-17 22:45
professionalF-ES Sitecore26-Jul-17 22:45 
GeneralRe: Unable to use RequiredValidator control to validate RadioButtonList in Repeater? (SOLVE) Pin
samflex27-Jul-17 3:05
samflex27-Jul-17 3:05 
QuestionFew questions about web api versioning in core Pin
Mou_kol26-Jul-17 1:38
Mou_kol26-Jul-17 1:38 
just read a article on web api core versioning from this url http://www.c-sharpcorner.com/article/asp-net-core-api-versioning-in-simple-words-update-1-2-0/

i have few question about
C#
[ApiVersion("2.0")]  and MapToApiVersion("2.0")


1) why we need to use two attribute for a controller and action called
C#
[ApiVersion("2.0")]  and MapToApiVersion("2.0").


if i use
C#
[ApiVersion("2.0")]
for controller then it should work for whole controller then why i need to decorate action with
C#
MapToApiVersion("2.0")


2) why
C#
[ApiVersion("1.0")]  and [Route("api/v{version:apiVersion}/[controller]")]

needed to decorate controller for versioning ?

3) this attribute
C#
MapToApiVersion("2.0")
is used for action only and this [ApiVersion("1.0")] used for controller only ?


4)
C#
[ApiVersion("2.0")] or MapToApiVersion("2.0")
for versioning then how web api action url would look like ?


please guide me.
QuestionEnable/Disable div based on RadiobuttonList Pin
samflex25-Jul-17 5:41
samflex25-Jul-17 5:41 
AnswerRe: Enable/Disable div based on RadiobuttonList Pin
F-ES Sitecore25-Jul-17 6:30
professionalF-ES Sitecore25-Jul-17 6:30 
AnswerRe: Enable/Disable div based on RadiobuttonList Pin
Richard Deeming25-Jul-17 6:50
mveRichard Deeming25-Jul-17 6:50 
GeneralRe: Enable/Disable div based on RadiobuttonList (SOLVED) Pin
samflex25-Jul-17 9:32
samflex25-Jul-17 9:32 
QuestionVisual Studio & Asp.Net in Web Forms Bad Design view Pin
zequion23-Jul-17 2:23
professionalzequion23-Jul-17 2:23 
QuestionTable resizing in MVC bootstrap Pin
Member 1075459521-Jul-17 7:31
Member 1075459521-Jul-17 7:31 
AnswerRe: Table resizing in MVC Pin
Member 1075459527-Jul-17 10:44
Member 1075459527-Jul-17 10:44 
QuestionResponse.Cache, Code Location Pin
jkirkerx17-Jul-17 9:24
professionaljkirkerx17-Jul-17 9:24 
AnswerRe: Response.Cache, Code Location Pin
Richard Deeming17-Jul-17 10:09
mveRichard Deeming17-Jul-17 10:09 
GeneralRe: Response.Cache, Code Location Pin
jkirkerx18-Jul-17 7:38
professionaljkirkerx18-Jul-17 7:38 
QuestionUsing Visual Studio to debug iHTTPHandler routines Pin
Member 839420716-Jul-17 21:26
Member 839420716-Jul-17 21:26 
Questionwhat is default concurrent requests settings in IIS 8.5 Pin
bhavin chheda16-Jul-17 2:02
bhavin chheda16-Jul-17 2:02 
AnswerRe: what is default concurrent requests settings in IIS 8.5 Pin
Richard MacCutchan16-Jul-17 2:42
mveRichard MacCutchan16-Jul-17 2:42 
QuestionPassword Field Padding with Question Marks (?s) Pin
ftbadolato7615-Jul-17 15:05
ftbadolato7615-Jul-17 15:05 
AnswerRe: Password Field Padding with Question Marks (?s) Pin
Richard MacCutchan15-Jul-17 20:52
mveRichard MacCutchan15-Jul-17 20:52 
GeneralRe: Password Field Padding with Question Marks (?s) Pin
ftbadolato7616-Jul-17 3:36
ftbadolato7616-Jul-17 3:36 
GeneralRe: Password Field Padding with Question Marks (?s) Pin
Richard MacCutchan16-Jul-17 5:43
mveRichard MacCutchan16-Jul-17 5:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.