Skip to content

Magenaut

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

ASP.NET

ASP.NET web site can’t see .cs file in App_Code folder

August 27, 2022 by Magenaut

So I have an ASP.NET web site (not web application) I’m making in VS2010 with C#. It runs fine on my machine, but when I upload it to the site it’s hosted on, it won’t compile, giving: “CS0246: The type or namespace name ‘DataAccess’ could not be found (are you missing a using directive or an assembly reference?)”

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

Get full query string in C# ASP.NET

August 27, 2022 by Magenaut

As a PHP programmer I’m used to using $_GET to retrieve the HTTP query string… and if I need the whole string, theres loads of ways to do it.

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

ASP.NET: ModalPopupExtender prevents button click event from firing

August 27, 2022 by Magenaut

Here is what I’m trying to do: Click a button on my page, which in turn makes (2) things happen:

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

Staying on current jQuery tab across post back?

August 27, 2022 by Magenaut

I am using jQuery tabs and an ASP.NET listview to display and edit some information. My problem is that when a user inserts a new record in one of the listview items my jQuery tabs go back to the first tab. Is there a way to keep track of which tab I am on or keep it from resting on post back?

Categories ASP.NET, Q&A Tags asp.net, jquery, postback Leave a comment

Best Practice to Implement Secure “Remember Me”

August 27, 2022 by Magenaut

Sometimes, I come across certain web development frameworks which don’t provide an authentication feature, such as in Authentication ASP.NET.

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

JS bundles do not render without EnableOptimization set to true

August 27, 2022 by Magenaut

I don’t know if I’m doing something wrong but it’s probably a bug inside MVC4. I wonder how can I fix this?

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

How to access HttpContext inside a unit test in ASP.NET 5 / MVC 6

August 27, 2022 by Magenaut

Lets say I am setting a value on the http context in my middleware. For example HttpContext.User.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core-mvc, httpcontext, unit-testing Leave a comment

Updating user role using asp.net identity

August 27, 2022 by Magenaut

I have the following problem. While using the following code below to change the user’s current role i am getting an exception with the message like below:

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

How to embed a flash (.swf) file into asp.net?

August 27, 2022 by Magenaut

How to display a flash (.swf) file into asp.net ?

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

Get ASP.NET Identity Current User In View

August 27, 2022 by Magenaut

I use ASP.NET Identity 2.0 and MVC. I need to logged user’s name,surname,email etc.. in view. How can get it? I can get just @User.Identity but there no my user class’s property.

Categories ASP.NET, Q&A Tags asp.net, asp.net-identity-2, asp.net-mvc, c# Leave a comment
Older posts
Newer posts
← Previous Page1 … Page642 Page643 Page644 … 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