1282 0
Understanding C# Classes and Objects with example
In this article, I will provide you proper details for understanding C# classes and objects with the example using Visual Studio console application.
Type
Article
C# C# classes and objetcs c# class constructor
1263 0
Creating C# Custom Exception (With Console application example)
To provide clear error details to user and prevent app crashes,sometimes you may need to create custom exception in C#, so in this article I have explained how you can create custom exception in C#.
Type
Article
C# C#-Custom-Exception exception handling in c# with example
1218 2
Compare System Time with database time only (not datetime)

I need to compare a time in a table with the current system time and need to pop up a notification. But how can I compare both? here is my code and DB:

...
Type
Question
c# asp-net compare-time
1195 1
Error "Maximum request length exceeded" in ASP.NET MVC

When I am trying to upload a pdf file(10 MB) using javascript file upload in my ASP.NET MVC application, I am getting this error as below

Maximum request length exceeded

Here is the image of the error

...

Type
Question
C# File upload ASP.NET MVC
1184 1
how to catch all error in C# MVC (error handling)

I have a website in C# MVC and I want to add a feature to it, i.e, to save all the errors in database using one function only, I can place try/catch block in every method of the web applications but it would be lengthy process, so is it possible to place a method/code in one place from where I can save each and every error in database??
I have no idea

 

 

...
Type
Question
C# Error handling

1166 1
Invalid length for a Base-64 char array or string error in C#

When I am trying to decrypt the encrypted string using C#, I am getting an error as below

Invalid-length-for-a-Base-64-char-array-or-string-decryption-c-sharp.png

Here is the HTML Razor anchor link code clicking on which, I am trying to decrypt it

...
Type
Question
C# asp.net mvc base 64
1165 0
MVC List box using jQuery getJSON and JSONResult
This article shows how you can populate MVC Listbox using jQuery and JSONResult.
Type
Article
C# MVC .net
1131 0
Asynchronous programming in C# and ASP.NET MVC ( With example )
In this article, I have explained about the async-await keyword in C# and how to use asynchronous programming in c#, explained with console application sample.
Type
Article
C# c# await async await c# asynchronous programming c#
1115 0
Show elapsed time of item using C#, SQL & jQuery (Updating elapsed time of item dynamically using jQuery)
This article shows you, how you to get date difference from database in C# and update elapsed time dynamically using jQuery
Type
Article
asp.net-mvc Razor datetime-difference-in-C# update-elapsed-time-dyanmically
1111 1
How to resolve Class, struct, or interface method must have a return type?

C# error, when trying to execute the code as below

...
Type
Question
C# Class struct or interface method must have a return type

Page 6 of 12