Questions tagged [asp.net]
ASP.NET is a Microsoft web application development framework that allows programmers to build dynamic web sites, web applications and web services. It is useful to use this tag in conjunction with the project type tag e.g. [asp.net-mvc], [asp.net-webforms], or [asp.net-web-api]. Do NOT use this tag for questions about ASP.NET Core - use [asp.net-core] instead.
asp.net
374,711
questions
-1
votes
0
answers
39
views
+100
microsoft rules engine evaluating multiple options
I am using Microsoft Rules engine (https://microsoft.github.io/RulesEngine/).
I want to know how to implement multiple option based output for each rule to implement a questionnaire based points ...
0
votes
0
answers
16
views
Authentication in SOAP header using C# and SOAP UI
I'm currently working on integrating a SOAP service into my C# application and I'm having trouble implementing authentication using SOAP headers. I just want to read the username and password from the ...
0
votes
0
answers
50
views
The type initializer for 'Npgsql.TypeMapping.BuiltInTypeHandlerResolver' threw an exception, Unable to load entity from database using powertools
I'm using ASP.NET zero and Power tools to load entity from database (PostgreSQL), but it is showing an exception shown in the screenshot(Click the link below):
https://i.sstatic.net/1FXoFb3L.png
My ...
0
votes
1
answer
35
views
Is there a way to create a drop down list with check boxes as list items? (asp.net)
I was looking to create a drop-down list mechanism with check boxes with days of the week so that you could select which days of the week you wanted.
I haven't seen much on this, and you cannot just ...
0
votes
1
answer
38
views
Null Value in my Address Type and Contact Type upon clicking submit button using ASP.NET Core
can some help me with my error. I trying to save the resident information, for resident,address and contact information, Now I am encountering a null value for address type and contact type.
In this ...
0
votes
0
answers
73
views
Error handling in Azure function with custom class
My login function looks like this:
[Function("Loginxyz")]
public async Task<IActionResult> GenerateToken(
[HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = &...
1
vote
1
answer
23
views
How could I filter APM events on sentry for ASP.NET?
In my ASP.NET app, we are using sentry to log errors, but we want to filter all the APM messages.
I was intending to filter it using the following approaches:
options.SetBeforeSendTransaction((...
0
votes
1
answer
55
views
Build and deploy ASP.NET 4.6.x website in DevOps Pipelines and deploy to Azure VM
I have an ASP.NET 4.6.1 website that I've moved to a Windows 2019 server. Unfortunately, updating the website past ASP.NET 4.6.1 isn't an option at the moment.
My Visual Studio solution contains 1 web ...
0
votes
2
answers
44
views
Can you use Identity Server 4 with .NET Framework 4.8?
I have an existing project that was built with .NET Framework which has an output of class library which has Identity Server 3 installed on it. I want to know if its possible to install IDS 4 on the ...
0
votes
1
answer
38
views
Save image into folder in sever using Froala Text Editor
At present. I'm using Froala Text Editor save blog post with tag . But I can't save image uploaded. I was used many way slpit text to get image into folder default in sever, it's not working.
Hope, ...
-6
votes
0
answers
39
views
this Code gives error of 'An error occurred while updating the entries. See the inner exception for details.' [closed]
[HttpPost]
public ActionResult AddApprovalStage(string Levels, string PlantCode)
{
try
{
var levelsList = JsonConvert.DeserializeObject<List<ApprovalStageViewModel>>(Levels)...
0
votes
0
answers
41
views
Visual Studio 2022 VB and Crystal Report sp35: Trying to create new Crystal report, error: "The system cannot find the file specified"
I am using Visual Studio 2022 VB and I have installed Crystal Report sp35. When I try to create a new Crystal report, I get following error message:
The system cannot find the file specified.(...
0
votes
0
answers
8
views
Enterprise logging 5.0 file rename
I am new to Microsoft enterprise library logging and i am using one in my current project. I see it is creating new files on the first logging entry renaming old by adding todays time stamp. How can i ...
0
votes
1
answer
27
views
VS 2022 Community does not recognize Master Page and other controls
I recently installed Visual Studio 2022 Community and loaded the web site I have been working on. The file text in all my files is covered with squigglies. VS does not recognize most of the objects ...
0
votes
0
answers
10
views
I have a rabbitmq service in aws ec2 and i have attached an Route 53 record for it but when i am giving the record in code instead of ip getting error
AMQP Exception 'None of the specified endpoints were reachable'
I have treied connexting through python and dotnet but sadly wasnt reachable for any of it.
I have tried doing some changes in my ...
0
votes
1
answer
65
views
+100
Unable to cast object of type 'Server.Circuits.RemoteNavigationManager' to type 'WebView.Services.WebViewNavigationManager'
Trying to move Blazor Web App to Hybrid result in exception on application start:
blazor.webview.js:1
Unable to cast object of type
'Microsoft.AspNetCore.Components.Server.Circuits....
1
vote
4
answers
105
views
How to ensure a specific method is called after method chaining in C#?
I'm trying to create an API in C# that uses method chaining. I want to ensure that at the end of the chain, a specific method (e.g., Throw()) is called. If this method is not called, an exception ...
0
votes
2
answers
45
views
AuthorizeView rendering/resolving before auth state updates, but updates on refresh
I have a server app that connects to a custom login server, receives a JWT, and stores it in session storage for use throughout the app. I use <AuthorizeView> to contain restricted content, but ...
0
votes
1
answer
38
views
How to call Windows service methods from ASP.NET Web API?
I have an ASP.NET Web API that is set up to interact with WPF and soon other clients. This is a fully internal ecosystem, however I am aware security is still a large priority.
I have multiple HTTP ...
-1
votes
1
answer
42
views
Disable Spell check on VS 2022 for a specific file location?
I'm getting thousands of spelling errors for a decompiled bit of code in AppData... not even code in my actual source code... Does anyone know how to exclude the spell checker spamming me like crazy?
...
0
votes
1
answer
53
views
Parsing data in an HTML table pulled from a website using R
I'm trying to parse HTML tables and so far I've successfully managed to convert the HTML tables into a single data frame but I need to modify the code to parse the text in one of the columns to spread ...
0
votes
0
answers
44
views
How to use redis ( with client certificate requirement ) for session state in ASP.NET on .NET 4.8?
We are currently using Redis for session state and cache management along with SignalR, and everything is working fine, because our current Redis server configuration allows connections without a ...
0
votes
0
answers
25
views
Gettings 404 Error When Calling SAP BO Refresh Document Api
I am using SAP BO GET http://test:6405/biprws/raylight/v1/documents/{id}/parameters endpoint to get prompts. After that I created dynamic controls based on this endpoint response. Then I want to use ...
0
votes
1
answer
45
views
How to Extend ASP.NET Session Timeout in Plesk?
I'm currently hosting my ASP.NET Core application using Plesk, but I'm encountering an issue where the session times out after 20 minutes of inactivity, redirecting users to the login page. I would ...
-1
votes
1
answer
73
views
Docker Container for .NET 8 Web API Fails When Deployed to Azure Container Registry (ACR)
I'm working on a .NET 8 web api and using Docker to containerize it. The app works on my local machine, but fails when deployed to ACR. Before that I was running the app on .NET 7, and there were no ...
0
votes
1
answer
21
views
Problem with cascading dropdown in Asp.net core mvc
I m implementing Student Information System. In Student class (Id, Name, CurrentGradeId, CurrentClassroomId and other info). Want to implement cascading dropdown are grade and classroom.
Here Problem!
...
0
votes
0
answers
17
views
Refernce to RouteValueDictionary claims it is defined in System.Web but could not be found
I am currently learning to unit test in ASP.NET MVC, and I have encountered an issue while working on my Controller Test class. The error message states, "Reference to RouteValueDictionary claims ...
0
votes
0
answers
25
views
Error "Object reference not set to an instance of an object" after installing "Microsoft.AspNet.SessionState.SessionStateModule"
I made a web forms application with asp.net framework version 4.8. I downloaded
Microsoft.AspNet.SessionState.SessionStateModule version 2.0.0 from nuget in https://www.nuget.org/packages/Microsoft....
0
votes
1
answer
58
views
Why I can't catch and log "Out of Memory" exception? [duplicate]
I'm running .net 6 application as a windows service like this:
"C:\Program Files (x86)\dotnet\dotnet.exe" c:\MyApp\MyApp.dll
Application is starting like this:
var builder = WebApplication....
0
votes
0
answers
11
views
ASP.NET controller not receiving input
I have some mock web interface. It is supposed to take a user comment and save it to a json file. Then print the contents of the json in the html. However for some reason my controller is unable to ...