All Questions
1,963
questions
0
votes
0
answers
38
views
OData - Checking if the result has entries before returning it
how can I check if the result has entries after the filter?
I call the link like
https://localhost:44323/Test?$filter=Id eq '1234567' and Month eq 2 and Year eq 2024
and I get
{
"@odata....
-1
votes
1
answer
91
views
How can i add my changes to localhost web?
I'm working with an asp project, and I'm trying to add new changes on the inetpub folder, but it doesn't work.
I know that the inetpub folder is just for static files.
I'm just taking the .aspx file, ...
0
votes
0
answers
46
views
API Key authorization issue in openai
I have created API key through chatgpt APikey but I still have an authorize issue (this ApiKey is an example).
private async Task<string> CallOpenAiApi(string message)
{
var apiUrl = "...
0
votes
1
answer
38
views
How to move Menu on Navbar
I created a menu through the toolbox in C#. The menu is positioned in my navbar however it is to the far right. I usually move it by dragging it through the design screen however that is not an option ...
0
votes
0
answers
92
views
The page cannot be displayed because an internal server error has occurred error
I am trying to publish my website. I publish local folder and send it to Plesk. But it doesn't work. Here's my web.config and some photos. This is the error ''The page cannot be displayed because an ...
0
votes
1
answer
37
views
Unable to configure the build output directory on .net web project
I am currentily working on an old .net web project, and the propieties of the project are missing alot of options. The project has no csproj file, and its info, like framework is written on the sln ...
1
vote
0
answers
310
views
Deploying React and ASP.NET Core (Preview)
I'm developing my first React and Dotnet app, but I'm stuck on deploying it. I started with the React and ASP.NET Core (Preview) template, which creates a separate .NET 7 API and Vite SPA. The app is ...
0
votes
0
answers
312
views
Facing an "Internal Compiler Error" when trying to compile with Microsoft.Office.Interop.Word.Document
In an asp.net webforms app, no matter how do we try to add the rqueired reference, we are still getting the following errors, when using Microsoft.Office.Interop.Word.Document:
Severity Code ...
0
votes
0
answers
33
views
How to get the content from a System.Web.HttpPostedFileWrapper
I want to read the contents from a text file POSTed on a webpage from an input type=file on a form.
I do NOT want to save the file, only read it's content.
So far, after if (IsPost)...
var ...
0
votes
0
answers
60
views
Call Api from public address
Scenario: On a web-server , IIS, I have an Angular App with address 192.168.0.117:4444 that call an API (ASP.NET Core 7) on 192.168.0.117:5555. All works fine. Now I have a port forwarding that link ...
0
votes
0
answers
38
views
Is There any way to publish asp.net backend with html,css,js frontend application
I created A full stack web app using visual studio code for frontend and visual studio for backend. I publsihed my backend and extracted files to plesk hosting. But I'm having htpp404 error. [Error I ...
0
votes
0
answers
18
views
Image storing for ASP.NET MVC site [duplicate]
I'm developing a movie forum as my pet-project. The idea that I have Movie model which contains title, description and release year, but also I want store cover for the movie and other related photos. ...
0
votes
1
answer
83
views
Using Fetch in JS to call a server-side method (ASP.NET)
I have an ASPX page, called default.aspx and default.aspx.cs being my code on the server side running on IIS 7, something really simple, written in VS Code. In addition to the JS, CSS and IMG folders (...
-1
votes
3
answers
62
views
Do C# static members get shared among calls to a Web site?
I'm creating a Web site using C#/Asp.net. I want to minimize object creation by setting some classes and properties as static. But I don't want those objects to be reused by subsequent calls to the ...
0
votes
0
answers
668
views
Access denied on Microsoft.Data.SqlClient.SNI.x64.dll Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)
I converted an ASP.NET WebForms project from a Web Site to Web Application. To use the Microsoft.Data.SQLClient we must have Microsoft.Data.SqlClient.SNI.x64.dll copied into the Bin directory. I have ...