Do Web.config's Globalization Settings Affect Non-http Requests

Nov 15, 2010

In my ASP.NET application I set

<system.web><globalization culture="pl-PL" uiCulture="pl-PL" />

to have numbers and dates in this culture.

Surprisingly I noticed that methods invoked from job scheduler (Quartz library) use en-US? Why is that?

View 1 Replies


Similar Messages:

Different Web.config Settings For Http And Https?

Feb 3, 2011

Is it possible to configure your web.config file of your asp.net website to use different settings for users accessing the site via HTTPS?

(eg. I need to have validateRequest attribute for https access set to false, but for internal access (using http) set to true...)

View 2 Replies

Selectively Redirecting HTTP Requests To HTTPS Requests?

Jun 18, 2010

What's the simplest and most effective way to selectively redirect HTTP requests to your ASP.NET page to its HTTPS equivalent? For example, if my page site URL is [URL], I want to redirect some (or all) page requests to [URL] What's the easiest way to do that?

View 2 Replies

Setting A Date Format In ASP.NET Web.config Globalization Tag

Mar 18, 2010

In our web.config I am using the following tag to determine the interface language of an ASP.NET website.

<globalization
enableClientBasedCulture="true"
culture="auto:en-GB"
uiCulture="auto:en"/>

This works as expected: Client wo request a specific localisation get it, everybody else is happily looking at the en-GB settings

View 2 Replies

Unable To Read Config Settings From External Config Files

Sep 1, 2010

We are experiencing some strange behaviour on one of our ASP.NET web servers (Windows 2003 64-bit). After some activity, two third-party controls are unable to run correctly. One is log4net (it does not write error messages out) and the other is a menu control (it displays eval message instead of picking up its license). The one common thread is that both controls pick up their config from external config files (linked to from web.config).

Just wondering if anyone has any thoughts on this or experienced this in any way. Is it related to file/folder rights? The server has been running fine for a while and just started exhibiting this behaviour. Perhaps it occurs around the time the worker processes are recycled.

View 1 Replies

Read Settings / Sections From The Web.config Or App.config File?

Jul 8, 2010

I have many Connection strings in my web.config file. I also have a "dataConfiguration" setting in the same file which specifies what database my app connects to.

How do I read the "defaultDatabase" setting / section from the, see below xml file.
<configuration>

<configSections> [code]....

View 2 Replies

Capturing The HTTP Requests For A Particular URL?

Mar 21, 2011

How can I capture all the http requests for a particular URL in .NET?

View 1 Replies

WCF / ASMX :: How To Get Raw Http Requests

Jan 20, 2011

I m invoking a web service and i would like to know if i get the raw http request?

View 4 Replies

Health Monitoring Of All HTTP Requests?

Sep 10, 2010

If I want to have log of all requests made within a web site including any http bad requests, is this possible?

For e.g I want to be able to see if every http request from the site including any for images that don't exist etc.

All the things an IIS log has.

Is this possible with HTTP Module or something like the ASP.net Health monitoring?

View 1 Replies

How To Monitor All Incoming HTTP Requests

Dec 13, 2010

I need to monitor my application from incoming http post and get requestf originating from outside and sometimes inside the machine.

Is this possible?

Been using fiddler but this only does outgoing not incoming (from outside the machine) or have I configured it incorrectly?

This is for my web app that is meant to be receiving a POST from an external server.

View 6 Replies

Sending Multiple HTTP Requests Asynchronously Using .NET

Aug 11, 2010

Is it possible to send multiple HTTP requests asynchronously to an ASP.NET web site or any other web server using .NET ? And, then. collect responses from those requests as they come using .NET asynchronous paradigm ? Is it possible ? Or would there still be limit of max 2 HTTP connections from .NET using HTTP ?

View 1 Replies

Iis - How To Support Compressed HTTP Requests In IIS7

Dec 10, 2010

For an ASP.NET 4.0 / IIS7 web app, I would like to support compressed HTTP requests. Basically, I would like to support clients that would add Content-Encoding: gzip in the request headers, and compress the body accordingly.

Does anyone known how I achieve such a behavior?

View 1 Replies

Multithreading - How Are Threads Tied To Requests Through Http.sys, IIS

Jan 29, 2011

I'm currently reading a lot about node.js. There is a frequent comparison between servers using a traditional thread per request model (Apache), and servers that use an event loop (Nginx, node, Tornado).

I would like to learn in detail about how a request is processed in ASP.NET - from the point it is received in http.sys all the way up to it being processed in ASP.NET itself. I've found the MSDN documentation on http.sys and IIS a little lacking, but perhaps my google-fu is weak today. So far, the best resource I have found is a post on Thomas Marquardt's Blog.

Could anyone shed more light on the topic, or point me to any other resources?

View 1 Replies

Http - Is There A Simple(ish) Way To Route All Requests To The Server

Oct 5, 2010

Here's the big picture. We're running a server in IIS 6 that hosts several web sites and applications, and we're in the process of moving the whole thing to a different data center with a slightly different setup. We've notified our users and updated our DNS info so that theoretically everyone will be happily hitting the new server from day 1, but we know that someone will inevitably fall through the cracks.

The powers that be want a "Listener" page/handler that will receive all requests to the server and log the entire request to a text file, including (especially) POST data.

That's where I'm stuck. I don't know how to implement a single handler that will receive all requests to the server. I vaguely understand IIS 6 redirection options, but they all seem to lose the POST data on the redirect. I also know a little about IIS 6's built-in logging, but it ignores POST data as well.

Is there a simple(ish) way to route all requests to the server so that they all hit a single handler, while maintaining post data?

View 1 Replies

HTTP Requests In C# - Find A Specific Text Box In Webpage

Jan 20, 2010

I need to visit a URL, find a specific text box in said page - fill it with data and then submit a form.

How can I accomplish this in C#?

View 2 Replies

How To Sniff HTTP Requests / Capture Packets To A Web Application?

Apr 13, 2010

I want to sniff a local HTTP request to an ASP.NET web application.

Is telnet an option?

How do you capture packets to a web application?

View 6 Replies

Iis - Using Setup A Component To Redirect Response For Any HTTP Requests?

Aug 25, 2010

The objective of this component is to be able to forward whatever HTTP requests it receives to forward to a different server based on the parameters but keeping the URL and POST data intact. For example:

If the component receives

[URL]

It will return the response from either

[URL]

where XYZ can be valid name of the page. I think I can probably individually create each page to do a Response.Redirect but i am wondering if there is a more generic way to do this? In addition, is this something I have to configure on the IIS level rather than code level?

View 1 Replies

How To Use The IIS7 URL Rewrite Module To Reroute HTTP Requests To HTTPs

May 6, 2010

I have web services built with ASP.NET and ASP.NET clients consuming them. When consuming the webservices, how would I to force the clients to use https?

I don't want to force the whole site to use https by turning on require SSL in IIS.

Can I use the IIS7 URL rewrite module to re-route http requests to https?

View 2 Replies

Trapping Client Disconnections On Long Running HTTP Requests?

Sep 9, 2010

I have a long poll HTTP request using ASP.NET 4, MVC 2 and AsyncController. If a user closes their browser and kills the HTTP connection without the request completing, I'd like to know about it and completely clean up after them. If I don't, the open and incomplete requests just sit there and eventually IIS stops accepting new requests.

You can simulate my long running HTTP request by making a normal ASP.NET application with a page that has a Thread.Sleep. Even if you close the browser, the request carries on as if it hasn't.

There is a property called Response.IsClientConnected that gets switched to false if the client disconnects, and I can poll this to achieve the desired effect but it's not very clean and I'd like to avoid polling. Is there a way of getting notified when this happens rather than having to poll this property?

View 1 Replies

Jquery - Why 3 Extra HTTP Requests Are Done If You Use Ajax Call To A .net Web Service

Apr 4, 2011

When I was reading the blog Using jQuery to Consume ASP.NET JSON Web Services

I have seen this argument:

"By using jQuery to call the web service directly, we've eliminated over 100 KB of JavaScript and three extra HTTP requests. "

Why does the ASP.NET AJAX call to a .NET Web-Service needs 3 extra HTTP requests? What are those requests? (I wonder how jQuery manages the call with lesser HTTP requests in this case).

View 2 Replies

HttpContext.Current.Items Reused Across Multiple Http Requests?

Jan 27, 2011

I'm using HttpContext.Current.Items to make a Per-Request Cache Store. I'm hitting to many Cache entries over different http requests.

It seems that HttpContext.Current.Items is reused across multiple http requests. Is it normal?

View 2 Replies

Ajax - 4 Update Panels Create 4 Different HTTP Requests To The Server?

Mar 16, 2011

I use four different update panels, that use the same timer as trigger.

1) Will the 4 update panels create 4 different HTTP requests to the server?
2) I'm using 4 different panels as the controls are located in different parts of the page, is there a way of putting them in the same update panel?
3) Is this a good coding practice?

View 2 Replies

State Management :: Programmatically Remove IIS HTTP Header Settings?

Sep 11, 2010

Our IIS server (v7) has the following settings in [Custom HTTP Headers] for our whole site:

Pragma: no-cache Cache-Control: private, no-cache, no-store, max-age=0, must-revalidate, post-check=0, pre-check=0 X-Powered-By: ASP.NET

Out of the whole site, there are some pages that require the "no cache" setting to be removed for them to work properly. This was done manually by our IIS Administrator until recently. Now we were told that we need to do it programmatically on our end. The following were the code snippets (VB.NET) we have used with no luck in success.

Method-1
Response.Headers.Remove("Pragma")
Response.Headers.Remove("Cache-Control")
Response.Headers.Add("Cache-Control", "private")
Response.CacheControl = System.Web.HttpCacheability.public
Method-2
Response.ClearHeaders()
Response.Headers.Clear()
Response.CacheControl = "Public"
Response.Cache.SetCacheability(HttpCacheability.Public)
Response.Cache.SetAllowResponseInBrowserHistory(True)

View 3 Replies

Store Config Settings For A .NET DLL (not EXE Or Web)?

Jan 19, 2011

I have a .NET 4 class library project, which is used by multiple web projects. In this class library I need to get a DB connection string and it needs to be the same for all the web projects. Currently I've got it as a setting in each web.config file, but this is not ideal. Is there any way I can have that configuration stored with the DLL, but still allow it to be modified at runtime (ie. hardcoding the connection string is out)?

App.config seems to be generally ignored for a DLL, even though it does get renamed to assemblyname.dll.config and copied to the bin directory for the web. I tried making it an "application setting" (ie. using the auto-generated class derived from System.Configuration.ApplicationSettingsBase) and this appeared to work, but changing the value in the DLL .config file at runtime had no effect, so I suspect it's really just using the hardcoded default value of the setting.

View 3 Replies

Redirect All Requests To Www.example.com To Example.com In Config Without Access To IIS?

Aug 23, 2010

'm currently planning to deploy a site with a third party hosting provider. I will only have access to the server via ftp and a tool similar to cpanel called WebsitePanelNo access to IIS set up or configs.Is there anyway to redirect http://www.example.com to http://example.com?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved