Is a server which returns 2.0.50727.4200 for System.Environment.Version going to support ASP.NET 3.5?
The webhost claims I should ignore the details in the control panel but I get 2.0.50727.4200 when checking the aforementioned system variable.
...
i want to apply gzip compression on my site , all my site is in html and
i have following limitations
hosting server is windows 2003 server.
i can upload files, but i can't modify IIS (as most if users just having hosting account)
i can't modify the .html files to .php as i have too many pages in html, changing file extension is big...
Currently customers have sites on my domain like https://customername.myapp.com. I'd like for them to be able to upload an SSL cert and then access my site via https://myappname.customername.com - how would one go about doing this programmatically in .NET/IIS 7?
bump
...
Hi all,
is it possible to redirect an URL www.siteA.com to www.site2.com/Default.aspx?SiteSource=siteA without changing the browser's URL?
Similarly, accessing www.siteA.com/Page2.aspx will redirect to the www.site2.com/Page2.aspx?SiteSource=siteA
...
A little over a year ago we started getting hit with sql injection attacks. We have hundreds of sites so we ended up spending weeks patching any holes we could find. Then a few weeks ago we started getting hit again. We've gone through everything we can think of and we can't find anywhere where the person is getting in. Does anyone k...
My ASP.NET application uses some 3rd assembly. What are my options to make the application load that assembly? Do I have to put it in the GAC?
I don't want to modify the machine's PATH env variable...
...
I'm writing an ASP.net application and I'm working with the WindowsIdentity.GetCurrent() function. I want to know how (or if it's possible) to change what identity the ASP.net application runs as.
I eventually want to run it as an account associated with the end-user. I understand I can do this with Windows Authentication in IIS, but ...
I would like to not cache my aspx pages anywhere. For some reason IE ignores meta tags which are set from my master page
<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
I am trying to see if I can set my Http response header to "Cache-Control" -...
I am trying to call my WCF service through a Flex application. I'm getting the System.ServiceModel.ServiceActivationException. I have Integrated Windows Auth switched to on, anonymous access off, and I've set impersonate to false in my web.config. The project and virtual dir are named the same too.
What could be the issue?
...
Hi all.
Im having issues deploying a silverlight 3 application for the first time.
The issue is with a service reference, the Authentication one. This all works fine locally inside of VS 2008.
I cannot add new service and discover the hosted one. Eg the localpath is
http://localhost:9626/Services/AuthenticationService.svc
But if i ...
I have a web site with a child directory set up as an application. I set up the application to use a custom 404 page. When I navigate to the url and put in a non existent page I get the following error message. Any other asp page in the application works fine. There isn't even any script in the 404 page... just plain html so I'm not ...
I am unable to browse a simple asp.net page from a remote PC through the IP address of that computer. However IIS is responding on a local computer with http://localhost and even when I type the local computer's IP address where the page is present.
Computer is running XP and IIS 5.1
The message displayed on browser is "The server is ta...
Hi,
I'm having 5 mvc application where i need to deploy it in IIS.
If I deploy it seprately each in IIS its working.
But I need in the following structure.
-> MyApplications under this all my mvc application need to be deployed.
I'm using IIS 7 and tried in IIS 6.x subversion also,
Show error like MyApplication/Mvcappl1 virtual pat...
Hi
Im trying to make a solution like this http://stackoverflow.com/questions/1391060/httpmodule-with-asp-net-mvc-not-being-called
Now the question is how do I filter the request, I only want to Open an ISession if the request is for an ASPNET MVC Action, not for *.gif, *.css etc.
How should I handle this filtering?
...
Hi there, I've spent a great long while googling this problem without any luck and I've always found great answers here, so here it goes:
[BACKGROUND]
I have a web application which was developed in C# with Visual Studio 2008. It was a part of a solution with another project which contained a web service. This was not created "IN" II...
I have a web page with a set of images and java script files.
I want to cache all the images+java script other than a single image which is the logo.
Is this possible ? and how would I do it ?
I am using IIS server.
...
I've got something like the following lines of PHP code (on IIS):
$service_url = 'http://some-restful-client/';
$curl = curl_init($service_url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$curl_response = @curl_exec($curl);
curl_close($curl);
When executing this I get the following exception
PHP has encountered an Access Vio...
Currently my IIS is serving CSS files with no Content-Type header.
How to change it?
Should I change it on my application or in the server?
...
I am quite new to HTTPS and can not get my head around it.
Can someone suggest good starting point for learning about HTTPS, certificates and signing?
Possibly with a working example in ASP.NET with IIS.
...
Hi,
I use the following code in the web.config file of my WCF application:
<source name="System.ServiceModel" switchValue="Error, Warning, Information">
<listeners>
<add name="LogInApplication" type="System.Diagnostics.EventLogTraceListener" initializeData="Application" />
...