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

Upload file to server or cloud and associate it to the record in db

So I need to store several files per user in the server, how can associate files with user records in database, can i store in db some id of file or something like that? I thought about  renaming file,...

View Article


Authentication for an API service[Strategy].

Hi All, I have an API service written in asp.net core (netcoreapp:1.1). This service has the responsibility to receive HTTP requests, then to retrieve information asked by the client and send them back...

View Article


can't install: System.Net.Http.Formatting

Colleagues, Thanks in advance for your help.  I am working on a core app using system.net.http.HttpClient, and trying to use the class  System.Net.Http.Formatting.BufferedMediaTypeFormatter.   I can...

View Article

ASP.NET Core with EF6 Multiple Databases

I am currently trying to implement a solution with ASP.NET Core and Oracle EF 6. We currently have a single code base and database schema, but with 4 databases (one for each country).I have genereated...

View Article

Need sample ASP.NET Core Web API project

Hi Team,I was looking for sample ASP.NET Core WEB API project which contains proper routing , code structure and API.Please share me the link if you have any demo project for ASP.NET Core WEB...

View Article


Converting code from RestSharp to HttpClient

Could someone please help me convert this ASP .Net Core example (to be used in my Web Api to consume a management API from Auth0) which uses RestSharp into one using HttpClient?var client = new...

View Article

Need Get URL application

Hi.. I am developing in .Net Core 1.1 and need to get the URL in Startup.cspublic void ConfigureServices(IServiceCollection services)       {           string Need_Url_here = ????...

View Article

EF Core: Circular entity reference

I would say that it takes a lot of time to get to know ASP.NET Core to understand how to achieve things then previous versions with webforms, but I understand that ASP.NET Core is bigger and you are...

View Article


Published Before All Okay...Published at Weekend Had Issue...

First let me make clear this code hasn't changed from the previous few iterations of publication.  My project is large and I am working to create stuff, test locally, publish to a protected site have...

View Article


what cms systems are available for .net core

What cms systems are available to use on a pure asp.net core(mvc 6) web site. Right now i am learning umbraco and know my choices are limited. I also seen orchard2. Are there others and what is the...

View Article

Implementing a way to show events and activity in the app

I have a web app where I want to show to users recent activity happening across the app. For instance , if a user uploads a document, and another creates new blogpost - I want this info to be available...

View Article

ASP.NET Core in VS 2015

So I am trying to write an ASP.NET Core app in VS 2015. My office uses VS 2015, so that is what I have to use. I definitely cannot go to VS 2017 and writing an app thathas to be written/maintained with...

View Article

Write to text file

Hi,I have put the latest copy of my code at https://github.com/DotNetDS/CoreMVC140620171318.gitWith PLC Blocks I want to to be able to press the Generate Code link and for it to send an email.(At the...

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

String Route Constraint

Hi. I have an ASP .Net Core 1.1 MVC web API. How can I have a string route constraint in a controller action?I have the following two actions: / GET: api/Users/5 [HttpGet("{id:int}")] [Authorize]...

View Article


AppConfig values in the .net core

Hi,I am using .net core 2.0 and referred a dll (application developed in VS 2008).The dll contains appconfig appsettings values. Since .NET core is the parent project it is not getting the values from...

View Article

Using Core 2.x Daily Builds

I'm new to .NET and Core, and am hoping someone can point me in the right direction with something... I'm looking to try out the Core 2.x DirectoryServices stuff...

View Article


DSN Database Connection in ASP.NET Core

I am looking for a way to connect through a DSN to a database by way of the .NET Core framework. Hoping someone has done this before or can point me in the right direction.

View Article

Show only values with clientId of current user

Hi, how do I display only values related to current user from the clientId column of a table.Say blood sugar index view. i.e. so multitenancy can work.Code -...

View Article

Concatonate table values into a string

Hi, how do I table values into a string.i.e.On 2017/02/03 10:59 your blood sugar value was 7.7.Write fo file.Close file.Thanks.

View Article
Browsing all 9386 articles
Browse latest View live


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