Dot Net Stuff

CRUD Operations using ADO.Net and C# in ASP.Net

For ASP.Net beginner, it will slightly difficult to understanding of basic insert, update, delete & get operation. You can find several tutorials over internet, but they many of them have used entity framework’s code first or database first approach. But this article will follow a simple step that will allow us to understand & perform CRUD operations in ASP.Net using ADO.Net and C#. We will use normal ADO.Net syntax to perform all basic insert, update, delete & get operation in ASP.Net. We will not use any stored procedure for now as it will become more easy for beginners. Once you will able to understand these basic concepts, you can use stored procedure too.

Continue Reading>>

Creating Dynamic pages in ASP.Net MVC

In our real world of application development, sometimes we need to create dynamic pages in our application. In this article, we will learn about creating the dynamic pages in asp.net mvc. It is suggested to read MVC Url rewriting , if you haven’t idea about MVC Url rewriting or MVC Url Routing.

Continue Reading>>

Applying Controllers to Views in Angular JS Application

Defining controllers is only part of the process—they must also be applied to HTML elements so that AngularJS knows which part of an HTML document forms the view for a given controller. This is done through the ng-controller attribute, and following example shows how it can be done in our example.

Continue Reading>>

Defining Services in AngularJS

Services are singleton objects that provide any functionality that you want to use throughout an application. There are some useful built-in services that come with AngularJS for common tasks such as making HTTP requests. Some key AngularJS are delivered as services, including the $scope and $filter objects that I used in the earlier example. Since this is AngularJS, you can create your own services, a process that I demonstrate briefly here and describe in depth in

Continue Reading>>

Defining Modules Values in AngularJS

The Module.value method allow us to create services that return fixed values and objects. This may seem like an odd thing to do, but it means we can use dependency injection for any value or object, not just the ones you create using module methods like service and filter. It makes for a more consistent development experience, simplifies unit testing, and allows you to use some advanced features, like decoration.

Continue Reading>>

Creating Multiple Controllers in Angular JS Application

We can create multiple controller in Angular JS Application. Almost all project have the requirement to use multiple controller in Angular JS. Each controller have different responsibility and functions depends upon our requirements. Let’s consider following example, which shows that how can we create multiple controller in an Angular JS Application.

Continue Reading>>

Using Modules to Organize Code in Angular JS

Till now we have learn about how AngularJS uses dependency injection with factory functions when you create components such as controllers, filters, and services. We also know that the second argument to the angular.module method, used to create modules, was an array of the module’s dependencies

Continue Reading>>

Defining Filters in Angular JS Application

Filters in Angular JS are used in views to format the data displayed to the user. Once a filter is defined, it can be used throughout a module, which means we can use them to ensure consistency in data presentation across multiple controllers and views. This is one of the powerful and very important features of Angular JS. In this article we will learn different ways that filters can be used, including using the built-in filters that come with AngularJS.

Continue Reading>>