I'm using a static method in a class, this static method contains a connection string. I use this static method in all other methods to open a database connection and I dispose the connection within this method.
After I deploy this application in IIS, when two users login to the application on two different machines and access the same ...
I have an ASP.NET application that consumes a lot of memory. Therefore I want to use the Debug Diagnostic Tool to try to search if there might be a leak or something else.
In DebugDiag on the process tab I right click the w3wp.exe process and the only options I get are:
Terminate process
Copy
Only on some processes I get more op...
Is it possible to deploy asp.net mvc project on IIS server without installing of mvc?
...
I am using the IIS7 URL Rewrite module. I want to create a rule that matches this:
http://www.mydomain.com/test123.
but not this:
http://www.mydomain.com/test123/
Any help is much appreciated. Also any links to examples of common rewrite regex would be a plus
...
Some background info:
We have several websites running on a 64-bit machine with IIS6
These websites all have the same core code, but different skins and content
We have a SQL 2005 database which is fairly heavily used throughout the site
Historically we've used SQL stored procs, but have been gradually transitioning to NHibernate. The ...
I would like to rewrite a query string value using a map in the IIS Url Rewrite Module.
Example Map:
one -> eleven
two -> fifty
three -> ninety
So the following URL:
http://www.mydomain.com/page.aspx?id=one
turns in to:
http://www.mydomain.com/page.aspx?id=eleven
Note: there may be other query parameters passed in ...
Hi,
I want to crawl through lets say other companies websites like for cars and extract readonly information in my local database. Then I want to be able to display this collected information on my website. Purely from technology perspective, is there a .net tool, program, etc already out there that is generic enough for my purpose. Or...
I installed PHP and PHP Manager on my IIS machine through the web installer thing. I can run a web page with php in it fine, but it wont load libraries correctly. I want to connect to an MS SQL database, so i got the dll and put it in the ext folder but it wont load:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext...
I'm building an ASP.NET MVC site where I want to use OpenSTV to conduct polls. To run results through OpenSTV, I'd have to run the executable. Is that allowed from a medium-trust ASP.NET application?
...
I have a web service that contains a method I need to run to generate a report. The web service method is written in .Net 2.0 and works fine on my test system which runs on the same server as the live system. The only difference is that the live version uses https.
Whenever I change the endpoint address to the live service and run my ap...
what is request-processing pipeline with reference to IIS ?
...
From what I understand, when a COM component marked as using STA is used from a MTA thread, the calls are supposed to be marshalled to an STA thread and executed from that dedicated thread. In the case of a Windows client application, this would mean that it would execute on the UI thread (if marked as STA), and that callbacks from the C...
What do I have to add to c:\inetpub\wwwroot folder to serve aspx pages to browsers?
My webproject is in this folder but I think I'm missing something for running ASP.NET and ASP.NET MVC webpages.
...
Does anyone know what constitutes an official connection to a workstation? I have a reasonably small scale operation where I am using a WORKSTATION, not server, as a server. For the most part, it works fine, but there is a 10 connection limit and I was toying with some new functionality and ended up causing some problems as the 10 connec...
Is it possible to configure an IIS website to provide domain credentials to an ASP.Net application if the user is logged into a particular domain, and use anonomous if they are coming in from the internet?
Will I need seperate virtual directories, one with domain only and one with Anon only?
I have an application follows different code...
It looks likes if I don't visit my low traffic site for a day, it takes a long time for the first page to load. I believe it's probably because IIS7 shuts down the application when it receives no requests for a certain length of time.
How can I stop this from happening?
I have a dedicated server so I have all the access required to c...
I'm running ASP.NET on an IIS6 server. Right now the server is set up to compress dynamically generated content, mainly to reduce the page size of ASPX files that are being retrieved.
Once of the ASPX files has the following bit of code, used to fetch a file from the database and send it to the user:
Response.Clear();
Response.Buffer ...
the Trunk of my app points to
<IISUrl>http:///localhost/MyApp/</IISUrl>
Whenever I create a new branch, I end up having to edit MyApp.csproj to change the target URL to
<IISUrl>http:///localhost/MyAppBranchName/</IISUrl>
Is there any way that I don't need to do this? The reason is the number of branches are starting t...
I have created a web application that calls a web service that requires a Client Certificate for authentication. Here is a snippet of how I am building the request:
// Grab Certificate
X509Certificate2 cert2 = new X509Certificate2(AppDomain.CurrentDomain.BaseDirectory + GiftCardConfig.A2A_CertificateLocation, Gif...
I am planning to teach an ASP.NET MVC course some time. I would like to host the students project's on a web server accessible via internet. To this effect I am planning to rent a Windows machine on Amazon ec2. The students will be uploading their ASP.NET Websites so that they can see their projects online and allow other students to acc...