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

Can't reinstall .Net Core SDK after removal “product is already installed”

I deinstalled .Net Core SDK with "programs and features". When I now try to install the .Net Core SDK again, I get following Error Code:Error 0x80070666: Process returned error: 0x666Another version of...

View Article


Token Based Authentication in .net core WEB API and WEB APP

Hi folks,I need to implement authentication mechanism to my WEB API developed in (.net core 1.0) project and WEB Application developed in (.net core 1.0) project which consuming my own web api based on...

View Article


user-secret issues

I'm having trouble getting this to work.  I'm using Visual Studio 2017 the latest RC (updated this week).I'm trying to follow the items in this link:https://forums.asp.net/p/2092700/6042219.aspxThe...

View Article

Multitenancy Authentication, not flexible enough?

Hi.I'm working on a web portal hosting several "modules", each of those module having their subset of users. Multitenancy is a well known topic and I can find resources around that, this one for...

View Article

Image may be NSFW.
Clik here to view.

bitmap.pallete flags changes every row

So i want to change the size of a PNG image (want to keep the transparency), but i'm getting a error because my palette gives a Null. I recognized that the palette flags changes every row. See the...

View Article


Individual User Authentication on ASP.NET Core WebAPI

Hi,When I create a new solution in visual studio and choose WebApi I see that individual authentication is disabled....I looked in the internet and found out that it's not ready yet... I strongly need...

View Article

ApplicationDbContext Scope

Hello everybody,I am using ASP.NET Core 1.0 and I need to schedule tasks (Hangfire style). I am using FluentScheduler v5.1.3 with structuremap as a DI container.The thing is, when I run jobs that use...

View Article

"the type xx exists in both" after migration to csproj (Visual Studio 2017 RC)

Hello everybody, I start migrating my "old" .net core web app from vs.net 105 to vs.net 2017 rc...and the problems begin! In "old" xproj version my class libraries were built again net451, net46 and...

View Article


I can not make the deployment of the ASP.NET core project ...

Hi to all,I'm developingwith ASP.NETcore1.0.1 and i have a problemwhen I try topublish acoreASP.NETMVCprojecton a"test remote server", below arelistedthe errors generated:Executing command ["C:\Program...

View Article


core or mvc

Hi i would like to start a personal project i wondering if i should choose asp mvc or core i already know mvc but i would like to try the new asp core but i dont know if asp core worth it to learn righ...

View Article

How To: Windows Authentication with Windows AD Group Authorization

Hello,I'm building a intranet site. I am still in my first development phase and am considering upgrading to Core if it makes implementing Authorization easier. I have AD Groups created for the...

View Article

Image may be NSFW.
Clik here to view.

.NetCore.1.0.1-VS2015Tools.Preview2 installed with wrong templates in Web and...

Hi All.I'm using VS Enterprise 2015 with Update 3 on Windows 7 Enterprise SP1. I installed successful:DotNetCore.1.0.1-VS2015Tools.Preview2.0.3and.NET Core 1.1 SDK (64 bit) But when ran VS and select...

View Article

dotnet publish doesn't copy files and folders over to publish directory when...

The dotnet publish command didn't copy over static files and directories specified in project.json publishOptions: include array when the --output flag is specified.  It works as expected when a custom...

View Article


The SELECT permission was denied on the object 'ct_event', database 'UT_X',...

I am devolving an web application where i have to read data from DB and populate in the grid view.i am getting below error "The SELECT permission was denied on the object 'ct_event', database 'ULT_X',...

View Article

send json data to controller doesn´t work in local sql express db

I have a CRUD view developed in asp.net core.I´ve got a very simple modelpublic class Categoria { [Required] public string id { get; set; } }I´ve got this for delete in my controller:[HttpPost,...

View Article


Viewlist in page

So i am requesting some data from the database and want to put it in a list, but the problem is that how to give the variable only the "pt (pagetemplates)" and not the "wl" that i need for the WHERE...

View Article

ASP.NET Core v.1.1: Executing stored procedures in IIS doesn't return data

Hello,I have implemented an ASP.NET Core Web API v1.1 which has a controller that executes a sql query (mostly it executes sp calls) and returns a DataTable. The problem is that when I run the Web API...

View Article


Transactions Using Net Core and Repository Pattern (ADO .NET)

Hello, I have a "webapi" in "Net Core" and I am using "Ado net" and "repository pattern". My question is, if the repository ispublic interface IRepository<T> where T : BaseEntity { int Add(T...

View Article

Does these file structural change official in asp.net core 1.1 compared to...

I have seen lot of tutorial and articles online regarding .NET CORE 1.0(because there are no much detail articles on version 1.1)Apart for many advantages there were lot of changes in file...

View Article

how to check the user whether he has been registered or not ?

I have made one registration form, in which i am suppose to register the user. User is registered successfully. There is also one login button, want to make sure that user , if clicks login page and...

View Article
Browsing all 9386 articles
Browse latest View live


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