Serving Industries Worldwide

Innovative Ways - Satisfied Clientele

Performing Globalization and Localization using resource file in .NET Core


In this blog, we will be goingto talk about the globalization and localization in .net core. If you want to make your web application in such a way that can be used for every different culture then you need globalization. Using globalization and localization we can build such a website or application so the user anywhere from global can use it. Globalization supports the different cultures. Localization provide the localized resource and cultures. Table of Content 1. What is...

read more

Dependency Injection in Asp.Net Core


Table of Content 1. What is Dependency Injection? 2. Overviewof Dependency Injection 3. Services Injected into Startup 4. Understanding Service Lifetime 5. Extension Methods for Registration 6. Constructor Injection 7. Action Method in Dependency Injection 8. Property in Dependency Injection 9. Service Get Manually 10. Conclusion What is Dependency Injection? Dependency Injection technique is used tocreate a maintainable code in .Net Core.The...

read more

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....

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