iis

How to configure key settings for IdentityServer in appsettings.json for aspnet core app running on IIS

一个人想着一个人 提交于 2020-05-25 19:58:21
问题 I created the template Angular / ASP.NET Core with authorisation support using this command: dotnet new angular --auth Individual This is an: ASP.NET Core 3.0 App with ASP.NET Core Identity for authenticating and storing users, IdentityServer4 for implementing Open ID Connect, Angular SPA, All pre-configured to work together. Before I deploy my app based on this template, I'm trying to first deploy this template app to IIS. I've deployed the app to IIS and have a database setup and the app

How to configure key settings for IdentityServer in appsettings.json for aspnet core app running on IIS

不想你离开。 提交于 2020-05-25 19:58:11
问题 I created the template Angular / ASP.NET Core with authorisation support using this command: dotnet new angular --auth Individual This is an: ASP.NET Core 3.0 App with ASP.NET Core Identity for authenticating and storing users, IdentityServer4 for implementing Open ID Connect, Angular SPA, All pre-configured to work together. Before I deploy my app based on this template, I'm trying to first deploy this template app to IIS. I've deployed the app to IIS and have a database setup and the app

web app slow performance when leave idle for some time

倖福魔咒の 提交于 2020-05-22 08:06:05
问题 We have a web application deployed on IIS 7.5 target framework 4.0 the application perform slow when leave idle for few minutes for first time and then perform as expected this happened each time application is idle. With the help of fiddler I found its TCP/IP connection which is taking time about 21 secs whilein subsequent calls this time is 0. The Idle time out is also set high and connection time out is also high in the IIS settings. server is - Windows 2008 R2. there is nothing in the

iisnode not able to access file present in network file path

拈花ヽ惹草 提交于 2020-05-17 08:13:00
问题 I am node app through iisnode. I can access file present in network path but when the application tries to access the file, it complains ' File doesn't exist'. I tried adding IIS_IUSRS user group to have access to iisnode www directory in my local machine. I changed the username(from application pool) of the application to which I have permission(R/W) on the network path. Restarted my machine. But still problem persist. Can someone help me if there is issue between iisnode and network file

iisnode not able to access file present in network file path

﹥>﹥吖頭↗ 提交于 2020-05-17 08:12:06
问题 I am node app through iisnode. I can access file present in network path but when the application tries to access the file, it complains ' File doesn't exist'. I tried adding IIS_IUSRS user group to have access to iisnode www directory in my local machine. I changed the username(from application pool) of the application to which I have permission(R/W) on the network path. Restarted my machine. But still problem persist. Can someone help me if there is issue between iisnode and network file

iisnode not able to access file present in network file path

你。 提交于 2020-05-17 08:11:35
问题 I am node app through iisnode. I can access file present in network path but when the application tries to access the file, it complains ' File doesn't exist'. I tried adding IIS_IUSRS user group to have access to iisnode www directory in my local machine. I changed the username(from application pool) of the application to which I have permission(R/W) on the network path. Restarted my machine. But still problem persist. Can someone help me if there is issue between iisnode and network file

iisnode not able to access file present in network file path

夙愿已清 提交于 2020-05-17 08:10:41
问题 I am node app through iisnode. I can access file present in network path but when the application tries to access the file, it complains ' File doesn't exist'. I tried adding IIS_IUSRS user group to have access to iisnode www directory in my local machine. I changed the username(from application pool) of the application to which I have permission(R/W) on the network path. Restarted my machine. But still problem persist. Can someone help me if there is issue between iisnode and network file

Retrofit getting 400 bad request in local iis server but 200 in post man

醉酒当歌 提交于 2020-05-17 07:49:07
问题 I have local asp .net core 2 IIS server. I am getting result when I am using post request. But I am getting error 400 when I am trying to request from andorid using retrofit2. My android device and server are connected to same wifi network postman returns retrofit return I am using my server pc ip instead of localhost for retrofit because retrofit does not support local host retrofit client @POST("/Auth/authenticate") Call<ApiResponse> createAccount(@Body Request user); retrofit call request

asp.net SERVER_NAME returns wrong domain name

蹲街弑〆低调 提交于 2020-05-15 06:44:11
问题 Can anyone explain me how the asp.net/iis gets SERVER_NAME variable ? The problem appears when we change our production domain name. The backend code returns old value by calling the following method Request.ServerVariables["SERVER_NAME"] . Could it be related to DNS update ? 回答1: The backend code returns old value by calling the following method Request.ServerVariables["SERVER_NAME"] Generally this variable returns The server's host name, DNS alias, or IP address as it would appear in self

Host SignalR in IIS

∥☆過路亽.° 提交于 2020-05-14 19:16:15
问题 I'm just wondering and it is hunting me for these past few days is it possible to Host a SignalR Hub in IIS? is that event possible? i found a solution called "self hosting" but it is with the help of a console application. i want to host the SignalR Hub in my IIS is that possible? can someone provide me an example regarding this? im going to post the code for the self Hosting i thought i might help class Program { static void Main(string[] args) { // This will *ONLY* bind to localhost, if