Custom error pages in ASP.NET MVC

Excellent blog post by Ben Foster:
Custom error pages in ASP.NET MVC. Easy, right? – Ben Foster

My extra take on it was to create content in the static .html pages and use an iframe inside the aspx based pages (to reuse the content easily).

E.g: (my 500 error page is named Error500.aspx)

 

Architect modern web applications with ASP.NET Core and Azure | Microsoft Docs

.NET Core and ASP.NET Core offer several advantages over traditional .NET development. You should use .NET Core for your server applications if some or all of the following are important to your application’s success:

  • Cross-platform support

  • Use of microservices
  • Use of Docker containers
  • High performance and scalability requirements
  • Side-by-side versioning of .NET versions by application on the same server

PDF:
https://raw.githubusercontent.com/dotnet-architecture/eShopOnWeb/master/docs/Architecting%20Modern%20Web%20Applications%20with%20ASP.NET%20Core%20and%20Azure.pdf

Online: Architect modern web applications with ASP.NET Core and Azure | Microsoft Docs

Keeping your ASP.NET WebAPI Controllers lean with the use of Filters | Digital Affinity

“In a constant battle to reduce the amount of duplication and technical debt in the code I write, I am always revisiting code and looking at how I can reduce the amount of maintenance work I need to perform.”

See source: Keeping your ASP.NET WebAPI Controllers lean with the use of Filters | Digital Affinity

How to increase upload size of a document in an asp.net application. | The ASP.NET Forums

Re: how to increase upload size of a documnet upto 20 MB….in an asp.net application. Aug 04, 2013 08:25 AM|LINK You likely will need to update your maxRequestLength within your web.config to handle files and uploads that are large (as the default limit is often 4MB). This can be handled within the section of your web.config or the section if you want to handle it at the IIS level (both are probably a good idea). It’s important to know that maxAllowedContentLength is measured in bytes and maximumRequestLength is measured in kilobytes when settings these values so you’ll need to adjust them accordingly if you plan on handling much larger files :  If you wanted to use 20MB as a limit, you would need to change the values to the following respectively :  If you don’t see these sections within your existing web.config file, you’ll simply need to copy them in. Updating the maxRequestLength property is likely going to be the easiest method of handling this, however there are alternatives such as libraries like NeatUpload, which are designed to handle large files and can handle uploading files as streams to your preferred method of storage.

Source: how to increase upload size of a documnet upto 20 MB….in an asp.net application. | The ASP.NET Forums

Stackify Prefix – ASP.NET Profiler

Prefix will help troubleshoot what your code is doing by inspecting key methods, database queries, web service calls, and logging statements.

Prefix is designed for developers to use everyday as they write & test their own code. Prefix answers the question of “What just happened” in my code.

Free to use with a few limitation (shows 1000 latest requests etc.)
Source: What is Stackify Prefix?

Getting started videos:
http://www.dotnetswede.com/prefix-is-out-heres-a-list-of-resources-for-getting-started/

ASP.NET / .NET / VS blogs to follow

Microsoft Official

.NET Web Development and Tools Blog | Your official information source from the .NET Web Development and Tools group at Microsoft.
RSS: https://blogs.msdn.microsoft.com/webdev/feed

The Visual Studio Blog | The official source of product insight from the Visual Studio Engineering Team
RSS: https://blogs.msdn.microsoft.com/visualstudio/feed/

.NET Blog | A first-hand look from the .NET engineering teams
RSS: https://blogs.msdn.microsoft.com/dotnet/feed/

Non Microsoft

Dot Net Weekly:
http://www.dotnetweekly.com/
RSS: http://www.dotnetweekly.com/feed/

How to solve 500 – Internal Server Error in ASP.NET: Troubleshooting Failed Requests Using Tracing in IIS 7 : The Official Microsoft IIS Site

If nothing of value comes up in your errorlogs or in the event viewer. Just follow this guide to enable Tracing in IIS7+

Source: Troubleshooting Failed Requests Using Tracing in IIS 7 : The Official Microsoft IIS Site