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

Custom Core MVC Folder Structure or special category

Hii know some folders in Core Mvc or in MVC Asp.net ....  we have Controllers ,Model ,Views , Share ,Content , ... but in some pdf for Example in adam freeman PDF (Pro Asp.net Core MVC ) i saw he used...

View Article


Error TS1148 Cannot use imports, exports, or module augmentations when...

Hello,I am having trouble getting anything working with Angular 2 and ASP.NET Core. I paste below a few lines from Package.JsonThe problem that I have is with my app.component.tsErrorTS1148Cannot use...

View Article


Exception: Call to Node module failed with error: Error: Uncaught (in...

After I created a base servise class I got this exception on the index.cshtmlSystem.Exception: Call to Node module failed with error: Error: Uncaught (in promise): Error: DI Error Error: DI Error at...

View Article

NonFactors Grid MVC 6 and Checkbox / Multiselect

I am working with a problem.  I can currently display data on a page with the NonFactors Grid MVC6, though it is incomplete data.  Currently for Boolean values it is displaying a True or False on the...

View Article

kestrel-hellomvc.service: Failed at step USER spawning /usr/bin/dotnet: No...

I was following the tutorial https://docs.microsoft.com/en-us/aspnet/core/publishing/linuxproduction on publish asp.net core project on nginxthe previous steps all seem successfully,but while systemctl...

View Article


app.config & appsetting.json

In visual c# using-asp.net core web application(.net framework) core web using .net fw have a [app.config,appsetting.json] ,so i not sure where to write my connectionstring to make to the db...

View Article

[SOLVED] Asp Core 1.1 share cookie Auth between application

Hi,I try to share 2 authentication cookies between 2 applications.In App1 : Startup.cs app.UseCookieAuthentication(new CookieAuthenticationOptions { AuthenticationScheme = "Cookies", LoginPath = new...

View Article

MySQL Bulk insert .net core

Does anyone know how I can do bulk inserts with MySQL and .Net Core? I've been researching for a while now, and no solution. MySqlDataAdapter doesn't seem to be available yet?

View Article


DataProtectionProvider : best pratices using a shared authentication key...

Hi,following this link https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/compatibility/cookie-sharing and having received much help on this forum...

View Article


No WriteSync method on HttpResponse

I'm stuck and not sure why this isn't working.  I want to write to the HttpResponse object thusly in my Configure method of Startup.cs:app.Run(async context => { await...

View Article

Cancel async Ajax Request (CancellationToken)

Hello,How to cancel a async Ajax Request?I have the following Controller where I querying a database async and have the need to cancel it if it runs to Long...Is it possible that using...

View Article

Radio Button Tag Helper sets every radio button to checked

Both of these radio buttons will have checked="checked" on them.  Why would the tag helper add that.  How do you specify that none of them should be checked?<div...

View Article

basic to expert?

I been learning asp.net core for a while now and I already made a basic ecommerce website using entityframework. So my question is, what should I do to improve my skills, what type of website should I...

View Article


How to Display Total

I have a ViewComponent:<h4>Kitset Parts</h4><table class="table"><tr><th> Product Code</th><th> Quantity</th><th> Product...

View Article

Failed to open up Azure web app

I'm building MVC Core app using Visual Studio Code on Mac OS. I created MVC app using yeo generator working with database EF core, everything works fine on localhost. I put correct connection string...

View Article


Add Azure Active Directory Authentication to ASP.Net Core in Visual Studio 2017

Would someone please help me with finding the steps to add Azure Active Directory authentication to a ASP.Net Core app (using .NET Framework) in Visual Studio 2017?  I can find many examples and steps...

View Article

HttpContext in normal class

I didn't found HttpContext.Current in core framework, looks its already been removed out. now i have several normal class (not middleware,controller) and i want to use HttpContext within the code, how...

View Article


Can't get debug working for ASP.NET web project

I have a simple web app that is supposed to run a query against an SQL database and format the returned row as an output xml file on my local drive.  This was working fine a week ago, and now, it is...

View Article

Search for route in RouteCollection

Is there a way to find a specific route and his values / datatokens in RouteCollection by a value.I get the list with all routes with the code below. In the Collection is a non public member...

View Article

Some Errors starting my asp net core project

Hello, i have an error:Unhandled Exception: System.InvalidOperationException: AddIdentity must be called on the service collection. at...

View Article
Browsing all 9386 articles
Browse latest View live


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