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

Models from Portable Class Libraries

How do I reference a Portable Class Library as a model in creating a view.   I have all of my models in this library to work with a Windows universal app created in Visual Studio 2015 and now I am...

View Article


Adding Controller with views using Entity Framework Error - Visual Studio...

I'm cross posting this because it might make more sense here vs the Visual Studio MSDN forum.Trying to follow the tutorial for the MVCMovie project located at...

View Article


CRUD Operation in .net core 1.1 using angular 2

Hi,I want a sample application which uses .net core 1.1 and angular 2 for crud operation .The application should have a grid which should have all the features to add , edit and delete records.Thanks...

View Article

can i host asp.net core website on linux server?

can i host asp.net core website on linux host server?i have godaddy linux shared hosting server plan which comes with cpanel. In this case, how can i do this?

View Article

Windows Authentication to make SQL Server Connection

Hello: I have a .NET Core Web API Service which requires to connect to the SQL Server database using Windows Authentication. This is how it should work (raw): 1) The Windows username and password will...

View Article


Applying the concept of VB Module in C#

So I used to write my functions in VB module and call them from any  place in the project, I don't know how to do it in C#.This is my current function in the controllerprivate readonly...

View Article

ASP.NET Core Authentication problem on Windows Server 2008

After publishing an ASP.NET Core MVC app to a Windows Server 2008 host and trying to authenticate in I get a "This page can’t be found".The guide I've used to set it up:...

View Article

IrouteConstraint how to do in asp.net.core

I am trying to create a IrouteConstraint for a cms controller to match on slugs. However I am using asp.net core and I cant seem to find a way to resolve httpcontextbase. I was going by the...

View Article


Custom urls in asp.net core 2

I was wondering how does one achieve custom database based urls for asp.net core 2 does anybody have any code or tips that they can share.

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

.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

How to call asp.net xml web services (.asmx) from an asp.net core web api?

I have a asp.net core web api project and now I would like to know how to call xml web services from it? I used to add web references from .net framework projects.

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


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

How to handle a POSTed file to an ASP.NET Core application from Microsoft Flow

I have a Microsoft Flow setup with the following stepsWhen a file is created (SharePoint) (this is pointing to a specific document libraryHttp (Http), Method: Post, Uri (pointing to my app), Body: File...

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

Upgrade to v2 or just create new project and migrate controllers?

I had a project on 1.1 (was to collect research data), the data collection has now ended, so this site is basically dead.So now they want a bunch of changes for a new project, but basically the same...

View Article


OAuth without login

Hy everyone,I'm making an API for Exact Online for a website with a form. The visitor will fill in his information and after that the visitor sends it, it need to be send to the Exact online account...

View Article

Unable to get authenticationType in ASP.NET Core Web API

Question on Stackoverflow: https://stackoverflow.com/questions/45684877/unable-to-get-authenticationtype-in-asp-net-core-web-apiI'm writing a simple ASP.NET Core Web API that needs to return "true" if...

View Article

Help with Core2.0, Azure Authentication and REST call

I started with the basic ASP.NET Core 2.0 with Azure Authentication. Everything works in a web browser. It starts up, browser goes to MS, signs in and returns to the app. So far so good.What I want to...

View Article
Browsing all 9386 articles
Browse latest View live


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