Skip to content

Magenaut

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

c#

DateTime issue when global culture of the server is different on different servers

August 25, 2022 by Magenaut

My website is hosted on multiple servers at different locations

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

Redirecting to Full Domain

August 25, 2022 by Magenaut

I currently have a ASP .Net web application. I have some cross domain referencing in my application, so when users visit my page, I need to ensure they enter the full domain name.

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

system.outofmemoryexception When filling DataAdapter?

August 25, 2022 by Magenaut

I have to pull 150K records from DB. I am using da.Fill(ds,"Query") and its throwing system.outofmemoryexception.

Categories ASP.NET, Q&A Tags asp.net, c#, visual-studio-2008 Leave a comment

HttpWebRequest: The request was aborted: Could not create SSL/TLS secure channel

August 25, 2022 by Magenaut

I’m making a asp.net web forms application which offers to pay using paypal. The application is supposed to make use of ssl. When i run my application all goes well until i select my button pay by paypal. When i press this button the following error occurs:

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

Parser for signed overpunch values?

August 25, 2022 by Magenaut

I am working with some old data imports and came across a bunch of data from an external source that reports financial numbers with a signed overpunch. I’ve seen alot, but this is before my time. Before I go about creating a function to parse these strangers, I wanted to check to see if there was a standard way to handle these.

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

Why does ASP.NET MVC Controller FileStreamResult error on closed stream?

August 25, 2022 by Magenaut

I am trying to return a csv file from an MVC Controller derived from a List. I came up with the following code for controller based on combining what I read from docs and SO questions. I must be missing something because I am getting yellow screen of death with “Cannot access a closed stream”…

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

disabling default button or enter key in asp.net c#

August 25, 2022 by Magenaut

I have a form where users scan in a barcode, the barcode reader automatically enters a carriage return in the value causing the form to submit since the browser chooses the first button as the default. How can I disable anything from happening when the enter key is pressed when entring a value in that textbox?

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

Linq performance for in-memory collection

August 25, 2022 by Magenaut

I have a list: Collection users which has around 100K+ records of users (all user objects fully loaded from the database with fields like Bio, First name, last name etc). This collection is fetched on application start from the database and is kept in memory.

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

Authorization with Session variables in asp net mvc 5

August 25, 2022 by Magenaut

So my project requirements changed and now I think I need to build my own action filter.

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

OpenPop.net get actual message text

August 25, 2022 by Magenaut

I am using OpenPop.net to try and parse our links from all the emails that are in a given inbox. I found this method to get all the message:

Categories ASP.NET, Q&A Tags asp.net, c#, email, openpop Leave a comment
Older posts
Newer posts
← Previous Page1 … Page357 Page358 Page359 … 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