Category Archives: ASP.NET MVC

ASP.NET MVC

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 https://stackoverflow.com/questions/1439374/populating-a-selectlist-from-a-datatable 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

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

Source from https://medium.com/@distributedleo/how-to-architect-online-payment-processing-system-for-an-online-store-6dc84350a39 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

Microkernel Architecture Pattern & Applying it to Software Systems

Architectural Patterns always been interesting from designer perspective. MVC, Pipe’n’filter, Layered,3-tier, n-tier, etc. But one very basic architectural concept coming from Civil engineers in practice. ‘’Have common building block with minimal facility as a base, with modular and customizable components … Continue reading

Posted in ASP.NET MVC, Integration, Programming, Software architecture, Technology | Leave a comment

Solution architecture: Dev-Test deployment for testing microservice solutions

This architecture represents how to configure your infrastructure for development and testing of a microservices-based system. This solution is built on the Azure managed services: Visual Studio Team Services, Service Fabric and SQL Database. These services run in a high-availability … Continue reading

Posted in ASP.NET MVC, C#, Education and Training, Software architecture | Leave a comment

A Comparison of the Top Four Enterprise-Architecture Methodologies

Nguồn Microsoft A Comparison of the Top Four Enterprise-Architecture Methodologies Roger Sessions ObjectWatch, Inc. May 2007 Applies to: Enterprise Architecture Summary: Twenty years ago, a new field was born that soon came to be known as enterprise architecture. This paper … Continue reading

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