Target type WebService problem with encoding

7 views
Skip to first unread message

Boris Proulx

unread,
Jul 5, 2016, 2:01:16 PM7/5/16
to NLog-Users
Hy all

I configured a target for WebService.
It works, but on the server side(witch is on my computer) my accents are wrongly encoded.
Ex : "La r�f�rence d'objet n'est pas d�finie � une instance d'un objet."

On server side, I used an ApiController

Here is my target : 
    <target xsi:type="WebService"
            name="WsLog"
            url="http://localhost:60030/api/log/post"
            encoding="utf-8"
            protocol="HttpPost">

Here is My Post

        [HttpPost]
        public IHttpActionResult Post([FromBody] LogApplicatifDto aLog)

Any idea ?
Reply all
Reply to author
Forward
0 new messages