1466 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
1440 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#
1423 1
how to add image in folder & image path in db in mvc??

How can i add image path in database, while image in the project folder using ASP.NET MVC C#??
As asked on facebook group

...
Type
Question
ASP.NET MVC C# Save-image
1404 1
How to show success message in JSON format after saving data using Web-service in C#?

I am trying to save data into database using web service[asmx], after saves successfully data into table I want to show successful message in JSON format 

Here is my code:

...
Type
Question
asmx c# web-service return-JSON-format-from-asmx
1390 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

1329 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
1319 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
1240 0
Encrypt password & decrypt it (C# Console application example)
In this article, I am going to provide code in C# to encrypt password and decrypt it using AES in Console application example & also shows MD5 password hashing example.
Type
Article
C# c# encrypt password encryption and decryption in c#
1229 2
how to convert UTC DateTime to local datetime in C#?

I want method which returns the string datetime in target locale format by taking the UTC DateTime and UTC DateTime offset in c#, here is the example code

 

...
Type
Question
asp.net datetime C# utc
1181 2
how to convert httppostedfilebase to httppostedfile in C#?

How do I convert httppostedfilebase to httppostedfile in C#? Here is my demo code sinppet:

...
Type
Question
C# httppostedfilebase to httppostedfile in C#

Page 3 of 12