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

ASP.net Core 2.0 and Docker

Is there any guidance on how to get an ASP.net Core 2.0 site working in Docker?  I seem to be able to get it to work if my Docker image is using "latest", but not if it is using "runtime".If I use...

View Article


mvc6-grid MVC.Grid with Razor Pages errors out

I'm trying to include mvc6-grid and followed the installation but I'm not getting any specific error just Failed to load resource: net::ERR_CONNECTION_RESET.I followed all directions under...

View Article


Image may be NSFW.
Clik here to view.

Updating to Core 2.0

Oh, the pain..Hello. I'm getting a good amount of errors when trying to update to ASP.Net Core 2.0The most important are that EntityFrameWork.Core is no longer recognized inside the project.The type or...

View Article

How to Get Accepted and Rejected Text in Microsoft Word Asp.net c#

Hi.I have enabled track changes in my word document . After making changes i have accepted/Rejected the changes.After completing the process(Accept/Reject) I need to find to find out which text is...

View Article

How to handle assemblies that fail to resolve on load?

Hi,In the full .NET Framework I cam subscribe to the AppDomain.AssemblyResolve event and handle the discovery of assemblies that have failed to load.If .NET Core fails to find an assembly how can this...

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

Image may be NSFW.
Clik here to view.

How to embed a real time currency converter in Excel using C#.Net

Hi, I need to create real time currency converter in Excel using C#.net like the below.Please help me to create like this. The exchange rate should always get refresh after embedding in to excel only...

View Article


Page template

How to make a support for a page template, like in wordpress?

View Article


Upgrade to Core 2.0 about Authentication

hi, at Core 1.1, I can use app.UseWhen for different area using different authentication.like this sample code:https://weblogs.asp.net/imranbaloch/conditional-middleware-in-aspnet-coreBut upgrade to...

View Article

Anything new exist to test EF repository instead of Mock lib in .Net Core

please tell me anything new exist to test EF repository instead of Mock lib in .Net Core. if possible please share some good article links. thanks

View Article

How do I get my registered user from the database

Hi every one. How do I get a list of users out so I can edit them as admin.It is in Asp.net core table Asp.NetUsers. Is there a good guide on that ??

View Article

AspNetCore.Cookies Forced Logout

Hi,We're using AspNetCore.Cookies for authentication.We've noticed that every time we've restarted the IIS server, it forces all of the users to re login, even though the cookie is still there and...

View Article


Image may be NSFW.
Clik here to view.

Cannot find compilation library location for package

img 1 https://ibb.co/kBtw2Qimg 2 https://ibb.co/i8CpNQAfter the migration of asp core 1 to asp core 2 I have all the .dll in warning, the project builds well but when run presents the error, please See...

View Article

Scaffolding Razor Pages

I m trying to apply this example. I get this error when I run the scaffold command dotnet aspnet-codegenerator razorpage -m PatReg -dc ArtCoreDbContext -udl -outDir...

View Article


aspnet core : httppost timeout configurationo n entire application

HI Folks, is there a ways where we can configure timeout for aspnet core api application on mvc controller. by default, this application timesout in less than 30 seconds. while debugging or on after...

View Article

App config in a reference dll

Hi, I am using .net core 2.0 and calling a dll which is written in VS 2008. The dll refer its app config file to get some values.Since I am calling the method from .net core it is looking for the...

View Article


REST Api GetAsync method : Control doesnt comeback

Dear all,I am trying a sample asp.net core 1.1 webapp and trying to pull weather data from Openweathermap", but the control doesn't come back from GetAsync method!! nor the error I get. i use...

View Article

Image may be NSFW.
Clik here to view.

IIS with ASP .NET core 1.1 and node.js

'm trying to set IIS server to work with ASP .NET core 1.1Problem is when I publish application to the server, application is not working. I have follow next example for setup: ExampleIn event viewer...

View Article

Custom tag helper processing

Hi,I have created a custom tag helper named "asp-disabled" with a target element set to "input" tag:[HtmlTargetElement("input")] public class AspDisabledTagHelper : TagHelper { private const string...

View Article
Browsing all 9386 articles
Browse latest View live