April 2012 - Posts

9
Comments

File Upload in ASP.NET MVC3 by Jalpesh P. Vadgama

If you are a web developer you often need to upload file on the web server or database. In today’s post I am going explain how we can upload file in ASP.NET MVC 3 with razor syntax. So, first thing we need to create a view that will contain the file upload...
0
Comments

Difference between SkipWhile and Where in linq by Jalpesh P. Vadgama

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...
Filed under: , ,
4
Comments

Tuple in C# 4.0 by Jalpesh P. Vadgama

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. In C# 4.0 we can create...
Filed under: , ,
0
Comments

TakeWhile operator in linq by Jalpesh P. Vadgama

In this post I am going to explain TakeWhile Operator in details. TakeWhile is one of partitioning operator available in Linq. It will take sequence until condition becomes false. Here is the example for that. using System; using System.Collections.Generic;...
1
Comments

SkipWhile Method in Linq by Jalpesh P. Vadgama

I have been playing around linq and I have found great method call SkipWhile method.  SkipWhile methods skips particular element which matches condition in predicate this can be use full in condition where we need to skip elements on particular condition...
Filed under: ,
13
Comments

Multicast delegates in c# by Jalpesh P. Vadgama

In yesterday’s post We learn about Delegates and how we can use delegates in C#. In today’s blog post we are going to learn about Multicast delegates. What is Multicast Delegates? As we all know we can assign methods as object to delegate and later on...
3
Comments

Delegates in c# by Jalpesh P. Vadgama

I have used delegates in my programming since C# 2.0. But I have seen there are lots of confusion going on with delegates so I have decided to blog about it. In this blog I will explain about delegate basics and use of delegates in C#. What is delegate...
Filed under: ,
0
Comments

Dynamically creating meta tags in asp.net mvc by Jalpesh P. Vadgama

As we all know that Meta tag has very important roles in Search engine optimization and if we want to have out site listed with good ranking on search engines then we have to put meta tags. Before some time I have blogged about dynamically creating meta...
Filed under: , , , ,
7
Comments

Creating dynamic breadcrumb in asp.net mvc with mvcsitemap provider by Jalpesh P. Vadgama

I have done lots breadcrumb kind of things in normal asp.net web forms I was looking for same for asp.net mvc. After searching on internet I have found one great nuget package for mvpsite map provider which can be easily implemented via site map provider...
0
Comments

Execute TSQL statement with ExecuteStoreQuery in entity framework 4.0 by Jalpesh P. Vadgama

I was playing with entity framework in recent days and I was searching something that how we can execute TSQL statement in entity framework. And I have found one great way to do that with entity framework ‘ExecuteStoreQuery’ method. It’s executes a TSQL...
More Posts Next page »