Reputation: 1
I have the following asp.net web application which contain a .SVC, as follow:-
the .SVC file inside visual studio contain this code:-
<%@ ServiceHost Language="C#" Debug="true" Service="ProjectUpdateSystem.RER" CodeBehind="RER.svc.cs" %>
I deploy the above VS project to Azure web app using this command:-
az webapp deployment source config-zip --resource-group "PUS" --name "TGroupPUSRER" --src "C:\pus\bin.zip"
but when i try to edit the RER.SVS file inside Kudu as follow:-
it showed any empty file as follow:-
so can anyone advice? is this normal?
Upvotes: 1
Views: 357
Reputation: 206
I faced the same Issue , It seems its a bug in the Kudu. The problem is with the *.svc extension file.
Try creating a new file with ".svc" extension and it will immediately give you an 404 error.
You can use "App Service Editor" instead of kudu.
Found the existing defect in github https://github.com/projectkudu/kudu/issues/2872
Upvotes: 1
Reputation: 125187
The content is there inside the file. But for some reason (may be a bug?) it cannot show the content.
Assuming you have a sample.svc
file having some content, to see the content, you can use either of the following PowerShell or cmd commands:
Get-Content sample.svc
type sample.svc
Upvotes: 1