web-config Questions
5
Solved
Since Web Deploy 3.5 automatic encryption of connection strings is supported using the flag: –EnableRule:EncryptWebConfig. However, upon running it with:
"C:\Program Files\IIS\Microsoft Web Deploy...
Revert asked 28/10, 2013 at 14:4
3
Solved
Is it possible to determine at build time through C# code what the currently checked out branch is within a git repository? If so how?
Ultimately, when on the master git branch, I want my connecti...
Aurist asked 14/3, 2014 at 18:39
6
Solved
My WebConfig:
<bindings>
<webHttpBinding>
<binding name="SecureBasicRest">
<security mode="Transport" />
</binding>
</webHttpBinding>
&l...
Tinkling asked 22/3, 2012 at 6:56
1
Solved
This is a completed project from my team, but i dun know why i getting this .
In my config.cs. This already enable cors . cors already installed in Nuget package:
public static void Register(HttpC...
Inveigle asked 17/9, 2020 at 1:20
6
Solved
I'd like to store a one dimensional string array as an entry in my appSettings. I can't simply separate elements with , or | because the elements themselves could contain those characters.
I was t...
Weisberg asked 2/5, 2012 at 17:54
13
Solved
I have solution with 3 projects. Project one - Library. Project two - Service (asmx). Project three - Test. In my service I have two config transform: PRODUCTION and TEST. They are equals, but name...
Allergist asked 6/4, 2016 at 8:35
13
I did not realize that: 'have a web.config in a separate class library and' was reading the web.config app setting from different web application.
I am using VS2010 target framework 3.5
I don't k...
Gatewood asked 25/11, 2010 at 21:30
5
Solved
I want to change the query in table adapter but it's not opening & throwing an error "Configure table Adapter Failed" & in property of connectionString it says "Unable to find connection 'C...
Ken asked 18/10, 2016 at 6:53
3
I have users from two different domains that can access the web site I am currently working on and I would like to only allow users from one of those domain to access the site. I've done some resea...
Forearm asked 9/10, 2012 at 15:40
8
when I debug my website locally using Visual Studio, the change to the web.config goes into the effect without any problem.
However, when I make the same change to the web.config on my server host...
Surmullet asked 15/8, 2013 at 20:45
6
Solved
I've got 3 connectionstrings in web.config, and I used theirs like this:
using (SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["SomeName"].ConnectionString))
...
Trimble asked 6/4, 2010 at 8:34
9
I am getting this error while executing the application on server: "The configuration section cannot contain a CDATA or text element(web.config line 149)". The error lines are as follows:...
Lefthand asked 21/8, 2013 at 10:1
3
I know that when creating a release pipeline in Azure DevOps you can have the web.config of an app updated with variables from the pipeline and that works great for all the appSettings values.
Bu...
Prakrit asked 2/10, 2019 at 22:37
4
I have been digging for hours and keep coming up with information about .NET Core, yet hardly anything about .NET 4.7 full framework. I figured out how to add User Secrets to the main project of my...
Eason asked 30/12, 2019 at 20:51
6
Solved
How to add CommandTimeout to connection string in web.config?
I tried:
<add name="ConnectionString" connectionString="Data Source=;Initial Catalog=;Persist Security Info=True;User ID=sa;Pass...
Riojas asked 19/12, 2013 at 13:34
2
I have this in my dotnet core 3.1 webapp tasks.json:
"env": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_URLS": "http://localhost:5000"...
Albuminate asked 23/9, 2020 at 15:52
3
Solved
I've just started to learn Vue but I simply can't set up enviroment for my container.
I use Cloud9 and I have to assign my host for serving Vue app according to this link.
Unfortunately, I can't f...
Uyekawa asked 7/11, 2018 at 12:32
1
I am trying to implement a custom configuration section containing a collection of another custom element. The customer element contains some simple strings but also a collection of certificateRefe...
Marque asked 6/6, 2022 at 16:2
5
Solved
I hosted my ASP.NET Core app on IIS (using the publish-in- folder method). I tried to create my own web.config file to see detailed error messages on the client side. So I added file web.config:
&l...
Rock asked 30/5, 2019 at 14:34
5
Solved
I am getting this error when I try to navigate to my .svc file. It appears that it's not finding my basicHttpsBinding; here's that section of my web.config:
<system.serviceModel>
<behavio...
Heptahedron asked 14/8, 2013 at 18:42
8
Solved
I made a web.config (full file, it doesn't show XML errors)
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<configSections>
....
Circumvent asked 25/3, 2011 at 14:51
7
Solved
Is it possible to remove the Server Response header in a ASP.NET Core 2.1 application (running on Server 2016 with IIS 10)?
I tried putting the following in the web.config:
<system.webServer&g...
Louella asked 21/9, 2018 at 23:38
38
Solved
I have a web project (C# Asp.Net, EF 4, MS SQL 2008 and IIS 7) and I need to migrate it to IIS 7 locally (at the moment works fine with CASSINI).
Locally in IIS I have my Default Web Site with my ...
Governess asked 8/10, 2011 at 16:43
3
Solved
Some I do quite a lot of is read integers from AppSettings. What's the best way to do this?
Rather than do this every time:
int page_size;
if (int.TryParse( ConfigurationManager.AppSettings["PAG...
Jube asked 10/9, 2010 at 18:20
9
Solved
IS there any way that I can read config values in web.config with javascript ?
Why would I want to do that ?
I have a timer in my website which would pop up a modal dialog with a count down timer ...
Chickaree asked 15/12, 2009 at 20:16
© 2022 - 2025 — McMap. All rights reserved.