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

Email Problem

Hi,    if you send email from PLCBlocks Page (Index).The email will be sent, however the application than looks for a page Home/Email.This page does not exist nor do I wan it to, hence an error...

View Article


Calling a Web API action that has same signature as another

I have an ASP .Net Core 1.1 Web Api. In one of my controllers, I'd like two actions:[HttpGet("{userId:int}")] public async Task<IActionResult> GetUser([FromRoute] int id) { return...

View Article


Keeping state of logged in user in ASP .Net Core Web API

I have an ASP .Net Core 1.1 Web Api, which serves requests from a front end web app and phone app. The app is for real estate agents to perform inspections on properties. The system therefore has...

View Article

PHP files not found in an ASP .NET Core site

I setup  php, fastCgi.  I addeda phpinfo.php file to the wwwroot.  It shows a 404 when i try to open it.

View Article

Deploy asp.net core mvc application on Linux AMI Server

I need to deploy asp.net core mvc application on Linux AMI Server what are the steps to follow from the beginning ? 

View Article


ASPNetCoreAPIRateLimit

Hi,I am using ASPNetCoreAPIRateLimit middleware in my project. It works perfectly well when the settings are from the appsettings.json file. However, I want to get the values / settings from database....

View Article

Problem with showing data in View

I have follow next example https://github.com/kumarashwin/pluralsight-shawn-wildermuth-web-appAnd when I create my controller(which should be same as his TripsController) to return Ok with data,...

View Article

Quick LDAP Tree

Still new to .NET and looking for advice...I'm looking to create a tree based on information from Active Directory (via LDAP). I can get everything to populate using a recursive method, but it takes...

View Article


Problem with "return _context.Models.ToList()" in PartialView from COntroller...

When trying to use an IEnumerable model in a view, and returning a List() from the controller I get the following error:The model item passed into the ViewDataDictionary is of type...

View Article


Image may be NSFW.
Clik here to view.

Two Array Error

Hi folks,I am using Console app (Net core). Here is the source code:How to fix it? I am waiting for your response Thanks in Advance!

View Article

List clientID

Hi, I only want the a subject if there are items in the list.Then I only want a subject line to be created if there is a record belonging to the current user (clientID).The below code skips through and...

View Article

Access "RouteData" in the controller constructor

Hello:Please see my sample code below. I'm trying to get the "TenantName" Route attribute defined at the Controller level.In the controller constructor, I need to get the "TenantName" value.. How would...

View Article

Select() not poping up in DbSet Property

This is first time I am trying EF core. I create separate class library for EF core created dbcontext (EXPENSEDBContext) class form the existing database and build successfully.While I tried to select...

View Article


Configuration of kestrel service

Hello,This is my first time ever I am trying to deploy my web api to nginx, so I have a lot of question marks above my head. I have been following this tutorial:...

View Article

Color theme

Hi! Please can some one help or guide me on how to set a deferent color themes into Web App and Web API? Thanks.

View Article


Collect Web Payments

Hi, not sure if this is asp.net core specific.However, what is the best method to collect payment from a user prior to using website asp.net core functionality.Is there any tutorials on this and how do...

View Article

Step through records of a table

Hi,    how to step through the records of a table and write concatonation of each record to seperate line in body of email.Thanks,

View Article


Problem in UNIT Test

Hi All,i'm developing web application using VS2015 and i created unit test script.I'm getting error while debugging the unit test script, the error says "Unable to load Oracle.DataAccess.dll". This dll...

View Article

Website Graphics

Hi, not sure if this is asp.net core specific.However, what is the best method to make my asp.net core website look good / funky / modern.Is the best route Wix, BootStrap or other way (no cost...

View Article

it shows error msg like " cannot implicitly convert type 'string' to 'bool' "

////public static bool GetCodeGeneration(string TableName) ////{ //// try //// { //// SAPbobsCOM.Recordset rsetCode =Variables.sCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset); ////...

View Article
Browsing all 9386 articles
Browse latest View live


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