Questions tagged [asp.net-webapp]

8 questions
1
vote
2 answers

.ASP NET Core override Swagger index.html default routing

Im using ASP Net Core Web App with Razor Pages. Im struggling with index.html Swagger as main/default page. When App Starts -> automatically forwards to Swagger. Im also hosting my app on Azure - same problem in that hosting env, Swagger is main…
Kelaran
  • 9
  • 2
1
vote
1 answer

How do I find current geolocation in asp.net core webapp mvc

I'm writing a web app in asp.net core mvc and I need to find current location- at least on city level how do I do this? is there a Nuget package I could install or something? because the .net library that supports this is only in .net framework
aluf
  • 31
  • 2
0
votes
1 answer

Modifying SOAP Header to match 3rd party format

I have to create a web service to retrieve information from a 3rd part company. They have an example of what the soap xml will look like and I have been able to get it to match except for the header part. I have created a webservice.asmx in my…
0
votes
0 answers

My Json file won't run in visual studio 2022

Added a json file to my project in visual studio and when I run it in the browser it gets an error. I am still very new to visual studio and c# so I do not quite understand what is wrong. My project is called Dinosaurs This is the dinosaur.cs…
Cutty
  • 11
  • 3
0
votes
1 answer

No webpage was found for the web address: http://localhost:XXX/login in ASP. NET CORE 6 Web App

I have created a web app using razor pages in ASP.NET Core 6 and I am reaching a problem when it comes to adding a new razor pages link into the _Layout.cshtml. Every time I try to test the website and press the link to new page I added, it does not…
0
votes
0 answers

Sending a random class to the web service (without mvc) that will run locally from the WPF application

I am new to web applications. I make drawings by transferring the values I get from the temperature and humidity sensor that I wrote in the WPF application to the line chart. Now I want to draw this chart on the website. I need to send the values…
MMK
  • 1
0
votes
1 answer

What is the difference between ASP.NET Web Forms vs ASP.NET WebSite vs ASP.NET Web Application vs ASP.NET MVC?

I am getting confused with all the different project types for developing a web solution. What is the difference between ASP.NET Web Forms vs ASP.NET WebSite vs ASP.NET Web Application vs ASP.NET MVC? How can I check if my project is developed with…
tRuEsAtM
  • 3,517
  • 6
  • 43
  • 83
-2
votes
1 answer

IIS webserver hosting

This is the asp.NET webapp which i need to get after publishing from visual studio But after hosting the webapp in IIS server and when i browse i get the localhost like this