iis

Session ID changes in each Request

大憨熊 提交于 2021-02-20 04:55:40
问题 I have an asp.net application in which i redirect from one page to another. I'm validating the SessionID in the second page to make sure both requests are of the same session. Now, my problem is the SessionID changes whenever a Postback is happened. Now, I added the Session tag into my web.config <sessionState mode="InProc" cookieless="true"/> Now, the problem with the session was solved and a new issue started appearing. Whenever i make a call with Cookiless="true" in my web.config file, my

Dynamic routing handling in web config

两盒软妹~` 提交于 2021-02-20 04:45:05
问题 I have built up a project and deployed it in iis server and the web.config file looks like, <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="about" stopProcessing="true"> <match url="^about$" /> <action type="Rewrite" url="/about.html" /> </rule> <rule name="contact" stopProcessing="true"> <match url="^contact$" /> <action type="Rewrite" url="/contact.html" /> </rule> </rules> </rewrite> </system.webServer> </configuration> Folder

net::ERR_CONNECTION_RESET angular api request causes duplicates?

只愿长相守 提交于 2021-02-20 03:46:43
问题 I have an application with a .NET c# middle tier and angular front end. I am calling an api which results in a long running process. In IE I captured a message saying net::ERR_CONNECTION_RESET. In Chrome, I'm seeing a failed status after 10 minutes. I looked in our log tables and event viewer. The process is running on the server without failure, but something is causing the api controller method to run multiple times, every 5 minutes. In my developer tools there is no network indicator that

TFS 2017- Release deploy app to IIS under a website

谁说我不能喝 提交于 2021-02-19 16:00:58
问题 I am using TFS 2017 build and realease to deploy a website, In my IIS i have the following Structure - WebsiteHost - ApplicationToDeploy I am using Deploy IIS App step on TFS realease definition Question : how can I tell the realease build to update ApplicationToDeploy under WebsiteHost ? Right now it creates a new Website on WebsiteHost level which i don't want. I tried WebsiteHost\ApplicationToDeploy in Host name field in the task but that just created a website with Host name WebsiteHost

TFS 2017- Release deploy app to IIS under a website

喜夏-厌秋 提交于 2021-02-19 16:00:52
问题 I am using TFS 2017 build and realease to deploy a website, In my IIS i have the following Structure - WebsiteHost - ApplicationToDeploy I am using Deploy IIS App step on TFS realease definition Question : how can I tell the realease build to update ApplicationToDeploy under WebsiteHost ? Right now it creates a new Website on WebsiteHost level which i don't want. I tried WebsiteHost\ApplicationToDeploy in Host name field in the task but that just created a website with Host name WebsiteHost

TFS 2017- Release deploy app to IIS under a website

倾然丶 夕夏残阳落幕 提交于 2021-02-19 16:00:15
问题 I am using TFS 2017 build and realease to deploy a website, In my IIS i have the following Structure - WebsiteHost - ApplicationToDeploy I am using Deploy IIS App step on TFS realease definition Question : how can I tell the realease build to update ApplicationToDeploy under WebsiteHost ? Right now it creates a new Website on WebsiteHost level which i don't want. I tried WebsiteHost\ApplicationToDeploy in Host name field in the task but that just created a website with Host name WebsiteHost

FastCGI on IIS7… multiple concurrent requests from same user session?

女生的网名这么多〃 提交于 2021-02-19 09:00:47
问题 Caveat: I realize this is potentially a server configuration question, but I thought there might be a programmatic answer, which is why I am posting here... Running PHP on Apache, our users were able to issue multiple concurrent requests (from different tabs in the same browser, for example). Since moving to FastCGI under IIS, this is no longer the default behavior. Now, when a user starts a request to the server and the browser is waiting for a response, if they open a new tab and start

Custom login page for Windows Authentication when using IIS

我们两清 提交于 2021-02-19 08:34:39
问题 I am developing an intranet website application in ASP.NET Core 2.0 and trying to use Windows Authentication in conjunction with IIS, and then check the user against the authorised users in a database before the user can continue. The issue is, that the default browser pop-up is not really what is desired. Ideally, I want to use a custom login/logout page with this method, but I don't think it's possible. Alternative routes I have seen, are turning Windows Auth off, turning Anonymous auth on

Custom login page for Windows Authentication when using IIS

时间秒杀一切 提交于 2021-02-19 08:34:07
问题 I am developing an intranet website application in ASP.NET Core 2.0 and trying to use Windows Authentication in conjunction with IIS, and then check the user against the authorised users in a database before the user can continue. The issue is, that the default browser pop-up is not really what is desired. Ideally, I want to use a custom login/logout page with this method, but I don't think it's possible. Alternative routes I have seen, are turning Windows Auth off, turning Anonymous auth on

How to run self-hosted(owin based) web api on IIS?

一笑奈何 提交于 2021-02-19 06:50:34
问题 I have developed self-hosted(owin based) web api using console application. In development phase I was running the console application and everything was okay. static void Main(string[] args) { string baseUri = "http://+:8080"; Console.WriteLine("Starting web Server..."); var server = WebApp.Start<Startup>(baseUri); Console.WriteLine("Server running at {0} - press Enter to quit. ", baseUri); Console.ReadLine(); server.Dispose(); } Now I need to deploy my self-hosted web api to run on IIS.So,