Click here to Skip to main content
15,795,712 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Import Tabulor form data from PDF file Pin
Nitin S25-Jan-19 2:40
professionalNitin S25-Jan-19 2:40 
QuestionWhat layers required for make asp.net core 2 project for prevent repeat data ? Pin
ahmed_sa2-Jan-19 22:53
ahmed_sa2-Jan-19 22:53 
AnswerRe: What layers required for make asp.net core 2 project for prevent repeat data ? Pin
Richard MacCutchan3-Jan-19 0:37
mveRichard MacCutchan3-Jan-19 0:37 
AnswerRe: What layers required for make asp.net core 2 project for prevent repeat data ? Pin
Vincent Maverick Durano3-Jan-19 23:35
professionalVincent Maverick Durano3-Jan-19 23:35 
AnswerRe: What layers required for make asp.net core 2 project for prevent repeat data ? Pin
James Walsh Jr12-Jan-19 6:47
professionalJames Walsh Jr12-Jan-19 6:47 
QuestionLossless Image compression Pin
Member 141024622-Jan-19 9:37
Member 141024622-Jan-19 9:37 
AnswerRe: Lossless Image compression Pin
Richard MacCutchan3-Jan-19 2:18
mveRichard MacCutchan3-Jan-19 2:18 
QuestionIs there any data mocking for calling Web API Put and post methods with C# Code Pin
simpledeveloper25-Dec-18 13:55
simpledeveloper25-Dec-18 13:55 
Hi,

I have the following Web Api methods, I want to call and test my methods from a mocking application, if possible any code, following are my Web api methods:
[Produces("application/json")]
[Route("api/Employee")]
public class EmployeeController : Controller
{
    EmployeeDataAccessLayer objemployee = new EmployeeDataAccessLayer();

    [HttpGet("[action]")]
    //[Route("api/Employee/Index")]
    public IEnumerable<TblEmployee> Index()
    {
        return objemployee.GetAllEmployees();
    }

    [HttpPost]
    public int Create(TblEmployee employee)
    {
        return objemployee.AddEmployee(employee);
    }

    [HttpGet("{id}")]
    //[HttpGet("{id}", Name = "Details")]
    public TblEmployee Details(int id)
    {
        return objemployee.GetEmployeeData(id);
    }

    [HttpPut("{id}")]
    public int Edit(int id, TblEmployee employee)
    {
        return objemployee.UpdateEmployee(employee);
    }

    [HttpDelete("{id}")]
    public int Delete(int id)
    {
        return objemployee.DeleteEmployee(id);
    }

    [HttpGet("[action]")]
    public IEnumerable<TblCities> GetCityList()
    {
        return objemployee.GetCities();
    }
}

AnswerRe: Is there any data mocking for calling Web API Put and post methods with C# Code Pin
F-ES Sitecore30-Dec-18 6:41
professionalF-ES Sitecore30-Dec-18 6:41 
AnswerRe: Is there any data mocking for calling Web API Put and post methods with C# Code Pin
James Walsh Jr1-Jan-19 9:58
professionalJames Walsh Jr1-Jan-19 9:58 
AnswerRe: Is there any data mocking for calling Web API Put and post methods with C# Code Pin
James Walsh Jr12-Jan-19 6:50
professionalJames Walsh Jr12-Jan-19 6:50 
QuestionWant to learn React.Js Pin
simpledeveloper21-Dec-18 0:14
simpledeveloper21-Dec-18 0:14 
AnswerRe: Want to learn React.Js Pin
Nathan Minier26-Dec-18 3:45
professionalNathan Minier26-Dec-18 3:45 
AnswerRe: Want to learn React.Js Pin
jkirkerx3-Jan-19 15:00
professionaljkirkerx3-Jan-19 15:00 
Question.net 2 BindingSources to same DataTable Pin
rjto19-Dec-18 13:01
rjto19-Dec-18 13:01 
AnswerRe: .net 2 BindingSources to same DataTable Pin
David Mujica1-Jan-19 14:10
David Mujica1-Jan-19 14:10 
GeneralRe: .net 2 BindingSources to same DataTable Pin
rjto2-Jan-19 5:58
rjto2-Jan-19 5:58 
QuestionHow to move cursor to end of iframe contenteditable Pin
Member 1408886515-Dec-18 12:42
Member 1408886515-Dec-18 12:42 
QuestionHow to focus cursor at the end of iframe body content when page loads Pin
Member 1408886513-Dec-18 11:59
Member 1408886513-Dec-18 11:59 
AnswerRe: How to focus cursor at the end of iframe body content when page loads Pin
F-ES Sitecore14-Dec-18 0:35
professionalF-ES Sitecore14-Dec-18 0:35 
QuestionTwo Issues with Custom Control with ASP.NET Site Pin
Dominick Marciano11-Dec-18 12:31
professionalDominick Marciano11-Dec-18 12:31 
QuestionHow do I download files in background or do asynchronous process in MVC Pin
Member 140250634-Dec-18 16:39
Member 140250634-Dec-18 16:39 
AnswerRe: How do I download files in background or do asynchronous process in MVC Pin
F-ES Sitecore5-Dec-18 1:39
professionalF-ES Sitecore5-Dec-18 1:39 
AnswerRe: How do I download files in background or do asynchronous process in MVC Pin
Richard Deeming5-Dec-18 10:25
mveRichard Deeming5-Dec-18 10:25 
GeneralRe: How do I download files in background or do asynchronous process in MVC Pin
Member 140250636-Dec-18 20:45
Member 140250636-Dec-18 20:45 

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.