Delphi ISAPI dll module on iis - HTTPS - iis

I have created a Delphi SOAP API project, and have deployed the ISAPI dll on IIS, it is called using HTTP now, and works good.
But i now need to deploy this dll on IIS to be called with Https request, (certified).
What are the necessary changes that need to be done on IIS or any windows feature etc... to deploy ISAPI on https site and make any test app successfully call it.

Related

.NET6 Web Application Deployment to IIS

I have published .NET6 application to IIS using VS2022. When I go to the site it is giving me error.
I can run/debug it from Visual Studio
Error Message
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Try creating site and deploy code. I want to be publish site working on IIS
This error may be caused by IIS not being able to parse the xml configuration node aspNetCore in Web.config.
You need to check if ASP.NET Core module is not installed, if yes, just download and install Hosting Bundle can be solved. Check for aspnetcore.dll in %windir%\System32\inetsrv. This document is about .NET Core Hosting Bundle

WebApi in Webforms app not routing on Azure

I have a Web-Forms application, deployed onto Azure.
The original application makes use of Web Methods in code behind in aspx files and ashx handlers. ASP.Net generates Javascript references for Post requests to these methods. I needed to maintain the Javascript, but wanted to implement WebApi controllers.
This works in my development environment, using IIS Express in Visual Studio.
I have added the required nuget packages for WebApi, and a series of Web Api Controllers. I created a Global.asax and configured the default WebApi routing, however each Web Api method, has its own Routing attribute to override the applicable method (ie.
[Route("[pagename].aspx/[methodName]")]
In dev this works. But when deployed to Azure App Service the original aspx file is still being called.
Am I missing something in my Configuration? I did try ..
runAllManagedModulesForAllRequests="true"
...but that did nothing.

How to resolve 404 error on deploying .net core web API

Hi I have done following steps while hosting my .net core web API in IIS of my laptop. But when I browse the URL I get 404 error.
Sample URL: http://localhost/Myapp/api/user
Help will be much appreciated! If need any further info let me know.
Steps:
Install Install the .NET Core Hosting Bundle 2.2.5
Hosted web api in IIS with defaul 80 port number without any hostname
Created new application pool with No MANAGED CODE as .NET CLR Version.
To host .NET Core Web API in IIS follow below steps:
Publish the Web APIs to Your Local Folder
for example, D:\testcoreapi
Install Microsoft .NET Core Windows Server Hosting Bundle File
ASP.NET Core Module Configuration Reference
Open IIS Create One Application Pool of No Managed Code
Create Web Site to point to the local folder of your published.
Note:
Do not forget to select an application pool which you created before with no managed setting.
If you are still not able to browse the site select your site from connection node in iis.
right click on site and select "Explore" and make sure that you select right folder.
For more detail you could follow the below article:
https://jakeydocs.readthedocs.io/en/latest/publishing/iis.html
Regards,
Jalpa

How can I install an AspNet Core application in a subdirectory?

I have setup a web application in IIS. There are no files or anything in it.
.../wwwroot/automock
Next, in IIS in a subfolder called v1 I setup an aspnetcore web application that points to my publish files in another directory.
I would like my application to be available at:
http://www.[domain].com/v1/
I hope then to be able to deploy multiple versions in different sub-folders.
When, I request the page at http://www.[domain].com/v1 I get 404s for all of my javascript resources.
How, can I configure my aspnetcore application to serve these files correctly?
If it is IIS related how can I setup IIS to serve the web application properly from a subfolder?

How to host a custom webdav module in IIS?

I have been using an open source WebDAV framework named "Sphorium" for quite some time to talk to my data repository.. I have been using Cassini web server to host my WebDAV server module and everything was working just fine if I map the server as a web folder in my system. However, i found that Cassini web server does not support "https". So, I started looking out for deploying my WebDAV server application in IIS.. So I built a website in ASP .Net which talks to the Sphorium WebDAV module and authorizes the user. And when I run my website using the VS Debugger, it gets hosted on the ASP .Net development web server, prompts for the credentials and works just fine. However, if I publish my web app and try to host in in IIS, and try to browse, it prompts me for the password for 3 times and finally says "Unauthorized"...
Could someone pls throw some light on how I can use IIS in this case? Do I have to give any permissions?

Resources