Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

ASP.NET

How to handle SignalR server exception at client?

August 26, 2022 by Magenaut

The error handler is added like this at client:

Categories ASP.NET, Q&A Tags asp.net, javascript, signalr Leave a comment

Logging username with Elmah for WCF Webservices

August 26, 2022 by Magenaut

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.

Categories ASP.NET, Q&A Tags asp.net, elmah, exception, logging, wcf Leave a comment

Is there any way to programmatically set the application name in Elmah?

August 26, 2022 by Magenaut

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?

Categories ASP.NET, Q&A Tags asp.net, c#, elmah Leave a comment

how to create a link in gridview in asp.net

August 26, 2022 by Magenaut

I am trying to create a webpage that has a gridview. this gridview is supposed to have a link like below

Categories ASP.NET, Q&A Tags asp.net, c#, gridview, linkbutton Leave a comment

How can I convert date time format string used by C# to the format used by moment.js?

August 26, 2022 by Magenaut

C# uses string like that 'dd MMMM yyyy HH:mm' to define format the date and time should be displayed in.

Categories ASP.NET, Q&A Tags asp.net, c#, datetime-format, javascript, momentjs Leave a comment

How to populate gridview with mysql?

August 26, 2022 by Magenaut

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?

Categories ASP.NET, Q&A Tags asp.net, c#, gridview, mysql Leave a comment

How to read web.config APP key settings in HTML markup

August 26, 2022 by Magenaut

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.

Categories ASP.NET, Q&A Tags activex, asp.net, html, object, web-config Leave a comment

How to fix The model item passed into the dictionary is of type error?

August 26, 2022 by Magenaut

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.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-mvc-4, c# Leave a comment

How to clear browser cache when user log off in asp.net using c#?

August 26, 2022 by Magenaut

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

Categories ASP.NET, Q&A Tags asp.net, c#, cache-control Leave a comment

What’s the purpose of xml files next to the dll?

August 26, 2022 by Magenaut

For instance, log4net.dll comes with log4net.xml. What’s the use of this xml?

Categories ASP.NET, Q&A Tags .net, asp.net, dll Leave a comment
Older posts
Newer posts
← Previous Page1 … Page689 Page690 Page691 … Page944 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress