Run go web application on IIS

后端 未结 2 1622
死守一世寂寞
死守一世寂寞 2020-12-28 23:29

Is there a way to run Go web application on IIS?
I found a setting for azure but its not working on my dev machine
this is a web config for azure :

&         


        
2条回答
  •  一向
    一向 (楼主)
    2020-12-29 00:28

    HttpPlatformHandler module doesn't work for me. I found this post by Sutean Rutjanalard on Medium very helpful, which use ASP.NET Core Module instead.

    Basically, you need to create Application pool with "No Managed Code" as you do with a .net core app. And the following is the web.config.

    
    
        
            
                
            
            
        
    
    

提交回复
热议问题