ASP MVC Handle 404

http://stackoverflow.com/questions/619895/how-can-i-properly-handle-404-in-asp-net-mvc

Baca jawaban “cottsak”.

Jawaban cottsak untuk MVC 1 dan 2. Untuk kasus MVC 4, perlu mengubah

[code language=”csharp”]
this.InvokeHttp404(HttpContext);
[/code]

menjadi

[code language=”csharp”]
var wrapper = new HttpContextWrapper(System.Web.HttpContext.Current);
return this.InvokeHttp404(wrapper);
[/code]

Penanganan akan dimasukan ke dalam template project.

rekadia has written 5 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>