1221 0
Exception handling in C# (With try-catch-finally block details)
In this article, I will explain you in detail about the concept of Exception handling in C# and how we can use try-catch block to handle errors with example.
Type
Article
C# exception handling c# exception c# try catch
1195 0
Bundling and Minification in MVC C#
In this article, I will explain how you can implement bundling and minification in your ASP.NET MVC application(step by step) which improves your web-application performance.
Type
Article
asp.net mvc bundling minification
1099 1
Redirect users to a view using Switch case in asp.net MVC?

I want to redirect the users to certain pages on the basis of their rating. How can I use a switch case in C# ASP.NET MVC to do this? Please give me suggestions with some code part.

...
Type
Question
C# Asp.net mvc switch-case
1063 0
Ways to convert List into Datatable using C#
This article gives you quick solution & few ways to convert .ToList() or IEmuerable List data into DataTable using C#.
Type
Article
C# convert List into Datatable convert generic list to datatable c# using linq LINQ: IEnumerable to DataTable
1057 0
How to read JSON data in C# (Example using Console app & ASP.NET MVC)?
In this article, I will provide you simple way to read JSON data in C# using ASP.NET MVC and Console application code sample & example to read dynamic JSON in C#.
Type
Article
C# Read JSON data read dynamic JSON in C# json to c# class

1054 2
Can anyone explain difference between a virtual and abstract function with example in C#?

Can anyone help me to understand the difference between virtual functions and abstract functions with the example in C#, I would like to understand it in easy languages as I am not able to get it reading books etc, so I can understand in which situation I should use which function(abstract/virtual)?

Thanks

...
Type
Question
C# OOPS-concept difference between abstract function and a virtual function?
1018 1
Error : An asynchronous operation cannot be started at this time

When I am trying to call async method in Class from controller, I am getting the error as below

An asynchronous operation cannot be started at this time. Asynchronous operations may only be started within an asynchronous handler or module or during certain events in the Page lifecycle. If this exception occurred while executing a Page, ensure that the Page is marked <%@ Page Async="true" %>

How can I resolve this error, here is my Current code

...
Type
Question
C# async await asp.net mvc
981 0
File I/O in C# (Read, Write, Delete, Copy file using C#)
In this article, I have explained about File input/output (I/O) handling operations in C# with an example to read, write data to a file and delete or copy the file using C# .NET Console application.
Type
Article
C# File I/O File handling in C#
948 2
JSON.NET Error Self referencing loop detected for type

I am trying to convert List into JSON format using the code below

...
Type
Question
C# serialization json entity-framework
928 1
How to get Current page number of IPagedList Razor View in MVC?

Hi, i would like to get page number of Current page in jQuery or in HTML of the Asp.net MVC PagedList.IPagedList.

...
Type
Question
Razor MVC C# PagedList.IPagedList

Page 3 of 11