Serving Industries Worldwide

Innovative Ways - Satisfied Clientele

Unit testing a custom middleware in ASP.NET Core with Interface


Table of Content 1. What is unit test? 2. How does the tests look like? 3. What is Middleware? 4. Advantages of Middleware 5. Send requests with HttpContext 6. Conclusion What is unit test? A unit test is a type of testing.It is the Small Part of code that can be logically in a Program and test that code is work properly that is testing. The latest versions of unit testing can be found in frameworks like JUnit, or testing tools like Test Complete. You will...

read more

How to use ELMAH for enumerating error in ASP.NET core?


Table of Content 1. Introduction to ELMAH 2. Why to choose ELMAH? 3. ELMAH HTTP Modules 4. Logging to elmah.io from ASP.NET Core 5. Configuring API key and log ID in options 6. Additional options 6.1. Events 6.2. Remove sensitive form data 7. Logging exceptions, errors to elmah.io using NLog 8. Conclusion Introduction to ELMAH ELMAH Stands for Error Logging Modules and Handlers that offers functionality to logging runtime ASP.NET errors. ELMAH...

read more

An Overview of Middleware in ASP.Net Core


Middleware was initially proposed in ASP.NET Core 1.0. A middleware is nothing but a component that is implemented on every request in the ASP.NET Core application. In the superior ASP.NET, HttpHandlers and HttpModules were a segment of the request pipeline. Middleware is equivalent to HttpHandlers and HttpModules where both require to be built and accomplished in each request. It can also rule that how any application looks when there is an error, and it is a vital piece in how we...

read more

How ASP.Net Core Helps Building Cross-Platform Web Apps for Enterprise Solutions?


Web application development has become a lot simpler today than it was sometimes back. Today, there is a wide array of frameworks and the latest technologies to select from for web development services. For developing enterprise-grade technologies, Microsoft. .NET Core is one such all-in-one framework used by most .Net web development companies worldwide to develop software applications for Linux, Windows, and macOS. .NET Core framework is a versatile and meticulous framework used to...

read more