Ask your technical questions on forums or here :
ASP.NET or MVC | C# | Windows Phone
Microsoft Technology Journals by Abhimanyu K Vatsa
HOME ABOUT RAZOR BOOK SPEAKING MVC ASP.NET JQUERY VIDEOS EBOOK ARCHIVE
Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

13 Apr 2016

Comparing two List to find match in both list, 1st list only, 2nd list only that is Insersect, Minus and Minus Except

In this code snippet post you will learn how to compare two List<T> using lambda expressions. Below code is simple and self-explanatory if you read:

Output:

29 Nov 2015

Upload video on YouTube in ASP.NET or MVC

In this post you will learn how to upload video on YouTube from your application. I’ve used ASP.NET Web Forms as well as MVC bits to implement all functionality easily. You can achieve similar functionality ASP.NET Web Forms or MVC alone.

26 Nov 2015

Write on Existing Image

In this blog post you will learn all about writing text or image on existing image. I will be developing this in ASP.NET Web Forms, but you can achieve this functionality in MVC or windows forms as well. I’ve posted another blog post which generates QR Code. Actually all this was part of my recent requirement which I would like share with you.

25 Nov 2015

QR Code Generation and Verification

In this blog post you will learn all about QR Code, starting from requirement to generation to verification. I am going to develop this in C# and in ASP.NET Web Forms, but you can use it with MVC, Desktop Apps etc. I will be using MessagingToolkit.QRCode open source library for everything here.

20 Nov 2015

Search in selected file types Visual Studio

This is a very important feature which is worth useful when making necessary changes that may match in multiples file types but you are only supposed to change in selective files types.

1 Apr 2015

Initialize var with null or empty in C# - learn workarounds

In this quick code you will learn how to initialize var so that it works like null or empty. Technically, this is not possible.

20 Feb 2015

String Replace by ignoring case C#

This is a quick blog post about replacing string by ignoring case in C#. We land in some situations where we get string and we have no control over case. In such cases to replace string by ignoring its case we can use Regex.Replace method.

8 Feb 2015

Crop image maintaining aspect ratio in ASP.NET, C#

Sometimes we need to decrease size of the images by maintaining aspect image ratio. The code give below will produce a new image from source image and new image will look exactly like source image.

16 Jan 2015

Hidden Input HTML control with jQuery, ASP.NET and C#

In this post you will learn use of Hidden Input HTML control <input type="hidden"....> with jQuery, also using this from ASP.NET and C#.

6 Feb 2013

Quick Search, Replace and Navigate in Visual Studio IDE (A Must Read Post)

I would call this post as Tips/Tricks post because this post contains information about Visual Studio IDE features. I can see large number of developers are not familiar with these features. So, I thought writing a blog post collecting searching, replacing and navigating tips which is vital to happy and productive.

26 Sep 2012

Normal LINQ Query to Compiled LINQ Query to Auto-Compiled LINQ Queries in Entity Framework 5

Entity Framework 5 brings number of improvements and query performance improvement is one of them. In this article I’ll be talking all on query performances (EF1 to EF5) so that you can understand the improvements better.

21 Sep 2012

Code First Database Migrations in MVC: in Hindi

In this video you will learn how to use Migration feature in MVC Apps. I will create a new MVC Project using Code First Approach and then I will make some changes in model to look at the errors and then will use the Migration feature to migrate/update the database. Video is in Hindi Language.

17 Sep 2012

Using Stored Procedure & Entity Framework in MVC 4 to create CRUD Apps: in Hindi

In this video you will learn how to create CRUD Apps in MVC 4 using Stored Procedure and Entity Framework.

10 Sep 2012

ASP.NET Session States in SQL Server Mode (Session State Story)

A session is defined as the period of time that a unique user interacts with a Web application. Active Server Pages (ASP) developers who wish to retain data for unique user sessions can use an intrinsic feature known as session state.

Programmatically, session state is nothing more than memory in the shape of a dictionary or hash table, e.g. key-value pairs, which can be set and read for the duration of a user's session.

8 Sep 2012

Free ebook: Beginning LINQ



A new fashion to write Queries and address the impedance mismatch between programming languages and database.

This e-book is based on my series of LINQ posts and I’m just consolidating all blog posts here.



PDF Version


Download Size: 1.10 MB
Total Pages: 36





Written by Abhimanyu Kumar Vatsa (itorian.com) and Edited By: Deepak K Gupta.

13 Aug 2012

Learn .NET and C# in 60 Days Video Series : by Shivprasad Koirala

Friends, recently I subscribed a YouTube channel to boost-up my .NET and C# skills by just watching videos. These videos are being recorded by our start tech leader ‘Shivprasad Koirala’ sir (http://www.questpond.com). I recommend you to go and subscribe the channel to receive the upcoming videos in your inbox and even watch the uploaded videos that is already recorded. I watched all of the recordings and eagerly waiting for new alert in my inbox. 

30 Jul 2012

Properties in C# : How/Why we use this?

Again, one of my follower on Facebook asked me a question, here it is.


Hello Sir

I'm new in C#, i tried lot to understand the get/set properties but still can't understand. Please help, why and how we use this?
by Manish Kumar


And this blog post is my response to his ask. So, let’s get started.

20 Jul 2012

Calling an ASP.NET C# Method (Web Method) using JavaScript

Another title of this post would be “Say bye-bye to Postbacks”. Sometimes we need to stop annoying post-backs on ASP.NET Web Pages. For example, when one click the ASP.NET button on webpage, by default page gets post-back. So, how we stop this by keeping proper code-behind method calls. Let’s look at one case.

9 Jul 2012

Free E-book: Time-Saving VS11 and ASP.NET 4.5 Features You Shouldn’t Miss

Last weak, two Telerikers Joshua Holt and Carl Bergenhem introduced a very nice free e-book for developer community to get job done quickly with less code. Very nice book, read it once.