Skip to content

Magenaut

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

c#

Mixing VB.Net and C# Code in an ASP.Net Web Site project?

August 31, 2022 by Magenaut

The question quite an older and often asked around, i have similar questions here but my question is a bit more specific.

Categories ASP.NET, Q&A Tags asp.net, c#, vb.net, web-site-project Leave a comment

ASP.NET request validation causes: is there a list?

August 31, 2022 by Magenaut

is anybody aware of a list of exactly what triggers ASP.NET’s HttpRequestValidationException? [This is behind the common error: “A potentially dangerous Request.Form value was detected,” etc.]

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

Access cell value of datatable

August 31, 2022 by Magenaut

Can anyone help me how to access for example value of first cell in 4th column?

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

Is it possible to use the ‘using’ statement in my aspx views? (ASP.NET MVC)

August 31, 2022 by Magenaut

This likely applies to non MVC too. But, Is it possible to use the ‘using’ statement in my aspx views?

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

How to process WebResponse when .NET throws WebException ((400) Bad Request)?

August 31, 2022 by Magenaut

I’m using Facebook Graph Api and trying to get user data. I’m sending user access token and in case this token is expired or invalid Facebook returns status code 400 and this response:

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

How to remove unused using namespaces

August 31, 2022 by Magenaut

I am using visual studio 2010 and was wondering if there is a way to automatically remove all the namespaces that aren’t being used at the the top of the page e.g.

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

Confused with Model vs ViewModel

August 31, 2022 by Magenaut

I am Learning ASP.NET MVC and downloaded a couple of sample apps. MusicStore etc…

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

How to change base url of Swagger in ASP.NET core

August 31, 2022 by Magenaut

By default when you enable swagger in ASP.NET Core project it’s available on url:

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

How to consume a webApi from asp.net Web API to store result in database?

August 31, 2022 by Magenaut

I’m wondering how to consume a WEBAPI from another ASP.Net Web API to store the response in a database.
I know how to consume a WEBAPI from clients like javascript,console application etc.

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

What is the use for IHttpHandler.IsReusable?

August 31, 2022 by Magenaut

I’m writing a IHttpHandler and I’ll need to implement a IsReusable property. When I look at the MSDN documentation it says:

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, c#, ihttphandler, system.web Leave a comment
Older posts
Newer posts
← Previous Page1 … Page177 Page178 Page179 … 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