Author Archives: eagle081183

About eagle081183

Passionate, Loyal

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

I had a similar problem when running a spring web application in an Eclipse managed tomcat. I solved this problem by adding maven dependencies in the project’s web deployment assembly. Open the project’s properties (e.g., right-click on the project’s name in … Continue reading

Posted in Integration, Problem solving, Programming, Uncategorized | Leave a comment

Basic Strategy for Algorithmic Problem Solving The strategy consists of five big steps: Read and comprehend the problem statement. Select theoretical concepts that may be applied. Qualitative description of the problem. Formalization of a solution strategy. Test and description of the solution. Each step has … Continue reading

Posted in Education and Training, Problem solving, Uncategorized | Leave a comment

All About TransactionScope

1. Introduction TransactionScope is a very special and important class in the .NET Framework. Supporting transactions from a code block is the main responsibility of this class. We often use this class for managing local as well as distributed transactions from … Continue reading

Posted in ASP.NET MVC, C#, Database, Uncategorized | Leave a comment

Moq – Mock Database

Introduction Moq is a very useful framework which easily mocks service calls and methods for your unit testing. This article helps you to understand Moq with respect to mocking a database (i.e. writing unit test cases for your repository project). … Continue reading

Posted in ASP.NET MVC, C#, Database, Uncategorized | Leave a comment

Populating a SelectList from a DataTable

From public static SelectList ToSelectList(this DataTable table, string valueField, string textField) { List<SelectListItem> list = new List<SelectListItem>(); foreach (DataRow row in table.Rows) { list.Add(new SelectListItem() { Text = row[textField].ToString(), Value = row[valueField].ToString() }); } return new SelectList(list, “Value”, “Text”); } … Continue reading

Posted in ASP.NET MVC, C#, Uncategorized | Leave a comment

Time-series data: Why (and how) to use a relational database instead of NoSQL

From These days, time-series data applications (e.g., data center / server / microservice / container monitoring, sensor / IoT analytics, financial data analysis, etc.) are proliferating. As a result, time-series databases are in fashion (here are 33 of them). Most … Continue reading

Posted in Business Model, Integration, Problem solving, Programming | Leave a comment

How to architect Online Payment Processing System for an online store?

Source from So if you’ve decided to develop an On-line Payments system for your e-commerce I really advise you to read this short article. What aspects should I consider before building Payment Processing System? PCI DSS for Credit Card (CC) … Continue reading

Posted in ASP.NET MVC, Business Model, Integration, Knowledge, Technology, Web 2.0 API vs RSS Reader | Leave a comment