How to upload file in ASP.NET MVC3

If you are a web developer you often need to upload file on the web server or database. In this post I am going explain how we can upload file in ASP.NET MVC 3 with razor syntax.
Read More


Get the Way of Reflection

What is Reflection? How we use Reflection? What are the advantages of using Reflection? Get the way of saving memory by using Reflection.
Read More


Extension Methods in C#

Method allow programmer to "add" methods to existing types without creating a new derived type, recompiling, or by modifying the original type. Methods are static methods they are called as if they were instance methods on the extended type.
Read More


Difference between SkipWhile and Where in linq

Before some time I have written a blog post about the SkipWhile operator and a reader of my blog asked me that we can do the same thing with Where also but there is a difference between this two. So In this post I am going to explain you difference between those two.
Read More


Tuple in C# 4.0

C# 4.0 language includes a new feature called Tuple. Tuple provides us a way of grouping elements of different data type. That enables us to use it a lots places at practical world like we can store a coordinates of graphs etc.
Read More


Namespace In C#

This article explain you about the Namespace in C#
Read More


Test asdfasdfasdfasd sadfasdf

asdfasd
Read More


ASP.NET Web API Basics

ASP.NET Web API is a framework for building web API on the top of .NET framework. It’s a framework for building and consuming web services that can be use at broad range of clients like browsers,tablets phones etc. You can expose JSON or XML whatever you want to use.
Read More


C# State machine - Yield

Yield keyword introduced in C#2.0. Yield keyword allow to create state machine and allow to iterate through the collection of objects one by one
Read More


Format Number To Display

Number of time the end user / client require to display numeric data in different format. In this post I am going to discuss about the various type of the custom format that provided by C#.net to achieve requirement. Here I am going to discuss each format one by one
Read More


Dividing web.config into multiple files in asp.net

When you are having different people working on one project remotely you will get some problem with web.config, as everybody was having different version of web.config. So at that time once you check in your web.config with your latest changes the other people have to get latest that web.config and made some specific changes as per their local environment. Most of people who have worked things from remotely has faced that problem. I think most common example would be connection string and app settings changes.
Read More


Multiple file upload with asp.net 4.5 and Visual Studio 2012

In earlier version of ASP.NET there is no way to upload multiple files at same time. We need to use third party control or we need to create custom control for that. But with asp.net 4.5 now its possible to upload multiple file with file upload control.
Read More


Calling Server Side function from Client Side Script

The post is about how you can call your code behind file function i.e server side written function from your client side code i.e using jQuery.
Read More


Model binding with ASP.NET 4.5 and Visual Studio 2012

In earlier version of the asp.net we have to bind controls with data source control like SQL Data source, Entity Data Source, Linq Data Source if we want to bind our server controls declaratively. Some developers prefer to write whole data access logic and then bind the data source with databind method. Model binding is something similar to asp.net mvc binding.
Read More


How to define Classes in JavaScript

In this article we will see different ways of defining and instantiating an object.
Read More


Extending Enum to return attached string

No of time there is requirement of getting string of Enum value to display purpose or to perform other task. So to deal with this requirement I wrote one extension function that get the string attached with the enum value.
Read More


Enhance String type to get Converted In Given Type

Converting string into a given type with C# Convert.ChangeType method.
Read More


Title

Description
Read More


Multiple file upload with asp.net mvc and HTML5

Multiple file upload with asp.net mvc and HTML5
Read More


Test

Test
Read More


Testdffdfs

Testdsdfsdfsdfdfsdfsdfs dfsd f dsfsd gsdf gsdg sdgs gsdg sdg sdg
Read More


Call Sql Server inbuilt functions using Linq

The post is about the the new class introduce in .net framwork for support of built in SQL-Server function. The SqlFunctions class allows to call SQL-Server function from linq queries while using EntityFramwork.
Read More


Delegate and Action and Func and lamda

This post is about the new delegate types included in .net framework which are Action and Function. How to use this type and what is difference between this two type. Also to resolve confusion between Action, Function, Delegate and Lamda.
Read More


Responsive WCF service With ICallbackEventHandler Interface

In this post I am going to discuss about the development of the WCF(duplex) callback service which replay back to consumer i.e client of service and about ICallbackEventHandler Interface implementation which provide response to the user on screen.
Read More


asdfasdfasfdasdf

asdfasdf
Read More


Fill Combo Box from the XML

Fill Combo Box by fetching the data from XML.
Read More


Assign ToolTip to dynamically created colum of silverlight Gridview

Assign ToolTip to dynamically created colum of silverlight Gridview and How to create style for element runtime
Read More


Return Anonymous type

In this post I am going to discuss about returning the anonymous type and how to handle in code. Following is list of fact about anonymous type.
Read More


ASDasdASDasd

ASDasdADasd
Read More


title of the article of maximum 100 charachter length.

title of the article of maximum 100 charachter length. title of the article of maximum 100 charachter length.
Read More


Convert DateTime string to DateTime variable

In this post I am going to discuss about Conversion of String data in to DateTime.
Read More


Lazy in C# 4.0

Before C# 4.0 there was no on demand initialization by default. So at the time of declaration we need to create a value or object will be null or we have to create on demand initialization via coding.. But with C# 4.0 we now have lazy class. As per MSDN it support lazy initialization so it means if we use lazy class then it will initialize the object at the time of demand.
Read More


Parallel task in C# 4.0

In today’s computing world is all about Parallel processing. You have multicore CPU where you have different core doing different work parallel or its doing same task parallel. For example I am having 4-core CPU as follows. So the code that I write should take care of this.
Read More


How to sort a data table in C# with LINQ

One of friend today ask how we can sort data table based on particular column? So I thought it’s a good idea to write a blog post about it. In this blog post we learn how we can learn how we can sort database with LINQ queries without writing much more long code.
Read More


Replace line breaks in C#

In recent days I was working on a project want to replace \r\n to a new character but it was giving very strange behaviour. It was not replacing proper.
Read More


Visual Studio 2012 Tip- Closed All But Pinned feature

Visual studio 2012 is one of best IDE I have ever used. Everyday I am discovering something new with that IDE which is more productive. Today I have discovered “Closed All But Pinned” feature. I thought It’s a good idea to write a quick tip post.
Read More


Store data at browser using HTML5 Web Storage

Store data at browser using HTML5 Web Storage
Read More


DistinctBy in Linq

In this post I am going to discuss about how to get distinct object using property of it from collection. Here I am going to show three different way to achieve it easily.
Read More


Creating PDF file in ASP.Net MVC using RazorPDF

In this post we are going to learn how we can easily create PDF from ASP.Net application with the help of Razor PDF NuGet package.
Read More


Difference between Deferred and Immediate execution in Linq

In this post, We are going to learn about Deferred vs Immediate execution in Linq. There an interesting variations how Linq operators executes and in this post we are going to learn both Deferred execution and immediate execution.
Read More


Generate Sequcen Diagram (Visual Studio)

Following post is about feature provided by MS Visual Studio to generate sequence diagram from already written code.
Read More


Enhanced Scroll bar in Visual Studio 2013

In this post we are going to learn about Enhanced scroll bar in visual studio 2013. This part will also be part of Visual Studio 2013 feature series.
Read More


Knockout.js Introduction

We all know about jQuery It makes Java Script developers life very easy. But in Some scenarios jQuery does not help. For example there is no way where UI and data communicates with each other without writing complex code. Here JavaScript library knockout comes very handy. Knockout.js implement Model-View-View-Model pattern to JavaScript.
Read More


SelectMethod in ASP.NET 4.5 Model binding

In asp.net 4.5, It is also possible to bind controls with SelectMethod attribute. This method specify the data that you want to bind with data controls like grid view and repeater controls.
Read More


Code Lens in Visual Studio 2013

Microsoft has recently launched a Preview version of Visual Studio 2013 and I am using that more then a month now and discovering new features every day. In this blog post we will learn about code lens in Visual Studio 2013.
Read More


WCF Application Security in ASP.NET

WCF Application Security
Read More


throw vs. throw(ex) best practice and difference - c#

This article is all about showing the differences between throw and throw(ex) and what are the best practices when using it.
Read More


WaterMark or hint text in WPF by using DependencyProperty

WaterMark or hint text in WPF by using DependencyProperty
Read More


Export two list to CSV file

In this article we will convert two list to csv file.
Read More


How to pass parameters to a method executing by a thread in c-sharp

How to pass parameters to a method executing by a thread in c#.
Read More


Dynamic Keyword in Csharp

Dynamic Keyword in Csharp
Read More


int.Parse and Convert.ToInt32 and int.TryParse in cSharp

int.Parse and Convert.ToInt32 and int.TryParse
Read More


How to check and uncheck a checkbox in jquery.

Here is code to check and uncheck a checkbox in JQuery. To check a checkbox $('.#Checkbox1').prop('checked', true); To Uncheck a checkbox $('#Checkbox1').prop('checked', false);
Read More


How to check if a checkbox is checked or not using JQuery

How to check if a checkbox is checked or not using JQuery
Read More


Unable to update the EntitySet-because it has a DefiningQuery and no element exists to support the current operation

Today I was struggling to solve this strange error in entity framework while saving a new record in a table. "Unable to update the EntitySet - because it has a DefiningQuery and no UpdateFunction element exist to support the current operation."
Read More


How to convert bitmap to image in csharp

How to convert bitmap to image in csharp.
Read More


Use XSL in csharp

Use XSL in csharp
Read More


Create hidden field at run time using Jquery

Here is the code to create hidden field at run time using Jquery.
Read More


Search files based on created date in c-sharp

Search files based on created date in c-sharp
Read More


Creating PDF with ASP.Net MVC and RazorPDF

In this post we are going to learn how we can easily create PDF from ASP.Net application with the help of Razor PDF NuGet package.
Read More


HashSet in C#

In this blog post we are going to learn about HashSet collection in C#.
Read More


ASP.NET WEB API BEST PRACTICES

In this blog we will see that what all things we should keep in our mind while creating Web API project and what are the best practices of using ASP.NET Web API.
Read More


Why coding standards are important?

Why coding standards are important?
Read More


Shared project in Visual Studio 2015

Shared project is new feature that was added in Visual Studio 2013 update 2 but in visual studio 2015 it is coming by default. In this post we are going to learn about Shared Project and how it is different from class library.
Read More


NSubstitute Introduction and Why I like it

NSubstitute Introduction and Why I like it
Read More


How to use NuGet Packages

This is the fundamental article about what is NuGet packages, the benefit of NuGet, how to install, update and remove NuGet packages using GUI and Command line.
Read More


Fluent Migrator for Database Migration

Fluent Migrator makes the database migration very easy. It is a database migration framework for .NET and uses fluent interface to manipulate database.
Read More


dsfdfdfhgfh

sdgfdghgfnfg
Read More


Visual Studio 2015 Github tools

This article is about new Visual Studio 2015 Github tools and how to use it.
Read More


Inversion of Control and Dependency Injection using Unity

Inversion of Control (IOC) and Dependency Injection by using Unity
Read More


Deference between Debug and Release mode

Deference between Debug and Release mode
Read More


Why it's the right time to learn TypeScript

Why it's the right time to learn TypeScript.
Read More


Best way to do code review with GIT

Best way to do code review with GIT
Read More


How to create shapes in css

Lets create different types of shapes with powerful and amazing css
Read More


A Better Solution to create PDF with Rotativa and ASP.NET MVC

In this blog post we are going to learn about creating PDF with ASP.NET MVC with the use of Rotativa as open source framework for creating PDF with ASP.NET MVC.
Read More


How to check opened connection in sql server

Here is the code snippet to check how many database connections are opened in sql server.
Read More


Asp.net: Get the current Date Time of system

In this article I am going to explain how to get the current date time of system in asp.net. C# code: lbldatetime.Text = DateTime.Now.ToString(); VB.net code: lbldatetime.Text = DateTime.Now.ToString()
Read More


test kdjfghkljsdhfkgh sdkjhgkhsdlkg dshgj dslkhg df

testfdg.,sdfhg khdkfghkjdh ghdskf hgkdshfgldslkf
Read More


How is a .NET Distributed Cache Superior to Key Value Store?

ASP.NET web applications, .NET web services applications, and other .NET server applications need to handle extreme transaction loads without slowing down. And, although their application tier scales linearly, the data storage and database tier does not scale and therefore becomes a bottleneck. As a result, the entire application cannot scale.
Read More