Skip to content

Magenaut

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

c#

Send message to specific user in signalr

August 27, 2022 by Magenaut

I have a signalR Server(Console Application) and a client application(Asp.net MVC5)

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

Image from HttpHandler won’t cache in browser

August 27, 2022 by Magenaut

I’m serving up an image from a database using an IHttpHandler. The relevant code is here:

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

Must declare the scalar variable “@Email”

August 27, 2022 by Magenaut

I am trying to pass values from a database table to a couple of labels where the email column matches the email entered.I have passed the email entered from login page to this page using a session.Like This :

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

how to restart asp.net application besides modifying web.config

August 27, 2022 by Magenaut

Is there a recommended way to bounce an asp.net application besides touching web.config from inside the application? is HttpRuntime.UnloadAppDomain(); the preferred way to do this ? and if so where do you do this? In the unload of a page or some other place in the application?

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

Using LINQ to group by multiple properties and sum

August 27, 2022 by Magenaut

I have a collection of items, here it is: AgencyID VendorID StateID Amount Fee 1 1 1 20.00 5.00 1 1 1 10.00 2.00 1 1 1 30.00 8.00 2 2 1 20.00 5.00 2 2 1 5.00 5.00 1 1 2 20.00 5.00 2 2 2 20.00 5.00 2 2 2 40.00 9.00 1 … Read more

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

How to enable MultipleActiveResultSets

August 27, 2022 by Magenaut

I have the following connection string in my code:

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

How to retrieve the value of a ListView item in the same row as a LinkButton

August 27, 2022 by Magenaut

I have a dynamically generated ListView which displays a set of groups, retrieved from a database. The ListView template looks like this:

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

How to stream video content in asp.net?

August 27, 2022 by Magenaut

I have the following code which downloads video content:

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

What does IFormatProvider do?

August 27, 2022 by Magenaut

I was playing around with the Datetime.ParseExact method, and it wants an IFormatProvider…

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

Allowing user to download from my site through Response.WriteFile()

August 27, 2022 by Magenaut

I am trying to programatically download a file through clicking a link, on my site (it’s a .doc file sitting on my web server). This is my code:

Categories ASP.NET, Q&A Tags asp.net, c# Leave a comment
Older posts
Newer posts
← Previous Page1 … Page291 Page292 Page293 … Page451 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