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

AspNetCore and IIS Authentication Type

Good dayI have this scenario regarding our websites at work where we deploy our applications. One of these websites must be accessible from both inside the network and outside the network. The people...

View Article


Hosting ASP.NET Core on public domain issue.

Our ASP.NET Core 1.1 website is deployed on IIS on Windows Server 2012 R2 on a public domain. We can access it internally from our company network. But not from out side world. Our IT department think...

View Article


APIs throwing CORS error from one web server but are accessible from another...

Hello All,        I have created a web API in the asp.Net core and enabled cors in the startup.cs file. After deployment windows server APIs are accessible via AJAX from another domain. But when I am...

View Article

Can we use OWIN to Host Asp.net Core Web API

Hello ALL,i am just started into ASP.NET CORE. I need some help to host a API which is built on asp.net core using OWIN. I was able to host API into windows service for API built on asp.net frame work...

View Article

Local Database Realtime

Hi folks, I am using Asp.net core and Angular 4. I want Database real time e.g Notification. Should I use SignalR or Interval time? What do you prefer? I am waiting for your response. Thanks in...

View Article


Roles and RoleManager in ASP.NET Core 2

My next step in this journey is to create some roles and a simple user.  Unfortunately, I get an error regarding my tables not having primary keys as shown below.  I don't understand how to fix it.  I...

View Article

enable async / parallel calls to aspnet core web api

hi, Ihow to do i enable aspnet core web api to be async and parallel ? i've methods in controller which are marked async and task but it does not enable parallel calls from javascript , should i have...

View Article

Image may be NSFW.
Clik here to view.

Seed Data Sort

Hi folks, I have created Seed data as below: var subModules = new SubModule[] { new SubModule{ ModuleID=1, Name="***" }, new SubModule{ ModuleID=1, Name="***" }, new SubModule{ ModuleID=1, Name="***"...

View Article


VS 2017 - Custom scaffolder

Hi,I would like to create, Under VS2017, custom scaffolder to automatically create resources file associated with a view page when i create new razor page ?Something like the view created when with...

View Article


Unable to scaffold a new controller with Entity Framework Core in ASP.Net...

I'm not 100% sure this has to do with ASP.Net Core, but think so.I'm going over this tutorial on ASP.Net core , and am using VS 2017 to do so--...

View Article

ASP Core 2.0 Visual Studio and Tooling

I'm implementing a new ASP Core 2.0 project.  I was planning on using Bower but then I read the following on theBower home page....psst! While Bower is maintained, we recommend using Yarn and Webpack...

View Article

Asp.net core with client-sde c#

After all the efforts by Microsoft to keep .Net alive on the web by creating asp.net core, it was strongly expected and still strongly expected from Microsoft to develop a formal compiler from .Net to...

View Article

ASP .NET Core 2.0.2 - When ?

Since ASP .NET Core 2.0 came out, I wanted to upgrade to 2.0 but I ran into this issue below:https://forums.asp.net/t/2128016.aspx?Can+not+find+compilation+library+location+for+package+I was told that...

View Article


asp-page-handler how to load content in @RenderBody if the a tag is in a nav...

Hi,I have a nav tag from bootstrap and the div below with @RenderBody.Inside the nav I have the <a asp-page-handler... Once clicked the content loads inside the nav and I can understand the reason....

View Article

High Speed/ Efficient (Quick response or highly available) Application

Hi,I am developing an application in MVC Core.Now I have some concerns.I want to develop such high efficient/quick application and the response time of this application will be highest Efficient.I want...

View Article


An unhandled exception occurred while processing the request.

Hi i start learning dot net core.When i create a new project in Visual Studio Code, I try running the project but I got the following erorr"InvalidOperationException: The layout view...

View Article

Entity Framework 6 and .NET Standard 2.0

Is Entity Framework 6 usable in .NET Standard 2.0?

View Article


setting Reply URL and Correlation error

I have Core Web app in a Service Fabric service running, single node.  It uses AzureAD for authentication. This works fine, the AzureApp hashttps://localhost:12345/signin-oidc  as reply Url defined and...

View Article

default asp.net core web app template fails to run

Using asp.net core 2.0 with Visual Studio Community 2017 for MacCreated a brand new asp.net core web app project using the provided templateClick run project Project builds successfully Browser opens...

View Article

Image may be NSFW.
Clik here to view.

Process Failure 502.5 when trying to call Web API hosted on Windows Server...

I have created an ASP.Net Core 2.0 Web Api. It works perfectly in Visual Studio. But when I deploy it to Windows Server 2012 R2, I get the following error when I try to call any of its endpoints:HTTP...

View Article
Browsing all 9386 articles
Browse latest View live


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