Latest Contents Posted

Rss
0 Votes
0 Comments
112 Views

Filters in AngularJs

Filters in Angular JS user to filter the bind-able data in html. **What is Filters** We can use filter format data for displaying it to the user. The formatted value of an expression is applied to your output data in AugularJs. We can use built-in Filters and create own filters ....
Started 31 December 2015 by DeCoder in Articles

Latest By DeCoder

31 December 2015


0 Votes
0 Comments
133 Views

LinQ on DataTable in C#

In this article i'll show how to use `LinQ` on `DataTable`. We cannot query directly against the DataTable's Rows collection as we did in normal list. Because `DataRowCollection` does not implements IEnumerable interface. So to use linQ with datatable we need to use the `AsEnumerable()` extension for DataTable. Please see ....
Started 15 December 2015 by admin in Articles

Latest By admin

15 December 2015


0 Votes
0 Comments
127 Views

Lock object in C#

Lock is a keyword that is used for thread based Program generally in windows or console application. It restricts the block of code from being executed only by one thread at a time. This makes multi threaded programs more reliable as they are not thread safe. To implement objecting locking ....
Started 01 December 2015 by admin in Articles

Latest By admin

01 December 2015


0 Votes
0 Comments
198 Views

Using Request.UrlReferrer in ASP.NET / MVC

Request.UrlReferrer in ASP.Net or MVC is used to track the url from which user came to a particular page. The referrer url can be internal of external (i.e. within same domain or from other domain). One thing to keep it mind that UrlReferrer will only have value if user came ....
Started 21 November 2015 by admin in Articles

Latest By admin

21 November 2015


0 Votes
0 Comments
160 Views

Refresh only a section of page using MVC

I have seen many developers facing issue when refreshing only some content of the page using partial view from server in MVC. In this article i'll explain how to do it correctly. Let assume you have a blog and you want whenever someone comment on your blog only comment section ....
mvc
Started 06 November 2015 by admin in Articles

Latest By admin

06 November 2015


0 Votes
0 Comments
184 Views

Create extension method in JavaScript

The standard way of creating extension methods (like C#) in JavaScript is as follow. Following function will create the extension method 'endWith' over thhe string type in JavaScript. String.prototype.endWith = function(st){ return (this.indexOf(st) === 0); } You can use the 'endWith' function as shown below: alert("something in the end".endWith("end")); //the ....
Started 02 November 2015 by DeCoder in Code

Latest By DeCoder

02 November 2015


0 Votes
0 Comments
343 Views

Add jQuery dependency to angular js controller

I have seen many developer struggle with the angular on how to resolve the jQuery dependency. Following is the code that helps you achive the same. (function () { 'use strict'; var app= angular.module('app'); //Following factorires references the instance of related lib so we can inject them to the controllers/services ....
Started 02 November 2015 by DeCoder in Code

Latest By DeCoder

02 November 2015


0 Votes
0 Comments
994 Views

Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default

Few days back when i am doing some POC i start getting following error when i try to change .Net Framework from 4.5.2 to 4.5 > Server Error in '/' Application. > > Compilation Error Description: An error occurred during the > compilation of a resource required to service this ....
Started 26 October 2015 by admin in Articles

Latest By admin

26 October 2015


0 Votes
0 Comments
397 Views

caldav library .net framework

I have found one Client Library for the .Net to CalDAV connectivity. The library allows CardDAV/CalDAV connectivity within Microsoft Visual Studio projects (Like ASP.Net, MVC, C# etc). It is an abstraction Library that provides simple CalDAV / CardDAV connectivity. As per the documentation > The library also includes a primitive ....
Started 20 October 2015 by DeCoder in Articles

Latest By DeCoder

20 October 2015


0 Votes
0 Comments
130 Views

No connection could be made because the target machine actively refused it

My vendor given me the web service that I am tries to consume in my application. When I try to check the service with ?wsdl in the end I am getting the correct details, but when I try to consume through my application I am getting error stating that “No ....
Started 20 October 2015 by TechGuy in Tips

Latest By TechGuy

20 October 2015


0 Votes
0 Comments
107 Views

Custom readline function that consider individual \r and \n as a part of line

I have developed the custom readline function that handles only \r and \n character. The in-built function StreamReader.ReadLine() will create a new line as soon as it encountered \r, \n or \r\n The issue is some team that use mainframe data \r or \n are not always used for the ....
Started 20 October 2015 by TechGuy in Code

Latest By TechGuy

20 October 2015


0 Votes
0 Comments
204 Views

Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format

There are many solution you find in Internet to solve 'Oracle.DataAccess' assembly error. But of them work for me. Finally i am able to crack the issue. > I was using the webdev server to run my application and it keep giving > me error. But when i change from ....
Started 16 October 2015 by admin in Tips

Latest By admin

16 October 2015


0 Votes
0 Comments
172 Views

Are you really working under a leader?

IT industries are growing with the rapid pace and with it the more numbers of leader are coming out every day. Some are really deserve to be called as leader, they are changing the IT industries with modern practices, bringing positive attitude and encouraging their teams to become world class. ....
Started 16 October 2015 by DeCoder in Tips

Latest By DeCoder

16 October 2015


0 Votes
0 Comments
467 Views

Angular-UI or Angular-Strap which one to use

As far as i know the Angular-UI team has working towards to remove all jQuery and its dependencies from their code, similar approach adopted by Angular Strap team. They both support Bootstrap 3x so you gain nothing by going with a specific library from that perspective either. According to the ....
Started 12 October 2015 by DeCoder in Articles

Latest By DeCoder

12 October 2015


0 Votes
0 Comments
172 Views

Create angular application in quick time

AngularJs is becoming more and more common now a days and most of the new websites or javascript script base application are using angular. But most of the companies want quick development and thats why they don't want to use angular, because it involve learning processes and also take time ....
Started 10 October 2015 by admin in Articles

Latest By admin

10 October 2015


0 Votes
0 Comments
162 Views

Copy All files from one folder to another

Following function help you to move all the files from one folder to another folder. This is just the basic function using the traditional C# (i.e. without using any advance C# feature). the purpose of this code is to work with any .net framework from 2.0 and above. Note: If ....
c#
Started 26 September 2015 by admin in Code

Latest By admin

26 September 2015


0 Votes
0 Comments
91 Views

LinQ to DataTable (filtering)

In this article i will explain you how to to use LinQ with DataTable. Before starting i just want to let you know that this is just one of the many methods which you can use to filter data of datatable. In following example i have use Employees data table ....
Started 26 September 2015 by admin in Code

Latest By admin

26 September 2015


0 Votes
0 Comments
494 Views

XML is case sensitive

Well today i am having a discussion with one of my friend, and during that discussion i came to know some interesting thisng about XML. I.e. xml is case sensitive langauge. Like many other developer i also keep ignoring this important fact about XML programing. After some googling i forun ....
xml
Started 26 September 2015 by admin in Articles

Latest By admin

26 September 2015


0 Votes
0 Comments
468 Views

Adding assembly to GAC using command prompt without Gacutil.exe

If you have visual studio installed or you have msi or setup.exe it easy to installed the assembly. But If you have to install the assembly to GAC without all that then you can use the following command To install 64 bit assembly (x64 systems) md C:\Windows\assembly\GAC_64\{{assembly name}}\{{version}}__{{public token}}\ copy ....
Started 12 September 2015 by admin in Articles

Latest By admin

12 September 2015


0 Votes
0 Comments
121 Views

Angular 1 to Angular 2 migration

Yesterday I was going through the blog to check how and why we should migrate from Angular 1 to Angular 2 framework. I just like to share below. **Summary** Good news! We're enabling mixing of Angular 1 and Angular 2 in the same application. You can mix Angular 1 and ....
Started 28 August 2015 by DeCoder in Articles

Latest By DeCoder

28 August 2015



Our 4 members have posted 551 times in 494 contents