Questions tagged as 'web.config'

1
answer

Web.Config transformations - What to do with connectionString.config if I do not use Web Deploy?

My Web.config points to an external connectionString file. <?xml version="1.0"?> <configuration> <connectionStrings configSource="connectionStrings.config"/> </configuration> So far without news. The problem is tha...
asked by 15.06.2015 / 23:23
2
answers

What is the difference between App.conf and Web.conf?

What are the differences between App.conf and Web.conf ?
asked by 23.01.2015 / 20:02
1
answer

How do I view the version of my site on all pages?

I want to display in the footer of all my pages the version where my site is running. For example: Version 1.0 After I do an update on my site and post it again it would be something like Version 2.0 What is the best, or best, way to do...
asked by 09.01.2015 / 15:18
1
answer

How do I store passwords in environment variables (and remove them from version control)?

I'm migrating from a local tfs to a private git (probably bitbucket). Today I simply encrypt webconfig, now I will have to get my sensitive version control data (connection string, passwords, etc.). How do you do? Environment Variables? As...
asked by 18.07.2016 / 19:58
1
answer

Do not redirect to Login Page

In order to authenticate on my system I am using the [Authorize] attribute I placed this code below in Web.Config in> that is related to non-authentication it redirects itself to my login page. <customErrors defaultRedirect="Gener...
asked by 18.11.2015 / 13:35
1
answer

Error connecting to SQLServer database C # Web.config

I'm trying to make a .NET MVC application, but when I'm going to connect to the bank it's giving the following error:    An exception of type 'System.NullReferenceException' occurred in GerarXML.dll but was not handled in user code Add...
asked by 27.07.2017 / 01:08
2
answers

Problems with Web.Config

I'm having difficulty using multiple web.config on my system. In my web.config main I have the following configuration: <configuration> <appSettings> <add key="BASE_URL" value="/mvc/" /> </appSettings> &l...
asked by 28.08.2014 / 19:49
1
answer

Additional configuration to reference .NET 4.0?

Today when I tried to publish a new version of my application, the following error appeared:    Error 26 Mixed mode assembly is built against version 'v2.0.50727' of   the runtime and can not be loaded in the 4.0 runtime without additional   ...
asked by 15.12.2014 / 15:50
1
answer

How to Change Default Validation Message Language for an ASP Application. NET MVC

I have a template like this: [Display(Name = "Protocolos Abertos")] public int ProtocolosId { get; set; } I use in a SelectList as value , when I will submit a form the validation message is returned in different languages for localho...
asked by 29.11.2017 / 14:08
1
answer

How to configure Web.config in Cordova project?

In this question I was recommended to set up the web. config from my Cordova project that Ajax uses. I researched the subject but found nothing of the sort. Can anyone help me?     
asked by 05.06.2015 / 16:01