2020欧洲杯时间表

Dark mode beta

You’ve been asking for dark mode for years.
The is finally here.

Change your preferences2020欧洲杯时间表 any time.

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

How to default enable proxy and disable for some models in EFCore

i'm using UseLazyLoadingProxies() in my AddDbContext() configuration on the startup.cs. Now, EFCore is loading all the child properties from the related tables, and i want to disable that behavior ...
0
votes
0answers
6 views

how to load routes dynamically from database in asp.net webforms

I want to load routes on every requests, i have tried to put it this code RegisterBundles(RouteTable.Bundles) to the Application_Beginrequest. seems this method helped me but also now when i refresh ...
0
votes
0answers
19 views

CSS and Fonts Render Differently on Web Server Compared to Development Environment

I have a .NET Core 2.2 MVC application that I'm developing. My website looks perfect when I run it locally in chrome, however when I deploy to Azure App Service (also ran in chrome), the fonts are ...
0
votes
0answers
11 views

populating a dropdown list using dapper and .net core razor pages

we are NOT using MVC in this project. Populating the IEnum like this; public IEnumerable<CompanyList> CompanyListe() { var connectionString = "foobar"; using (SqlConnection ...
-1
votes
0answers
15 views

How to catch proper exception from failed WebMethod call

I have a Webmethod which runs an SQL statement and should return some data in JSON. The trouble is, when it runs it returns a 500 error HTTP500: SERVER ERROR - The server encountered an unexpected ...
1
vote
0answers
31 views

Why are dynamically added html table rows and cells not being added to a front end html table?

I'm trying to populate a front-end html table using back-end c#, but none of the HtmlTableRows and HtmlTableCells are showing up in the table. I was able to successfully populate a front-end table ...
-1
votes
0answers
22 views

Asp.net System.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'

I have a formView I added edit, delete, new to it, when I want to insert or update from fromView I get this exception System.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'. When I ...
0
votes
0answers
13 views

WCF Web.config Error : “This collection already contains an address with scheme http”

Firstly, I tried adding the below code in web.config <system.serviceModel> <serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> </system.serviceModel> But no ...
0
votes
1answer
20 views

consuming API httpClient

I am getting error "Bad Request" trying to consum an API. I had tryed some diferents ways, but without success. Could some one help? API Parameters must be: FormData Parameters scope = "oob" ...
-1
votes
1answer
24 views

“Only the API should be made using this framework”, Working with ASP.NET MVC unsure what that could mean [closed]

I have recently started learning ASP.NET CORE, and have been given a task. In the task it says this: "Only the API should be made using this framework". I've done the API and called it using ...
2
votes
1answer
36 views

remain TextBox value after the page refreshed

I have a textbox and this is how I assigned value into it var start = moment().subtract(6, 'days'); var end = moment(); $('#datePicker').daterangepicker({ timepicker: false, ...
-2
votes
0answers
15 views

How can I Upload data from Excel in hhh:mm format and Check in C# that data is uploaded in correct format

I want to upload hours and minute in hhh:mm format. ex. 103:30 --> 103 hrs and 30 min 003:00 --> 3 hrs and 0 min 000:30 --> 0 hrs and 30 min
0
votes
0answers
12 views

Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level

I am getting below error in my WCF application, it is working when I am running on my local machine (visual studio) but getting an error when it's deployed on IIS: Parser Error Message: It is an ...
0
votes
0answers
12 views

Not getting layout wizard for Entity Framework in VS 2015 and Oracle database

I have tried so many attempts, but I'm just not getting any idea how to proceed further. I have VS 2015 professional edition and Oracle 11g. Below are the steps I am trying to create an ASP.NET MVC ...
0
votes
0answers
12 views

How to remove millisecond in time value [duplicate]

I need to remove millisecond in time value and this is my code now to display that time : foreach (DataRow pRow in dtDaily.Rows) { double totalst = scndtotalwh + 1800; if (totalst > ...

15 30 50 per page
1
2 3 4 5
23620