• Got a Tipila, google, windows live or facebook account ?
Tips tagged: asp.net-mvc
1
votes
This is the correct (and the only working) way to use custom error pages in ASP.NET MVC. This sends the correct http status code along with the error page and nothing else worked for me. Add following to turn off custom errors (in system.web) of web.config <customErrors mode="Off" /> Then add the following to the syste ...
0
votes
We need to send the correct http error code to the client and keep the url in the browser same as the requested one. But the customErrors config setting did not do this so use this method instead. Add following to turn off custom errors (in system.web) of web.config <customErrors mode="Off" /> Then add the following to ...
0
votes
Add the [RequireHttps] attribute to the controller or to the controller action.
3
Matching Tips
Search options
  • Use the syntax:
    seach text, tag1, tag2,...
    to search for tips with the given tags.
  • Add ,mytips to the search text to search within MyTips only.
  • Use the syntax:
    ,tag1, tag2,...  to get all tips with the given tags.
Login to Tipila