How to get user name and password from url in ASP.NET?
How can get in ASP.NET user name and password from URL? https://myUser:myPassword@myServer/ HttpContext.Current.Request.Url is returning https://myServer/. ...
How can get in ASP.NET user name and password from URL? https://myUser:myPassword@myServer/ HttpContext.Current.Request.Url is returning https://myServer/. ...
I need to rewrite URL in the following way: http://mydomain.com/somedir/someapp.aspx -> ProperDomain.com. I want people that going to ProperDomain.com only see ProperDomain.com. Is it possible to achieve with IIS url rewrite module? If not - are there any other possibilities? Really need this urgently. ...
Hey, I'm looking for a solution to automate the user creation process. I need a tool that generates passwords and sends the user credentials in a mail to the added user. Does anyone know an easy way or tool to achieve that? Thanks! ...
I'm using a datapager of mine and for some reason it won't work on the IIS server, but it works in my local. Ask me what you want to know and i'll give you more details... :) This is the event i'm talking about: Protected Sub paging_load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack Then ...
Usually when I get the url of a request i use Request.RawUrl. This gives /default.aspx for example. However recently my host changed something and now the name of the application directory is displayed as well so i get /appdirname/default.aspx. Now why does it give me the directory of the application? It looks as if my website is a su...
I've written a command line tool that deploys HTTP Handlers to an applications Web.Config file using a combination of System.Configuration, System.Web.Configuration and Microsoft.Web.Administration since it needs to register the handlers for both Classic and Integrated Modes as I don't know what mode end users will be using for their IIS...
I'm experiencing issues deploying new code to my IIS wwwroot while the servers are active. The present configuration uses DFS to keep multiple servers in sync. Our current migration approach is: 3 web server wwwroots are shared across DFS so they remain in sync When migrating new code we keep IIS active and push it to web1 which is e...
Hello all, I have installed the full verison of isapi_rewrite and have setup a proxy directive so that all traffic to my workstation in the folder 'ngis' (on any port) goes to another server. This is for testing purposes to check suitability before rolling out isapi_redirect to our prod servers. I have a rule as follows: RewriteRule ^...
Hello all, I have a WCF service, a MS SQL database, and the Visual Studio 2008 development environment all in one machine. The operating system is Windows Server 2008 with IIS 7 on it. The IIS 7 hosts my WCF service and the service is connecting to a database using Microsoft Entity Framework. Currently, I'm testing the WCF service using...
I fired up my first asp.net 4 app put together with visual studio 2010 and IIS doesn't seem to compile my code behinds on the fly for some reason, I have to build the site manually. How do I configure my app to compile code behinds on the fly? I looked around but I must be missing something. Never had this issue before. Thanks all, b...
Hi All, I have a website which i integrate with Facebook (via FBML - JavaScript API). I have setup the application on Facebook as per normal, specifying the "Connect URL" to be the domain of my website. However, my application has multiple bindings in IIS for the same website. Such as: www.bar.com.au foo.com.au The domain...
dHi, I'm trying to setup my IIS server (6.0) to serve files from a linux share. As I'm pretty unfamiliar with linux I ask the community for any input on this. I've had problems even having IIS server serve content from another windows machine share, this could be a prolem with our domain. The iis server is not on the domain. As I wa...
Hi, I wanted to know and calculate my existing asp.net website infrastructure can manage how many no of user load at a time ...
Hi Guys, Just wondering how to set Cache Control as cacheControlMaxAge="31536000" ? Unsure how to get this using IIS ? <configuration> <system.webServer> <staticContent> <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="00:00:15" /> </staticContent> </system.webServer> </configuration> Thx ...
I have written a WCF web service using C# and Visual Studio 2008. When I run it using the built in development web server, I am able to view the results of the various methods by browsing to the URL specified in the [WebGet(UriTemplate = "..")] attribute of the service contract. Specifically, I have a method that matches the "/" URL, a...
I want to enable HttpCompression in IIS6.0 using adsutil.vbs. I understand that i can enable it for generic server level as well as for a specific website under IIS. (I used this http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/502ef631-3695-4616-b268-cbe7cf1351ce.mspx?mfr=true as a primary resource).. However ...
I have a virtual directory setup in IIS6. This maps to a shared network drive. I can correctly map the path using string mappedPath = HttpContext.Current.Server.MapPath(path); I then create a DirectoryInfo object as I want to find some files in the directory. DirectoryInfo updateDirectory = new DirectoryInfo(mappedPath); But the...
I have a solution with more than one ASP.NET web-application. Every application has its own virtual directory on the same IIS. One application is calling aspx pages in the other applications. How can I share some information (e.g. user/password) between these applications. Is the only way using querystrings (in this case, I must encrypt...
A developer just send me a running website files from IIS directory. I want to know if I can run the website on my PC. The file contain "Default.aspx" file, which I assume is of some importance. I want to know if it is possible to run the website on my PC, I have installed IIS and I placed the file in the wwwroot folder, but unfortunate...
I have 2 similar rewrite rules, that is killing each other. These are my rules: <rule name="Product rewrite"> <match url="^product/([_0-9a-z-]+)/([0-9]+)" /> <action type="Rewrite" url="product.asp?id={R:2}" /> </rule> <rule name="Article rewrite"> <match url="^([_0-9a-z-]+)/([0-9]+)" /> <action type="Rewrite" url="article.asp?id={R:2...