Quantcast
Channel: ASP.NET Core
Browsing all 9386 articles
Browse latest View live
↧

Invoke view component from it's own view via user interaction.

I have a view component utilizing a paged-list class, so from the view component view I want to make additional calls to the view component effectively changing the "page" parameter.To keep it simple...

View Article


does not update list after resetting and inserting new ...

Hi everyone, after emptying and inserting new options, there are no changes to the video. The code used is the following:<form asp-controller="DeviceInventoryDataView"...

View Article


Subarray object cannot update (HttpPut)

Hi folks, here is my object:{"userID": 18,"firstName": "bob","lastName": "smith","age": 22,"education": [ {"eduID": 7,"teacher": "Kane","course": "Math", }, {"eduID": 8,"teacher": "John","course":...

View Article

Possible Custom Login Page for Windows Authentication?

Hi folks,Is it possible to custom login page for windows authentication (Intranet application) in asp.net core?

View Article

How to implement Web API with many databases depending on client calling

I have to create a RESTful Web API (I'm using ASP.NET Core 1.1) for a system which is maybe a bit unusual in the sense that each client using this system has their own database. (A client is like a...

View Article


AspnetRoles and AspnetUsers [one to many]

Hello,By default the relationship created using the IdentityDbContext creates a many to many relationship between aspnetusers and aspnetroles. Normally this is fine but I want to limit a user to only...

View Article

.net core 1.1 web application deployment on ubuntu 16.04

I have deployed .net CORE 1.1 web application on ubuntu 16.04 server, but it wont show on the browser, neither log the errors via  the supervisor utility.Please anyone knows why its not...

View Article

Image may be NSFW.
Clik here to view.

How to replace Core MVC Carousel first image

Hello,I created an ASP.NET Core 1.1 MVC Web Application in Visual Studio 2017 Community.I am trying to replace the first image in the carousel on the Home page with a link coding from my Microsoft...

View Article


Understanding Error on Create Migration

Following a tutorial, but its VS2015 not 2017, so I have to work around a few things.  I suspect I mucked up.adding migration via C prompt is generating errors:C:\Program...

View Article


How to? Deploy .NET core web app developed with Visual Studio 2017 to Ubuntu...

Hi,I know it is possible to deploy a .net core web app developed in Visual Studio, to Ubuntu 16.04, but the knowledge base provided by Microsoft only details about setting up a host environment  "Set...

View Article

Having issue with my Microsoft.Identity.Client.ConfidentialClientApplication...

I am having an issue with my Microsoft.Identity.Client.ConfidentialClientApplication object having an empty "Users" property (belongs to the "Microsoft.Identity.Client.Client​Application​Base" class)....

View Article

Better alternative for global variables

In an ASP.Net Core 1.1 Web API, I need to store some global information that must be accessible across all controllers. So when the client calls a certain endpoint on the API, a certain variable (a...

View Article

Multiple Actions in one view

is there any detailed example or reference where I can implement multiple actions (CRUD) in one view in ASP .NET Core?

View Article


Custom authorization not working properly in IIS server but working fine in...

We have created a custom attribute in our ASP.Net Core 2.0 WebAPI project for token verification. When the token value is correct the API works well in both localhost and after publishing. The problem...

View Article

Cascading dropdowns in C# of available SQL databases and its tables

I am using 2 dropdownlist1st for showing all the databases available on serverand 2nd for showing all the table of selected database from above dropdownlist...what the code should be written in C# to...

View Article


ASP .NET Core - Windows Service - Make it secure using https

Hello:I have ASP .NET Core web API running as a windows service on a port, 60001.public static void Main(string[] args) { bool isService = true; if (Debugger.IsAttached || args.Contains("--console")) {...

View Article

Asp.Net Core Identity Problem

We are publishing an application on smartadmin.com.brWe used asp.net core 1.1 and we are using Identity to make the users control.There are 2 problems:1. I can not shut down the idle time, so, if user...

View Article


Populate 'Select' control from table in ASP.NET Core

These are my Models, public class PatReg { [DatabaseGenerated(DatabaseGeneratedOption.Computed), ScaffoldColumn(false)] public Int64 RecId { get; set; } [Key,Display(Name = "File Id"),...

View Article

Image may be NSFW.
Clik here to view.

How and where to make classes for calculations and services?

In order for my controllers not to grow too lage, and for best practice, I need to make some folders with classes that perform operations on certain objects and types.So I need to calculate some dates...

View Article

Get Cookie value or Check if Cookie is exist?

Hi folks, I am using Asp.net coreIn login function Controller:var claims = new List<Claim> { new Claim(ClaimTypes.Name, model.Username) }; var userIdentity = new ClaimsIdentity(claims,"login");...

View Article
Browsing all 9386 articles
Browse latest View live


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