Skip to content

Magenaut

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

c#

How can I add double quotes to a string that is inside a variable?

September 3, 2022 by Magenaut

I have variable like:

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

How to get the groups of a user in Active Directory? (c#, asp.net)

September 3, 2022 by Magenaut

I use this code to get the groups of the current user. But I want to manually give the user and then get his groups. How can I do this?

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

How to return a file (FileContentResult) in ASP.NET WebAPI

September 3, 2022 by Magenaut

In a regular MVC controller, we can output pdf with a FileContentResult.

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

Difference between MVC 5 Project and Web Api Project

September 3, 2022 by Magenaut

I am new to ASP.NET MVC and Web API and trying to get the basics. AFAIK, we have project templates in VS 2013, named as MVC, Web API and Both of them together.

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

What is the purpose of a question mark after a type (for example: int? myVariable)?

September 3, 2022 by Magenaut

Typically the main use of the question mark is for the conditional, x ? "yes" : "no".

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

How to get current page URL in MVC 3

September 3, 2022 by Magenaut

I am using the Facebook comments plugin on a blog I am building. It has some FBXML tags that are interpreted by the facebook javascript that is referenced on the page.

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

Insert 2 million rows into SQL Server quickly

September 3, 2022 by Magenaut

I have to insert about 2 million rows from a text file.

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

ASP.NET Core: Exclude or include files on publish

September 3, 2022 by Magenaut

There were before aspdotnet1.0 include/exclude sections on project.json file

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

Scope of static Variable in multi-user ASP.NET web application

September 3, 2022 by Magenaut

Does static variables retain their values across user sessions?

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

WebClient accessing page with credentials

September 3, 2022 by Magenaut

I am trying to access a webpage on a same domain / same asp.net application, that is password protected. Credentials are the same both for webpage firing this call and webpage being accessed.

Categories ASP.NET, Q&A Tags asp.net, c#, credentials, defaultnetworkcredentials, webclient Leave a comment
Older posts
Newer posts
← Previous Page1 … Page77 Page78 Page79 … 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