reading web.config from class library
i have two project
1) class library with no inteface just an api
2) web application
i have two project
1) class library with no inteface just an api
2) web application
I have the url:
http://localhost:1714/Message/Index
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?
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 :
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?
In the Application_Start method add the following line
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.