Click here to Skip to main content
15,881,281 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: MVC Controller State Managment Pin
Richard Deeming13-Sep-21 22:26
mveRichard Deeming13-Sep-21 22:26 
AnswerRe: MVC Controller State Managment Pin
Kunal Mandloi14-Sep-21 4:18
Kunal Mandloi14-Sep-21 4:18 
QuestionFramework v. Core for Windows App Pin
Richard Andrew x644-Sep-21 1:47
professionalRichard Andrew x644-Sep-21 1:47 
AnswerRe: Framework v. Core for Windows App Pin
Dave Kreskowiak4-Sep-21 4:46
mveDave Kreskowiak4-Sep-21 4:46 
AnswerRe: Framework v. Core for Windows App Pin
Richard Deeming5-Sep-21 22:10
mveRichard Deeming5-Sep-21 22:10 
QuestionUsing Postman to test HTTPPatch in .Net Core API, [FromBody] JsonPatchDocument<TEntity> patchEntity is null Pin
thewizardoftn27-Aug-21 9:52
thewizardoftn27-Aug-21 9:52 
[HttpPatch("{id:int}")]
        public async Task<IActionResult>UpdatePartialAsync(int id, [FromBody] JsonPatchDocument<TEntity> patchEntity)
        {
            var entity = await _service.ReadAsync(id, false);
            if (entity == null)
                return NotFound();
            try
            {
                patchEntity.ApplyTo(entity, ModelState);
            }
            catch(Exception ex)
            {
                
                return Ok(ex.Message);
            }
            entity = await _service.UpdateAsync(id, entity);

            return Ok(entity);
        }

When accessing this in PostMan, the return is an error, patchEntity has one Operation with all values being null.

Any ideas?
AnswerRe: Using Postman to test HTTPPatch in .Net Core API, [FromBody] JsonPatchDocument<TEntity> patchEntity is null Pin
Richard Deeming30-Aug-21 22:03
mveRichard Deeming30-Aug-21 22:03 
AnswerRe: Using Postman to test HTTPPatch in .Net Core API, [FromBody] JsonPatchDocument<TEntity> patchEntity is null Pin
Matt T Heffron31-Aug-21 11:45
professionalMatt T Heffron31-Aug-21 11:45 
QuestionVisual Studio 2019 - unable to add data connection Pin
Member 1299459619-Aug-21 1:49
Member 1299459619-Aug-21 1:49 
AnswerRe: Visual Studio 2019 - unable to add data connection Pin
Richard MacCutchan19-Aug-21 2:27
mveRichard MacCutchan19-Aug-21 2:27 
QuestionVisual studio 2019 Pin
Member 1105128618-Aug-21 19:57
Member 1105128618-Aug-21 19:57 
AnswerRe: Visual studio 2019 Pin
Richard Deeming18-Aug-21 22:03
mveRichard Deeming18-Aug-21 22:03 
QuestionTextbox control with the x in top right hand corner Pin
pkfox12-Jul-21 4:18
professionalpkfox12-Jul-21 4:18 
AnswerRe: Textbox control with the x in top right hand corner Pin
SeeSharp212-Jul-21 5:35
SeeSharp212-Jul-21 5:35 
GeneralRe: Textbox control with the x in top right hand corner Pin
pkfox12-Jul-21 10:49
professionalpkfox12-Jul-21 10:49 
GeneralRe: Textbox control with the x in top right hand corner Pin
SeeSharp213-Jul-21 1:15
SeeSharp213-Jul-21 1:15 
GeneralRe: Textbox control with the x in top right hand corner Pin
pkfox13-Jul-21 3:57
professionalpkfox13-Jul-21 3:57 
GeneralRe: Textbox control with the x in top right hand corner Pin
SeeSharp213-Jul-21 6:12
SeeSharp213-Jul-21 6:12 
GeneralRe: Textbox control with the x in top right hand corner Pin
pkfox13-Jul-21 6:30
professionalpkfox13-Jul-21 6:30 
QuestionDynamic menu on asp.net ?? My project has a complete management part and the front is just a dynamics. I have a problem. How can I solve this problem? Pin
Member 152770145-Jul-21 18:45
Member 152770145-Jul-21 18:45 
GeneralRe: Dynamic menu on asp.net ?? My project has a complete management part and the front is just a dynamics. I have a problem. How can I solve this problem? Pin
Richard MacCutchan5-Jul-21 21:00
mveRichard MacCutchan5-Jul-21 21:00 
AnswerRe: Dynamic menu on asp.net ?? My project has a complete management part and the front is just a dynamics. I have a problem. How can I solve this problem? Pin
Dave Kreskowiak6-Jul-21 4:59
mveDave Kreskowiak6-Jul-21 4:59 
AnswerRe: Dynamic menu on asp.net ?? My project has a complete management part and the front is just a dynamics. I have a problem. How can I solve this problem? Pin
Gerry Schmitz6-Jul-21 7:17
mveGerry Schmitz6-Jul-21 7:17 
QuestionAnother JQuery datepicker question Pin
pkfox18-Jun-21 3:03
professionalpkfox18-Jun-21 3:03 
AnswerAnother JQuery datepicker question - Solved Pin
pkfox19-Jun-21 22:40
professionalpkfox19-Jun-21 22:40 

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.