Click here to Skip to main content
15,912,327 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Could not find a part of the path "\ASP.Net Practical\Website\Site1\UploadedImgs \".. Pin
jkirkerx3-Aug-16 7:40
professionaljkirkerx3-Aug-16 7:40 
QuestionRegarding DataTable width Pin
harikreddy31-Jul-16 21:48
harikreddy31-Jul-16 21:48 
QuestionRe: Regarding DataTable width Pin
Richard MacCutchan31-Jul-16 22:24
mveRichard MacCutchan31-Jul-16 22:24 
AnswerRe: Regarding DataTable width Pin
ZurdoDev1-Aug-16 8:11
professionalZurdoDev1-Aug-16 8:11 
QuestionAngularjs is not refreshing data on the CSHTML page Pin
indian14330-Jul-16 14:28
indian14330-Jul-16 14:28 
AnswerRe: Angularjs is not refreshing data on the CSHTML page Pin
Richard Deeming1-Aug-16 2:08
mveRichard Deeming1-Aug-16 2:08 
GeneralRe: Angularjs is not refreshing data on the CSHTML page Pin
indian1431-Aug-16 6:56
indian1431-Aug-16 6:56 
GeneralRe: Angularjs is not refreshing data on the CSHTML page Pin
Richard Deeming1-Aug-16 6:59
mveRichard Deeming1-Aug-16 6:59 
GeneralRe: Angularjs is not refreshing data on the CSHTML page Pin
indian1431-Aug-16 7:57
indian1431-Aug-16 7:57 
GeneralRe: Angularjs is not refreshing data on the CSHTML page Pin
Richard Deeming1-Aug-16 8:23
mveRichard Deeming1-Aug-16 8:23 
AnswerRe: Angularjs is not refreshing data on the CSHTML page Pin
Nathan Minier1-Aug-16 4:02
professionalNathan Minier1-Aug-16 4:02 
GeneralRe: Angularjs is not refreshing data on the CSHTML page Pin
indian1431-Aug-16 6:45
indian1431-Aug-16 6:45 
QuestionHow can I print from web application in asp.net mvc ? Please check "PrintFromWebApplication" document. pdf PrintFromWebApplication [PDF/274KB] http://download.brother.com/pub/com/dev/pdf/bpac_webapplication_eng.pdf Pin
Nguyen Jay28-Jul-16 3:07
Nguyen Jay28-Jul-16 3:07 
QuestionRe: How can I print from web application in asp.net mvc ? Please check "PrintFromWebApplication" document. pdf PrintFromWebApplication [PDF/274KB] http://download.brother.com/pub/com/dev/pdf/bpac_webapplication_eng.pdf Pin
ZurdoDev28-Jul-16 3:37
professionalZurdoDev28-Jul-16 3:37 
AnswerRe: How can I print from web application in asp.net mvc ? Please check "PrintFromWebApplication" document. pdf PrintFromWebApplication [PDF/274KB] http://download.brother.com/pub/com/dev/pdf/bpac_webapplication_eng.pdf Pin
Nguyen Jay28-Jul-16 4:43
Nguyen Jay28-Jul-16 4:43 
GeneralRe: How can I print from web application in asp.net mvc ? Please check "PrintFromWebApplication" document. pdf PrintFromWebApplication [PDF/274KB] http://download.brother.com/pub/com/dev/pdf/bpac_webapplication_eng.pdf Pin
F-ES Sitecore28-Jul-16 23:31
professionalF-ES Sitecore28-Jul-16 23:31 
GeneralHow to create CRUD operation using WebService and call it in mvc4 Pin
sunil327-Jul-16 0:57
sunil327-Jul-16 0:57 
GeneralRe: How to create CRUD operation using WebService and call it in mvc4 Pin
Richard MacCutchan27-Jul-16 3:04
mveRichard MacCutchan27-Jul-16 3:04 
QuestionMerge images in .net mvc5 Pin
Member 1047586026-Jul-16 3:09
Member 1047586026-Jul-16 3:09 
AnswerRe: Merge images in .net mvc5 Pin
F-ES Sitecore26-Jul-16 23:28
professionalF-ES Sitecore26-Jul-16 23:28 
QuestionPage Load Error Pin
narukullavamshi24-Jul-16 23:57
narukullavamshi24-Jul-16 23:57 
AnswerRe: Page Load Error Pin
Richard Deeming25-Jul-16 0:55
mveRichard Deeming25-Jul-16 0:55 
QuestionAutoMapper/ Web API Pin
TheOnlyRealTodd22-Jul-16 17:03
professionalTheOnlyRealTodd22-Jul-16 17:03 
Hello, I wrote my first API today and I used AutoMapper. I have a simple clarification question about the bolded line of code here:

C#
public IEnumerable<MoviesDto> GetMovies()
        {
          return  _context.Movies.ToList().Select(Mapper.Map<Movie, MoviesDto>); //Gives MoviesDto values associated with the domain class
        }


I am aware that Mapper.Map is an AutoMapper function which is mapping my domain model to my Data Transfer Object (I wrote all of this code from scratch earlier), but I'm slightly confused on this syntax...

Is this basically pulling all of the data in my Movies table out of the database and then taking it and inserting the values into my DTO's properties and then returning those Dto properties to the client all in one step??? I'm guessing that is what it is doing but I'm not 100% sure. Sorry for the ignorance, I've only been coding since May but am excited to have made my first API!
AnswerRe: AutoMapper/ Web API Pin
Richard Deeming24-Jul-16 22:54
mveRichard Deeming24-Jul-16 22:54 
QuestionThe use of two drop down list Pin
Member 1264803721-Jul-16 21:25
Member 1264803721-Jul-16 21:25 

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.