3508 1
how to get the Url of page which called Application_Error in ASP.NET

How can i get the url from where the error was originated and Application_Error was called inAsp.NET MVC C#, i have followed this link https://qawithexperts.com/questions/13/how-to-catch-all-error-in-c-mvc-error-handling , with the help of which i was able to catch all type of errors(404,500,any other) in MVC web-application but i am not able to get the original requested ur, because of which Application_Error was called.

How can i get the url, any idea?

 

...
Type
Question
3381 0
Using Generics in C# (With Example)
In this article, I have explained about what is generics in C# and it's benefits in C# with an example
Type
Article
3331 0
Abstract class in C#
This article provides you detail explanation of c# abstract keyword and class, with working example in console application.
Type
Article
3326 2
How to send mail from Domain server in Asp.net c#?

How to send mail from Domain server in Asp.net c#?

...
Type
Question
3315 1
How to create dynamic list type in C#?

Hello, I would like to create a helper function in the class, which can be used by multiple List types at the same, so how can I create initialize or create function to pass List<T> where T can be any type of class in C#?

...
Type
Question


3238 2
Find duplicate array elements & count its occurence in c#

Hi, I have to find the repetition of number of occurence of an element in an array in c#, here is my current code for simple array

...
Type
Question
3214 1
Convert PDF to Image in C# (Console Application Example)
In this article, I have provided sample code to convert PDF file to image using C#, we will be using PDFium library for this.
Type
Article
3183 2
How to get lat-long from address (string) using C#?

I have a address in string like "444 NE Ravenna Blvd, Seattle, WA" , now how can I get the lat/long of this address using Google maps or any other services in C#.

Basically need to convert address into Lat-long using C#.

...
Type
Question
3155 2
Error : Operator '-' cannot be applied to operands of type 'int[]' and 'int[]'

Hi,I am using C# 3-D arrays program and getting error "Operator '-' cannot be applied to operands of type 'int[]' and 'int[]'", how I can resolve this error my current code is as below :

...
Type
Question
3092 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

Page 13 of 20