Click here to Skip to main content
15,886,873 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionBrowser Security Pin
saurabh.15in14-Aug-18 3:39
saurabh.15in14-Aug-18 3:39 
AnswerRe: Browser Security Pin
Richard Deeming14-Aug-18 4:15
mveRichard Deeming14-Aug-18 4:15 
GeneralRe: Browser Security Pin
saurabh.15in15-Aug-18 21:28
saurabh.15in15-Aug-18 21:28 
QuestionI am getting the following error in my Production Server: Error Message: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Pin
indian14313-Aug-18 7:59
indian14313-Aug-18 7:59 
AnswerRe: I am getting the following error in my Production Server: Error Message: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Pin
Richard Deeming13-Aug-18 8:10
mveRichard Deeming13-Aug-18 8:10 
QuestionAsp.Net Core 2.1 with Angular 6 inside, Angular 6 service adding record using .net controller, what to return?, and use of MongoDB with auto increment Pin
jkirkerx13-Aug-18 7:58
professionaljkirkerx13-Aug-18 7:58 
Answer[Solved the CreatedAtRoute] Pin
jkirkerx13-Aug-18 8:43
professionaljkirkerx13-Aug-18 8:43 
QuestionUsing Elmah for my ASP.Net MVC application Pin
indian14312-Aug-18 22:08
indian14312-Aug-18 22:08 
Hi,

I am trying to use Elmah for my ASP.Net MVC application, in which I was somewhat successful, I could able to see errors like if I try to access url without action method like 404 etc.

But I have questions how Elmah works like
  1. If I have multiple layers like one Web Service and another one is UI layer, then is it better to include Elmah in both projects separately or just adding it on one Project UI is fine?
  2. Elmah to Work do I need to log the Errors into Elmah Database explicitly or is the Elmah going to catch the exceptions and write it in the Elmah Database, I have included the Connection string and details in the Web Config of both the Service and UI and included the DLLs as well in both the applications. Is it enough or do I need to write the Exceptions into the Elmah Db
  3. If I have multiple layers of application, one in that is UI layer and another one is Web Service Layer, then how would I know if any error happened in Data access layer within Web Serice or Business layer within Web Service, do I need to log it into Database of Elmah or how can I do that?
  4. Which is better way to log errors using Elmah, file or Database, I am using Database, it it ok?
  5. My most important Concern is how to secure my application? When I have Elma, it shows that we can directly access the errors, I want to make sure only the Developers should be able to access the Errors or Exceptions information, not even Admin users of the Application, can you please give me some suggestions.
I have these questions, can anybody please help me with these, thanks in advance.

Thanks,

Abdul Aleem

"There is already enough hatred in the world lets spread love, compassion and affection."

-- modified 13-Aug-18 12:18pm.
QuestionI am creating graph chart line chart bar chart in asp.net web form. Pin
Member 1389651512-Aug-18 20:04
Member 1389651512-Aug-18 20:04 
AnswerRe: I am creating graph chart line chart bar chart in asp.net web form. Pin
Richard MacCutchan12-Aug-18 21:01
mveRichard MacCutchan12-Aug-18 21:01 
QuestionThe remote name could not be resolved Pin
Member 102909889-Aug-18 1:10
Member 102909889-Aug-18 1:10 
AnswerRe: The remote name could not be resolved Pin
Richard Deeming9-Aug-18 1:42
mveRichard Deeming9-Aug-18 1:42 
AnswerRe: The remote name could not be resolved Pin
Nathan Minier9-Aug-18 2:23
professionalNathan Minier9-Aug-18 2:23 
QuestionSetting onblur, onkeyup and onkeydown for @Html.Kendo().TextBoxFor using HtmlAttributes Pin
indian1438-Aug-18 14:34
indian1438-Aug-18 14:34 
AnswerRe: Setting onblur, onkeyup and onkeydown for @Html.Kendo().TextBoxFor using HtmlAttributes Pin
jkirkerx13-Aug-18 8:10
professionaljkirkerx13-Aug-18 8:10 
GeneralRe: Setting onblur, onkeyup and onkeydown for @Html.Kendo().TextBoxFor using HtmlAttributes Pin
jkirkerx18-Aug-18 8:28
professionaljkirkerx18-Aug-18 8:28 
QuestionGetting HiddenField value in GetValidators method of CustomModelValidatorProvider Pin
indian1437-Aug-18 11:28
indian1437-Aug-18 11:28 
AnswerRe: Getting HiddenField value in GetValidators method of CustomModelValidatorProvider Pin
Eric W Scott8-Aug-18 3:59
professionalEric W Scott8-Aug-18 3:59 
GeneralRe: Getting HiddenField value in GetValidators method of CustomModelValidatorProvider Pin
indian1438-Aug-18 6:30
indian1438-Aug-18 6:30 
GeneralRe: Getting HiddenField value in GetValidators method of CustomModelValidatorProvider Pin
Eric W Scott9-Aug-18 4:16
professionalEric W Scott9-Aug-18 4:16 
QuestionHow to solve HTTP Error 403.14 - Forbidden error in web service project Pin
sudipta saha6-Aug-18 1:24
sudipta saha6-Aug-18 1:24 
AnswerRe: How to solve HTTP Error 403.14 - Forbidden error in web service project Pin
Richard Deeming6-Aug-18 2:21
mveRichard Deeming6-Aug-18 2:21 
GeneralRe: How to solve HTTP Error 403.14 - Forbidden error in web service project Pin
sudipta saha6-Aug-18 22:31
sudipta saha6-Aug-18 22:31 
AnswerRe: How to solve HTTP Error 403.14 - Forbidden error in web service project Pin
dan!sh 6-Aug-18 2:41
professional dan!sh 6-Aug-18 2:41 
GeneralRe: How to solve HTTP Error 403.14 - Forbidden error in web service project Pin
sudipta saha6-Aug-18 22:24
sudipta saha6-Aug-18 22:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.