I need to redirect the user to a page not found if url link exists. if the user copies the URL and pastes it into rbowser, the page shows the method not found.
in this I need to redirect the user to a page not found on the page
See this:
How to handle 404 in ASP.NET MVC?
which refers to this:
http://blogs.microsoft.co.il/blogs/shay/archive/2009/03/06/real-world-error-hadnling-in-asp-net-mvc-rc2.aspx
Source: https://habr.com/ru/post/1720872/More articles:Как подавить/поймать System.ObjectDisposedException? - c#Linux screen capture - linuxhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1720868/swing-gui-components-too-tighly-packed&usg=ALkJrhiZzY5N1i48eXG4OvesBsq6bLxZZQMass Actions in Rails Restful Resources - rest.Net4, Monitor.Enter (lockObject, receivedLock) - .netIntriguing SQL Server Performance Tuning Issue - sql-serverFlash Library for OpenStreetMap - flashJira RPC / SOAP GetCustomFields () can only be used by an administrator? - soapXcode 3.1.3 problems with test module testing module - unit-testingSpring Security and Struts 2 - javaAll Articles