question

yusuf2 avatar image
0 Votes"
yusuf2 asked mvpkenlin answered

Cannot edit a web application

Hi

I have asp.net web application, I try to edit the code but the content of the site does not change, I tried to convert the web application to a web site but another error appears instead of displaying GDI+ graphics showing a black screen and one white pixel in the middle.
How can I edit this web application?

windows-server-iisdotnet-aspnet-generaldotnet-aspnet-webapi
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ASP.NET is not raw HTML/JS, so "I try to edit the code but the content of the site does not change" is expected. If you compile the code changes, then the web content will be updated accordingly.

0 Votes 0 ·

@yusuf2 When you try to convert the web application to a web site, what error message appears? Have you published your web application to iis? How do you edit your web application? please post more details information about your requirement.

0 Votes 0 ·

What is the error message?
Would you mind elaborate your issue in details?

0 Votes 0 ·

1 Answer

mvpkenlin avatar image
0 Votes"
mvpkenlin answered

Classic ASP.NET Web Application is a front-UI (aspx) and backend code-behind page (in c# or VB). If you just change on the html or style, it is find to update it in the aspx page. But if you are going to change the code logic, you will have to do it in the code-behind page. And you will also need to compile it after modified. And you will also need to re-deploy the files (specially the update aspx and files in bin directory).

Do you know which version of the .net that your asp.net web application is?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.