Skip to content

Magenaut

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

c#

For loop to calculate factorials

August 31, 2022 by Magenaut

Currently I have this set of code and its meant to calculate factorials.

Categories ASP.NET, Q&A Tags asp.net, c#, factorial, for-loop, loops Leave a comment

How do I access HttpContext.Current in Task.Factory.StartNew?

August 31, 2022 by Magenaut

I want to access HttpContext.Current in my asp.net application within

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

What is wwwroot in asp.net vnext

August 31, 2022 by Magenaut

I create new asp.net mvc project in visual studio 2015.The project has a wwwroot file.What is this?
enter image description here

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

ASP.NET Web Api – Startup.cs doesn’t exist

August 31, 2022 by Magenaut

I have an ASP.NET Web Api solution which doesn’t contain a Startup.cs class. I presume this is because the solution wasn’t created as an MVC solution.

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

Refresh Page C# ASP.NET

August 31, 2022 by Magenaut

Is there a Page.Refresh type of command to refresh a page?

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

How to control elements on a asp.net master page from child page

August 31, 2022 by Magenaut

I have a few pages on my asp.net website that I would like to turn off a control on the master page. Is there a way to communicate with the master page from a child page?

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

Can’t find control within asp.net repeater?

August 31, 2022 by Magenaut

I have the following repeater below and I am trying to find lblA in code behind and it fails. Below the markup are the attempts I have made:

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

Select query to get data from SQL Server

August 31, 2022 by Magenaut

I am trying to run the SQL Select query in my C# code. But I always get the -1 output on

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

ASP.NET MVC multiple select dropdown

August 31, 2022 by Magenaut

I am using the following code to let user select multiple locations on the form.

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

How can I get the expiry datetime of an HttpRuntime.Cache object?

August 31, 2022 by Magenaut

Is it possible to get the expiry DateTime of an HttpRuntime.Cache object?

Categories ASP.NET, Q&A Tags asp.net, c#, caching Leave a comment
Older posts
Newer posts
← Previous Page1 … Page180 Page181 Page182 … 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