10 votes

Visual Studio 2019 Web Site Template

To create "ASP.NET Web Site" projects in Visual Studio 2019 you need to install the "Additional project templates (previous versions)" ASP.NET Component as shown below. This can be ...
Stephen Kennedy's user avatar
6 votes
Accepted

How to use syntax highlighting for .aspx & .ascx files in notepad++?

You can have the syntax highlight for you by adding user extensions on the ASP language inside the Style Configurator: Settings > Style Configurator > Click "asp" > Where it has "User ext. :" on the ...
Jordan Savell's user avatar
5 votes
Accepted

Edit and continue not working for asp.net core 3.0 with VS 2019 (C#)

I literally every time updated my VS 2019 to see if issue is resolved or not. Couple of days before I updated again to 16.4.5. Finally I found that some process had set "COR_ENABLE_PROFILING" flag in ...
Jay's user avatar
  • 81
3 votes

Visual Studio 2019 Web Site Template

One way to do this is to select File --> Open --> Web Site from Visual Studio. Click on File System. Select your target folder or click on the Create New Folder icon and name it as you prefer. This ...
Patrick 's user avatar
3 votes
Accepted

ASP.NET Core application responds with 503 Service Unavailable on Ubuntu 18.04

launchSettings.json is a VS Code thing. It doesn’t do anything here. Your application is running in ports 5000 (HTTP) and 5001 (HTTPS), that is an undeniable fact we can see in the log: Dec 13 10:16:...
Daniel B's user avatar
  • 62.8k
2 votes
Accepted

Why is an ASP.NET server running on localhost:8084?

As pointed out in this answer by Thomas over at AskUbuntu, it's easy enough to stop or disable this server, but you may want to consider whether you actually might want it running before you do. I ...
Spam Hater's user avatar
2 votes
Accepted

IIS 7 fails to serve .aspx pages but works with default files

After much research, I found a solution to this. I should say that I know how to fix the problem, but I am still not sure why the problem occurs. The issue is related to the "friendly URLs" mechanism ...
CesarGon's user avatar
  • 240
2 votes
Accepted

.NET Targeting Error on Server 2016

Microsoft, in their infinite versioning wisdom, has deemed that the MS Build version I was seeing (4.7.2053.0) is actually Framework version 4.7. What's more, the version indicated on the error page (...
Tom's user avatar
  • 31
2 votes

Install Package (.Net Core) on Linux Mint

I find the solution, first install using root, and if you use Ubuntu 18.04 you need add this script before: wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft....
José Luiz's user avatar
1 vote
Accepted

How to Create project asp.net core web2 app with .net 4.8?

.NET Core and .NET Framework are different implementations of .NET: https://docs.microsoft.com/en-us/dotnet/standard/choosing-core-framework-server ASP.NET uses the .NET Framework ASP.NET Core uses ....
Markus Meyer's user avatar
  • 1,616
1 vote
Accepted

IIS Express returns HTTP Error 400 after calling from Ubuntu WSL

Taking an educated guess here since I don't use IIS Express, but it looks like from this SO question that the default for IIS Express is to bind to localhost only. Since you need to access it from ...
NotTheDr01ds's user avatar
  • 21.8k
1 vote
Accepted

How to compile an ASP.NET project without using Visual Studio?

“Build Tools for Visual Studio” is a free (no restrictions on commercial use) offering from Microsoft that only contains compilers and other stuff required to build various types of applications. ...
Daniel B's user avatar
  • 62.8k
1 vote
Accepted

What else should I do to run my asp.net core application?

Your server is only listening on localhost. That means it cannot be reached over the network. If you want it to be reachable, you need to change this, for example using the --urls command line ...
Daniel B's user avatar
  • 62.8k
1 vote

How to troubleshoot an Apache reverse proxy?

So after much trial and error, I think the issue is that my virtual host definition was just being processed after the default one in httpd.conf. When I changed the virtual host definition to listen ...
dunnza's user avatar
  • 121
1 vote

Edit and continue not working for asp.net core 3.0 with VS 2019 (C#)

This is a bug in Visual Studio 2019. Microsoft says they have released a fix in VS Preview: https://developercommunityapi.westus.cloudapp.azure.com/comments/807186/view.html
C. Augusto Proiete's user avatar
1 vote

Running .net core as systemd service on ubuntu 14

I am so stupid, The configuration file 'appsettings.json' was not found and is not optional. means that the folder is incorrectly set, it should be /publish, the appsettings.json is there. and it ...
Edik Mkoyan's user avatar
1 vote

Give IIS 8 Permission to Write to a Network Folder

Since I received not even a peep of a response I also posted it on Server Fault and got a comment by Greg Askew which turned out to be the solution I needed! In short I had to give permissions to the ...
Anthony Griggs's user avatar
1 vote

ASP.NET, visual studio won't build

In my case I solved this error: "rzc discover exited with code 1.", by turning of "Real-time protection" in in Windows Security. I exclude "dotnet.exe" from "Windows Defender Antivirus" scan and/or ...
Stanislav Prusac's user avatar
1 vote

Is there any way to download the values of a public DB (ASP.NET) to hard drive?

I think the best option you have is to download the Excel file it produces. Then use that file and upload/insert to your database. Another option would be screen scraping but probably not worth the ...
Dave's user avatar
  • 25.4k
1 vote

Access website by ip rather than ip/folder name IIS

If you can't have a / in the path, then you're left with one of two options: Two websites, same IP address - but access by Hostname only Two websites, two different IP Addresses - but access by ...
KeyszerS's user avatar
  • 248
1 vote

How to get ASP.NET running on Apache on CentOS 7?

I think you miss one set in the configuration of apache with mono. I strongly suggest you to check this guide is for Ubuntu. I tried and it works fine with xsp and apache. I test some examples and ...
Juan Acosta's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible