CRUD Application Using ASP.NET MVC 5 and MongoDB

Why use MongoDB? It’s not a fad. It’s a need. I will not cover the advantages of MongoDB over other databases out there. Try this and you will find why.

In this article, I will give you the basics on creating CRUD application using ASP.NET MVC and MongoDB.  Take it from the basics and you can grow it into Enterprise Application.

Implementing Breadcrumb In AngularJS Using Angular-UI-Router

One of the thing that is missing in AngularJS API is the auto mapping of breadcrumb that is tied with the routes. If you are concern about UX that implements breadcrumb in Angular then this is a good example.

Creating CRUD Application with ASP.NET MVC 5, AngularJS, BootStrap 3, and HTML5 - Part 5

Part 5 – The Add, Update, and Delete modules

We already have the skeleton and we already tried pulling data from the back end.  The next things would be easier. All we have to do is add more  functions to our existing modules.

Creating CRUD Application with ASP.NET MVC 5, AngularJS, BootStrap 3, and HTML5 - Part 4

Part 4 : Communicating with ASP.NET MVC

In order for AngularJS to get data from any backend server. It needs to use the http service.

Creating CRUD Application with ASP.NET MVC 5, AngularJS, BootStrap 3, and HTML5 - Part 3

Part 3 : Creating the Back End Using ASP.NET MVC

The are 2 ways we can pass data to and from ASP.NET MVC to Angular:
1. By BootStrapping = Using cshtml
2. By Angular $http Service = In this tutorial, we will use this.

Creating CRUD Application with ASP.NET MVC 5, AngularJS, BootStrap 3, and HTML5 Part 2

Part 2 – Preparing the views of the Contact Page using HTML5, BootStrap 3, and AngularJS.

Creating CRUD Application with ASP.NET MVC 5, AngularJS, BootStrap 3, and HTML5 - Part 1

The reason why many developers want to use AngularJS and BootStrap 3 on their application is to avail of the SPA features:
  • Avoid full page refresh that reloads resources from the server. 
  • Take advantage of client side caching and reduce traffic.
  • The support for responsive design.

Securing .NET Web Application from Common Attacks

nvidia3dvision_1Web Application is so vulnerable to attacks especially if deals with money, sensitive information and/or business trade secrets. This is a big problem in the IT world and big funds are spend just to protect them from these attack.

Tips On Optimizing Frontend Web Application

"80-90%” of the end-user response time is spent on the frontend. Start there. 
-Steve Souders

What are Inversion of Control (IoC), DIP, DI, and IoC Container?

Many developers are confused about DIP, IoC, DI, and IoC Container. Well, we've been using the concept even the from the DOS mode era. It’s only when SOLID OOP Design and Design Patterns were introduced that made this popular. It is the D in the SOLID acronym which stands for Dependency Inversion Principle. New concepts were added of course.

Paging, Sorting, and Searching in ASP.NET MVC using PagedList and Dynamic Linq

PagedList.mvc is a lightweight API for server side paging in ASP.NET MVC. The only thing we want to avoid is reading all the records from the database and let the PagedList display the records by page. Obviously it's a bad design. What we want to achieved is to read and display the records per page.

UX Design Tips: UX Designers and Software Architects Should Know

Rationale

UX Design is one of the most important thing in Software Development today most especially in web applications. And these are the reasons why:

Adapter Design Pattern

A Software Design Pattern that allows the interface of an existing class to be used from another interface. It is often used to make existing classes work with others without modifying their source code.

Unit of Work Design Pattern

Maintains a list of objects affected by a business transaction and coordinates the writing out of changes and the resolution of concurrency problems.

Prototype Design Pattern

Specifying the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype. Instead of using new keyword to create objects, prototype design pattern will just copy the object created. It’s a clone. A photo copier would the best example in the real world that resembles this pattern.

Singleton Design Pattern

In software engineering, the singleton pattern is a design pattern that restricts the instantiation of a class to one object.  This pattern ensures that a class has only one instance and provides a global point of access to it. This is considered of the the simplest  design pattern.

Builder Design Pattern

The purpose of Builder Design Pattern is to separate the construction of complex object from its representation so that the same construction process can create different representation. It is usually use in building complex objects by using a step by step approach.

Abstract Factory Design Pattern

Abstract Factory patterns acts a super-factory which creates other factories. This pattern is also called as Factory of factories. In Abstract Factory pattern an interface is responsible for creating a set of related objects, or dependent objects without specifying their concrete classes.

Strategy Design Pattern

In computer programming, the strategy pattern (also known as the policy pattern) is a software design pattern that enables an algorithm's behavior to be selected at runtime. The strategy pattern
  • defines a family of algorithms,
  • encapsulates each algorithm, and
  • makes the algorithms interchangeable within that family.

Benefits of Removing Unused Using Directives

When you create a new a program, class, or interface (anything that has a code) in Visual Studio, using directives or assemblies are added by default. Visual Studio assumes that you will be needing these directives. But these directives cause some awkward effects on your development when they are not used.

This will accumulate as your codes grow up and unknowingly, it is slowing you down.