Skip to content

Magenaut

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

web-config

reading web.config from class library

August 23, 2022 by Magenaut

i have two project
1) class library with no inteface just an api
2) web application

Categories ASP.NET, Q&A Tags app-config, asp.net, web-config Leave a comment

How to add extension .html in url asp.net mvc 4?

August 23, 2022 by Magenaut

I have the url:
http://localhost:1714/Message/Index

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-mvc-routing, routes, web-config Leave a comment

Is it possible to allow anonymous user to browse only few files from a folder

August 23, 2022 by Magenaut

I want to allow anonymous users to browse only few files like default.aspx, aboutus.aspx, contactus.aspx etc. Is there a way to write all these file names in one place or I will have to repeat the below code again and again for all the files?

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

error: 26 – Error Locating Server/Instance Specified. (Can’t connect to my local Db From my host server)

August 23, 2022 by Magenaut

I already asked this question before, but without any good response,
my problem is that I have a local database (aspnetdb.mdf) in my app_data folder, here is the connection string in the web.config :

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

Web.config Deny access to subfolder recursively

August 23, 2022 by Magenaut

If I have a sub folder in my website called Admin and this folder has more sub folders. How can I configure a web.config file, that sits in Admin folder, to effect all the subfolders in it recursively?

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

How to specify url mappings in ASP.NET 4.0 when parameters are involved?

August 23, 2022 by Magenaut

In the Application_Start method add the following line

Categories ASP.NET, Q&A Tags asp.net, asp.net-4.0, url-mapping, url-routing, web-config Leave a comment

javascript .print() – turn off default printer

August 23, 2022 by Magenaut

Out system uses the javascript .print(), which brings up the print dialog with the default printer selected. Is there a way to turn off the default printer so that when the dialog appears there is no printer selected so that the user has to select one.

Categories ASP.NET, Q&A Tags asp.net, c#, javascript, jquery, web-config Leave a comment
Newer posts
← Previous Page1 … Page17 Page18
  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