Questions tagged [asp.net]

The tag has no usage guidance.

75 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
2k views

ASP.NET Core MySQL DB scaffold not working (could not find provider assembly)

This site shows how to reverse-engineer an existing database to an ASP.NET Core EF model. What I found out is that the currently correct command should be (instead of "scaffold-dbcontext"): dotnet ...
Schaussi's user avatar
3 votes
1 answer
1k views

Install Windows web deploy on server core

How can I install Web deploy for IIS on a server core version of Windows server. All examples Iv seen involve downloading a tool from Microsoft but Server core has a minimal GUI. Is there anyway to ...
Lightning77's user avatar
3 votes
1 answer
11k views

How to delete temporary asp.net files at once?

I am trying to delete temporary asp.net files from C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary. Some ASP.NET files and some folders get deleted but for some folders I have to open each ...
meghna's user avatar
  • 31
3 votes
3 answers
4k views

Chrome doesn't offer to save password of my ASP.NET site

I'm developing a website using ASP.NET. I have a form with user name / password and a connect button. Internet Explorer and Firefox prompt me to save the password, but Google Chrome doesn't. Any ...
ihebiheb's user avatar
  • 141
2 votes
1 answer
2k views

APT - Unable to locate package (aspnetcore/dotnet runtime, Ubuntu)

I'm trying to install the aspnetcore-runtime-3.1 package, I have added the microsoft package signing key with wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O ...
Matthew Winfield's user avatar
2 votes
0 answers
188 views

Azure File Storage Offline

If one was to use Azure File Storage via SMB (net user mounting) is it correct to assume that it can also be configured for offline caching (should network connectivity fail). The reason being is, i'...
Scott Barnes's user avatar
2 votes
0 answers
96 views

Updates reappear for Visual Studio 2010 dependencies

I have recently uninstalled Visual Studio 2010 C# Express from my Windows 7 x64. VS is notorious for leaving behind a bunch of dependencies and trash, and I have spent quite a bit of time manually ...
Veliremus's user avatar
  • 322
2 votes
0 answers
158 views

Microsoft security update KB2656351 prevents output caching

I am working with .Net framework 4 and cookies are used in my application. Due to Microsoft security update KB2656351, output caching does not work. I can not remove cookies. If I remove the above ...
Madurika Welivita's user avatar
2 votes
0 answers
600 views

Centos/Redhat XSP4 daemon

How can I install xsp to run as a daemon.I run my /etc/init.d/xsp script(see below) it stops with status message : Listening on address: 0.0.0.0 Root directory: /var/www/asptest Listening on port: ...
Stanislav O Chernykh's user avatar
2 votes
0 answers
1k views

"Unable to start debugging on the web server" MSVSMON.EXE failed to start error in Visual Studio 2010

I have a real problem getting VS2010 to debug IIS, using Windows 7 64 Bit. I've searched on the internet for a few days now and tried every single solution I can, going through every IIS setting ...
Daniel Gent's user avatar
1 vote
0 answers
55 views

Jenkins with .net core, angular 8 and postgre

My question is related with automation. In our project we are using BackEnd- .Net Core 2.2 (right now in localhost but will be dockerize) FrontEnd- Angular 8 (right now in localhost but will be ...
Arzu Suleymanov's user avatar
1 vote
0 answers
442 views

Omnisharp not working on Manjaro Linux

today I've installed .NET Core 3.0 on my newly setup Manjaro system but I get an error everytime I want to open a Project with VS Code. The following is the output of "dotnet --info": .NET Core SDK ...
Lukas Köhler's user avatar
1 vote
1 answer
60 views

Unable to View Local .Net Core ASP Application

Scenario Attempting to view locally published .Net Core ASP application from local inetpub/wwwroot/ directory. Issue Able to view application on laptop (just fine), however, not able to view the ...
NobleCloud's user avatar
1 vote
0 answers
111 views

Web application failing to map a shared drive

I've got a web application which uses in its code behind net use in order to map a net work drive that is shared on a different server and then it writes data onto the mapped drive. This worked fine ...
Thomas's user avatar
  • 405
1 vote
0 answers
420 views

IIS with Windows Authentication and session id in url unreliable

We use Windows authentication for an ASP.NET application that also uses cookieless sessions, so the session id is encoded into the URL. If the users login via the root url, no problem. But they also ...
Fraser Wilson's user avatar
1 vote
0 answers
24 views

Asp.net web application and ADAM

I wonder if this is the right place for my question. I have a Asp.net web application that use Windows authentication and a customer's CTO asked me if there are problems with the application with ADAM ...
robyg72's user avatar
  • 147
1 vote
0 answers
1k views

Strange IIS behaviour. It send data to local requests very slow

We have a C# mvc project that runs fine on several computers. On one PC I have a strange issue and at first I thought it was coding related, hence a question on stackoverflow. But after some tests, it ...
Hugo Delsing's user avatar
1 vote
0 answers
201 views

Firewall : Is inbound required for getting response while Outbound rule already there?

I developed one MVC web application which have Web APIs and hosted in Amazon Instance and one windows application for calling those APIs for getting response from that server. Both Web and Windows ...
Abhishek Parmar's user avatar
1 vote
0 answers
117 views

Any risk of hosting a public website on my home network? Year 2015

I have read the following post but it was already 6 years ago so I'm wondering if anything has changed over the last few years in terms of security because I heard windows firewall has been improved ...
whiterain's user avatar
1 vote
0 answers
164 views

Use SimpleMembershipProvider as Membership Provider in IIS Manager

In IIS Manager you have the ability to manage the registered users and the roles available. By default, only a few providers are trusted such as AspNetMembershipProvider and some others. When you have ...
FWest98's user avatar
  • 11
1 vote
1 answer
2k views

Browser address bar showing IP Address instead of DNS Name

We have a website dns is brought from 123-reg and hosted in static IP provided by server intellect. We have developed the site in ASP.net Visual Studio 2010 and deployed IIS 7. Everything is working ...
Razack's user avatar
  • 129
1 vote
0 answers
945 views

class not registered on IIS

I have windows 8 (x64) with IIS8. IIS was working fine but suddenly when i try to browse anything from IIS, it prompt's a message box says, class not registered! i have checked the default port is ...
Rezoan's user avatar
  • 113
1 vote
0 answers
48 views

Visual Studio: Tables always added offscreen when editing EDMX files

I have a number of ASP.NET projects which utilise .edmx files to access tables on the relevant database for each app. If I add a new table, I have to open the .edmx and click Update Model from ...
roryok's user avatar
  • 692
1 vote
0 answers
476 views

Whitelisting HTTP traffic on Windows Server/IIS

I'm deploying an ASP.NET application in beta and would like to limit HTTP access to a few select IPs. Given the configuration of our environment, the easiest way for me to accomplish this is through ...
JonathanK's user avatar
  • 111
1 vote
0 answers
150 views

ASP.NET application not working in Network Share

I have a ASP.NET application. While I try to access network share it is throwing an error. I have created a domain user and given permissions to that user. The following permission are given: ...
kishore's user avatar
  • 11
1 vote
1 answer
153 views

I am trying to display two live video screens as one live screen "layered" "not side by side"

I have a live screen on my computer from a video camera, and a live screen on my computer from a spectrum scope, see http://www.youtube.com/watch?v=RFPojOo-hI4 for a video of this display. I want to ...
user avatar
1 vote
1 answer
400 views

Using aspnet_regiis in production server

I want to use aspnet_regiis to encrypt sections of my web.config in production environment. As per my understanding one need .NET command prompt to run the command to encrypt. How can we achieve this ...
Any's user avatar
  • 11
0 votes
0 answers
40 views

Performance difference under Windows Server with two identical applications

I have two dedicated servers running Windows Server 2016. Both are for shared hosting of websites (developed in ASP NET MVC / Framework 4.8 and hosted via IIS). All the websites run correctly on the ...
user avatar
0 votes
0 answers
188 views

ASP.NET Core systemd service hosted with NGINX slow first response time after update

I have an ASP.NET Core Web API application DLL running on my CentOS instance as a systemd service MyApp.service [Unit] Description=My App [Service] WorkingDirectory=/var/www/myapp ExecStart=/usr/bin/...
THEoneANDonly's user avatar
0 votes
0 answers
351 views

Cannot publish an ASP. Net application using Visual Studio as I cannot find password in website summary page on Somee.com

I am trying to publish an ASP.Net web application using Visual Studio. While I am trying to publish using Visual Studio, VS is asking user id, password, and other details. I can find other details on ...
Junaid Pathan's user avatar
0 votes
0 answers
3k views

IIS website is missing ASP.NET features

I have a site, which I have hooked up to IIS (10). Currently, I can't access my site, because I get a internal server error when I access it, and then it has this info: This error occurs when there ...
penstiaGarse's user avatar
0 votes
0 answers
799 views

Localhost issue: .NET API endpoints giving 403 error but a doc page from the same project loads. Both are under localhost

I am not sure if this is the right place to post this, but doing so with this hope that it might relate to some kind of IIS settings! I have .NET website setup with SQL Server database. This is ...
Niladri Sarkar's user avatar
0 votes
0 answers
13 views

"Site can't be reached" when trying to query database from webapp page in IPSEC infrastructure

things are like this: VM with Windows Server 2012 for asp.net webapp - APPServer VM with Windows Server 2012 for sql server database(different from 1 - but same network) - DBServer CLient1 - Another ...
sTx's user avatar
  • 99
0 votes
0 answers
24 views

Website project not including files in the underlying directory

I am using Visual Studio 2019 to work on ASP.NET Website project. I have one specific git branch that behaves really weirdly. When I switch to that branch, some of the files (the ones that exist in ...
Yehor Androsov's user avatar
0 votes
1 answer
661 views

Repeated w3wp.exe in Task Manager

If I have the poolname "WApp1" configured with a single application "WebS1" then why do I see 2 processes running in the Task Manager? w3wp.exe -app "WApp1" -v "v40&...
Miguel's user avatar
  • 1
0 votes
0 answers
1k views

Can we execute a BATCH(.bat) file from a .dll? I am not able to do so

I have an application where you can create custom dll's for the purpose of alerting and monitoring. I need to run a batch file through that custom dll so that previously running environments could ...
KimberJosh's user avatar
0 votes
1 answer
146 views

Is there a default cert that can be used for SSL with localhost without installation?

I have an app that will require a simple webserver to run (https) on localhost. I need to install this server on many devices. I can create a server certificate, but I want to avoid manually ...
Mars's user avatar
  • 101
0 votes
1 answer
63 views

ASP.NET/C# web app cannot 'find' Azure SQL server database

I've done similar web apps in the past and I've never had an issue with the SQL connection string. I've tried several variations and still I get the following error: iisexpress.exe Error: 0 : ...
Colten Thompson's user avatar
0 votes
0 answers
967 views

Nginx - hosting .net core app with signalr

I have an ASP.NET Core web app which is using signalR hub to communicate with clients. I'm hosting this on Raspberry Pi 2 with nginx reverse proxy. The app is working on localhost port 5000. I'm ...
bakson's user avatar
  • 1
0 votes
1 answer
221 views

Randomly Failing Azure SignalR Auction Hub Method

Thank you ahead of time. I can't figure this out. It worked 100% of the time with the local signalr but if I use the Azure Signalr service it randomly has an error like this: Error: There was an error ...
user1605822's user avatar
0 votes
1 answer
95 views

Visual studion 2017 cannot find asp.net web project

enter image description here I cannot see asp.net web project here, what am i missing in my visual studio 2017 ? I want to create a asp.net web page, please help. Thanks
tamilgirl77's user avatar
0 votes
1 answer
82 views

Non-technical person facing technical issues with .Net framework

Like the title says I have near to no clue as to what is going on with the .net framework programs. I tried installing programs like discord onto my laptop only to experience a error saying "net ...
Pommy's user avatar
  • 1
0 votes
1 answer
1k views

Access to Cosmos db emulator on local machine from Linux docker

I little confused with Linux docker and cosmos db emulator. I have an emulator installed on my local machine. On my Windows 10 I have a Linux docker container with Web API ASP.NET core application. ...
mVadim's user avatar
  • 1
0 votes
2 answers
785 views

JsonConvert SerializeObject Slow for nested objects

I have a controller that has a controller method looking like: [Route("GetDashboard")] [HttpPost("GetDashboard")] public async Task<IActionResult> PostDashboard([FromBody]Period period) ...
Andre''s user avatar
  • 1
0 votes
0 answers
310 views

ASP.NET returns always error when configured with SSL/TLS certificate

I've configured ASP.NET Core Web API on IIS and added a Let's Encrypt certificate. I've added that same cert. to two websites ( within the same domain ) One is the API and another is the Angular front-...
LuisMorais's user avatar
0 votes
1 answer
63 views

Use a Router to connect 2 subnetworks

I created an IIS server for an asp.net application in one of my job PCs. This PC is connected to the main LAN, and has a static IP (ex. 10.138.1.92). Beside, I need to connect a Switch with 3 PCs to ...
Roberto Lopez's user avatar
0 votes
1 answer
120 views

Webmethods totally disabled site-wide in ASP

I was screwing with the configuration for my website to fix an unrelated problem when, about a week ago, all of the webmethods on my site stopped working. Currently, whenever I make an AJAX call with ...
el toro's user avatar
  • 111
0 votes
0 answers
735 views

iis the directory name is invalid

I have an asp.net project with mvc5 that uses filesystem watcher to monitor a directory which is a shared folder by a server. So the path would be starting with a double backslash \\ Running the ...
b. byte's user avatar
0 votes
0 answers
50 views

Publishing asp.net core

I have a problem when publishing my web application to IIS.  The application works fine when running it locally, after the publishing I get the following error when accessing view which requires ...
Atle Kristiansen's user avatar
0 votes
0 answers
183 views

Use IdentityServer with ASP Core and Web API

I'm working on converting a monolithic web application to a ASP Core client with a (ASP Core) Web Api. Right now the application uses a Microsoft login. We're investigating using IdentityServer to ...
CJ Scholten's user avatar