Quantcast
Channel: CodeProject Latest postings for ASP.NET
Browsing all 3938 articles
Browse latest View live
↧

HTTPPOST of EditReport not comiting data to database

Hi All I am new to MVC and EntityFramework and am having a problem getting my form to save changes back to the database. I have the following modelC#Copy Codeusing System;using...

View Article


Use Active Directory for authentication

I am trying to create a site on IIS that can allow users to manually thru their mobile phones (yes they will have access to this internal site), and use their AD username/password to login. Anyone...

View Article


An unhandled exception occurred while processing the constructor in ASP.NET...

I use the following code for dependency injection of Register/Login controller. The problem is that I cannot use Repository pattern I have created previously.Copy Codeprivatereadonly...

View Article

Two ReportViewers on the same project

I want to have two ReportViewer controls in my VS project. I have two completely different types of reports and I want to split them between two RepportViewers that would be processed in two...

View Article

Where did i get asp.net project in linux with mysql database.?

ASP.NETCopy Code

View Article


How to fill Foreign Key in a relational database when creating a new row?

I have a model as follows:Copy Code[Key]publicint pmId { get; set; } [Required]publicint pmNumber { get; set; } [Required] [MaxLength(50)]publicstring costCenter { get; set; } [Required]...

View Article

Https redirection modifies url path

Hi Good Day, I have been trying to redirect my http web pages using the rewrite module. The module works in converting http link to https, but then the converted url path is not as expected. For...

View Article

Error NETSDK1045 The current .NET SDK does not support targeting .NET Core 2.2

Hello All, Wondering why my system is giving me the message: "Error NETSDK1045 The current .NET SDK does not support targeting .NET Core 2.2 ... use a version of the .NET SDK that supports .NET Core...

View Article


How is SignalR aware of userID while EF Core Identity has been deployed as...

I'm using EF Core Identity as register/login system in my project. I tried to use signalR to push notification when a new message is send to a user. I have a form with two inputs, one for user who will...

View Article


AngularJS $http service not able to call asp.net mvc action

I am learning angularjs. i am using VS2013 and asp.net MVC 5. when user click a link then i am trying to call asp.net mvc action which return json but developer tool showing error called **Failed to...

View Article

Is it possible to add fore ground and back ground to any app that is down?

Greetings again, Sorry that I have to come back for help for this script. Each time this script runs, it sends email notifications to our Executive team advising them of whether any or all of the apps...

View Article

asp.net

hey every one! i was tried to drop down with searchable way means when i try to write the first letter of the option the value should come first, with out Jquery or java script only in c# drop-down...

View Article

Initial design question on an ASP.NET Core MVC project.

I am starting on a project, together with other developers. The customer is a community and wants to have a website where people can apply for a service. According to their family status, the persons...

View Article


What to use for a job scheduler for a .net app with plugins for each job

Copy Code I'm creating a .net app in which many clients will have their own scheduled tasks. Each client will be a plugin that gets added to the main app with their own jobs and settings for when to...

View Article

Get a Field value for recovery a password

Copy Code We have a login If you type the username and password and press submit, we called the login.cs everything is validate and OK, but we have a password recovery link, where you have to type the...

View Article


Which one of the following codes has better performance in ASP.NET Core?

I use repository pattern in my project. Which coding strategy is better? 1) C#Copy Codevar messages = _messageRepository.GetAllMessages().Where(x => x.senderId == myId).ToList(); 2)C#Copy...

View Article

Asp.Net Core. Sending requests with Postman.

I write in Postman this URL for Get method: https://localhost:7033/api/restaurant and I get 404 not found result. I don't know where is the problem. For https://localhostlocalhost:7033 it works, so it...

View Article


select data from two table of database based on one column of excel data...

in my project i have a file upload control and then what I want know when i upload a file from that excel the first column of the excel which is employeeID give to one variable and frind the match...

View Article

ASP.NetCore Freeze the header of html table

Apologies if you've seen this before in the Net Core section ( deleted now ), I decided here is a better fit How can I freeze the column header row of a table so that its always visible ? Despite...

View Article

ASP .Net Core, Global HTML sanitization.

Hello, I am looking for an approach sanitize all string coming from the browser to my application where I won't have to modify all action methods on all controllers. Maybe add a filter on the...

View Article
Browsing all 3938 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>