How to handle SignalR server exception at client?
The error handler is added like this at client:
The error handler is added like this at client:
We are using the approach described here to log our webservice errors with Elmah. And this actually works, but sadly the username beeing logged is empty.
I need to change the app name based on what configuration I’m using in Visual Studio. For example, if I’m in Debug configuration, I want the app name to show as ‘App_Debug’ in the Application field in the Elmah_Error table. Does anyone have any experience with this? Or is there another way to do it?
I am trying to create a webpage that has a gridview. this gridview is supposed to have a link like below
C# uses string like that 'dd MMMM yyyy HH:mm' to define format the date and time should be displayed in.
I just know how to populate gridview with asp:SqlDataSource
But I have a column of TemplateField in my gridview, when I need modify my SQL for alter grid content, I lose my TemplateField, so I think learn populate my gridview with C#
Someone can teach me or give me some tutorial?
I have an ASP.NET site which uses a 3rd party activeX control. I have to pass a few parameters to the OBJECT tag in the HTML page. If i hardcode these parameters into the HTML everything works.
I am trying to run my first ASP.NET MVC application. I created a cotroller and view. Data is taken from Database. However, when project can run but when I try to navigate Customer page I get following error.
As new in asp.net. In my asp.net application in membership in log off on click event using function ClearSession(), but problem arises after log off if i click back button on browser it is forwarding to the cached page. How to clear cache in browser so a user could not view its profile if he is not login
For instance, log4net.dll comes with log4net.xml. What’s the use of this xml?