Skip to content

Magenaut

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

c#

ASP.NET Schedule deletion of temporary files

August 25, 2022 by Magenaut

Question: I have an ASP.NET application which creates temporary PDF files (for the user to download).
Now, many users over many days can create many PDFs, which take much disk space.

Categories ASP.NET, Q&A Tags asp.net, c#, scheduled-tasks, temporary-files, vb.net Leave a comment

Insert data into SQL Server from C# code

August 25, 2022 by Magenaut

I have a table student (id, name). Then I have one textbox, for entering the name, when click on submit button, it inserts the data into the database. So how can I insert only to name, not id because id is auto increment?

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

Client-Side CommunicationException while Service works properly

August 25, 2022 by Magenaut

Currently i am facing a problem i do not understand. I have an wcf client that calls a wcf service through several threads at the same time (both on the same machine). Sometimes, i encounter the well-known System.ServiceModel.CommunicationException

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

Determine memory used by asp.net cache in shared hosting

August 25, 2022 by Magenaut

According to this question, I want to know if asp.net’s system.web.caching.cache is good for me, or I should use database caching?

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

How to set MSDeploy settings in .csproj file

August 25, 2022 by Magenaut

Is there a way to set MSDeploy parameters in .csproj file itself of ASP.NET MVC project? Particularly a “skip” parameter, which should skip a “Temp” folder.

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

How can I retrieve an assembly’s qualified type name?

August 25, 2022 by Magenaut

How can I generate a assembly qualified type name?

Categories ASP.NET, Q&A Tags asp.net, c#, configuration, powershell, web-config Leave a comment

Maximum file size allowed by ASP.NET file upload Control

August 25, 2022 by Magenaut

I am using File upload control in ASP.Net, followed the below blogs approach.

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

Asp.net mvc dropdown list using ViewBag

August 25, 2022 by Magenaut

My table in db have fields : Id,Organisation,Info.

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

Problem with Substring() – ArgumentOutOfRangeException

August 25, 2022 by Magenaut

I have a repeater that displays data from my Projects table. There are projectId, name and description. I use Substring(1, 240) on description. But sometimes the string is shorter than 240, so I get ArgumentOutOfRangeException. Can you tell me how to display the whole text if I get the exception. This is my code.

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

XML data can’t be read by swf file when i publish it

August 25, 2022 by Magenaut

I am trying to read data from a URL http://localhost:15979/default.aspx.The output of the url is :

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