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.

368,824 questions
0 votes
0 answers
8 views

How to show the error text for devexpress spinedit using VB.Net?

I'm having a problem to show the error text for spinedit when user have reached the quantity Max.Value. I want it to be like this : Here is my asp.net code for SpinEdit <div class="row"&...
-1 votes
1 answer
25 views

How to create c# desktop application setup file along with database

I created c# application for my client having database so i created a setup file which runs fine in my PC but in my clients pc it shows this error error msg ]1 So i need to submit it to my client but ...
-5 votes
0 answers
33 views

How to get from database for an "a href="?" " in asp.net [closed]

How can I get value from database. The link doesn't work when I type it as below. Thanks in advance for your help. Razor page Code Sql Data:
0 votes
0 answers
14 views

How can I correct this error : Could not load file or assembly 'System.Memory' or one of its dependencies. (Exception from HRESULT: 0x80131040)

I typed my url into my browser and had hoped to bring up my website, but instead I received this error: Could not load file or assembly 'System.Memory' or one of its dependencies. The located assembly'...
0 votes
1 answer
23 views

Adding a default role to a registered user

There's three roles and I want to add a default "user" role whenever there's a registration. I'm using asp.net 6 mvc with identity What I did it's not working. I checked the tables and the ...
0 votes
0 answers
10 views

Session login on webapplication NullReferenceExceptionError [duplicate]

I have created my login and sign up page and all is running well, however when I try to run the program now I'm getting an exception error of System.NullReferenceException: 'Object reference not set ...
-1 votes
0 answers
17 views

Need An Independent Global Event In ASP.Net To Retrieve Host Domain

I have an ASP.Net Webforms Application that I look forward to use on 2 different websites with different TLDs of course, and also locally. I have switched to this concept because it was difficult to ...
-1 votes
0 answers
11 views

How to create IOptionsSnapshot interface instnce without DI (serviceCollection and serviceProvider)

I need to explicitly create an IOptionsSnapshot interface instance without using serviceCollection and serviceProvider. serviceCollection.Configure<>() and serviceProvider.GetRequiredService<&...
1 vote
0 answers
13 views

Assertion is not within its valid time range. Ensure that the access token is not expired before using it for user assertion, or request a new token

I am trying to generate access token using On-Behalf-Of flow which will be used to authenticate API calls. I am adding a claim called userIdToken which is value of id_token in startup file(sample ...
0 votes
0 answers
28 views

Regex parse query string with ampersand in value

I'm getting query string from 3-rd party service and ampersand in value is not encoded there, so my case is: param1=test&param2=cpd&cpd&param3=abc so I need to get it like param1 = test ...
0 votes
0 answers
25 views

Using Entity Framework for 2 databases in .NET

I have no idea how to use EF to connect to 2 databases separately, I just use 1 database only before. I have to model ActivityLog and RegistrationData. Here are the connection strings: <...
-3 votes
2 answers
40 views

Add a specific character after each character in a new string [closed]

I was wondering if I can create a new string that adds a specific character (.) after each old character. I thought I could use a For Loop but I'm not sure... var str = "ABCD"; //old string.....
  • 1
-1 votes
0 answers
22 views

IIS10 Is throwing a 404 Error Code When Asked To Serve .asp/.aspx Pages [closed]

My company needs to add some features to our websites that necessitate ASP.NET features. I have a MVC ASP.NET web application hosted locally on IIS 10 that has these new features. However, all of my ...
0 votes
1 answer
22 views

incrementing a counter by asp.net button click

Is there a way to press an ASP.NET button on a web form and incrementing a counter on each button click? (displaying it on a label for example) so when trying: namespace TestButtonClick { public ...
0 votes
0 answers
21 views

WebForms & JQuery: File upload

I want ASP.NET file upload to look like this using the CSS I have the CSS and is working as expected. Now, the issue I am facing is with FileUpload. How can I get ASP.NET File upload or Html input ...
  • 2,561

15 30 50 per page
1
2 3 4 5
…
24589
Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest