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

Strong-type OpenIdConnectOptions for aspnet core 2.0

I am trying to understand How can we utilize the strong-type when constructing the OpenIDConnectOptions.I know we can do the strong type casting for appsettings and other settings and can utilize that...

View Article


ASP.NET core project throwing build error

Hi,I have Visual Studio Enterprise 2015, here are the installations above Visual Studio Enterprise 2015:1. Visual Studio 2015 Update3 2. Visual Studio 2015 Tools preview 2 3 .NET Core 2.0 SDK 2.0 4....

View Article


Get Service instance outside of constructor

Hi, I would like to get the instance of a service but I don't want to inject it using a constructor.I have the following in my Startup class public void ConfigureServices(IServiceCollection services) {...

View Article

Angular Template Webpack is broken

I am trying to set up a project using the new Angular Template inside ASP.NET Core. However, when I try to run the Development or Production tasks in Task Runner, they always terminate with an error in...

View Article

Script positioning in _layout file

<!DOCTYPE html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>@ViewData["Title"] -...

View Article


Page template

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

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

Help Page sample generator ignore certain properties of a particular type

Is it possible to have the Help Page sample generator ignore certain properties of a particular type?For example, we use the same request model for multiple operations.public class Request { public...

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


Translate java code to C# issue

Hi,The below code is in Java. I want the same in c# to use in payment gateway integrationPlease help mepublicstaticfinalchar[] HEX...

View Article

Installing .NET Core 2.0 without reboot? Not cool?

I'm going to install .NET Core 2.0 on a production environment in a few days and I'm wondering if skipping the restart after the installation has any risks?I recently installed it on a testserver...

View Article

error after webdeploy a .net core 1.1 app

<div class="content-container">I'm using visual studio 2017 pro . Every time I try to deploy a .net core 1.1 app to winhost . I get this error . I new to .net coreHTTP Error 502.5 - Process...

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


OAuth without login

Hy everyone,I'm making an API for Exact Online for a website with a form. The visitor will fill in his information and after that the visitor sends it, it need to be send to the Exact online account...

View Article

XmlSerializer with SOAP dotnet core 1.1

So this may be a slam dunk for some, but what I have is a situation where a crappy SOAP API is requiring that I qualify my attribute values with a single quote instead of a double quote. So using...

View Article


{ "iisSettings": { "windowsAuthentication": false, "anonymousAuthentication":...

I am new to C# and am using asp.net core 2.0 on my mac . I have a simple code that gets data from the database and just output it to the browser . I am doing stress testing and simulating how the...

View Article

Use ASP.NET Core on Gentoo

Hello all!How to make friendship between ASP.NET Core application and Gentoo last version step by step?Thank you.

View Article


Read Related Data Using LINQ - one to many

I have these models,public class PatReg { [NotMapped] private Int64 _FileId; [Key, Display(Name = "File Id"), ScaffoldColumn(false), DatabaseGenerated(DatabaseGeneratedOption.None)] public Int64 FileId...

View Article

Strong-type OpenIdConnectOptions for aspnet core 2.0

I am trying to understand How can we utilize the strong-type when constructing the OpenIDConnectOptions.I know we can do the strong type casting for appsettings and other settings and can utilize that...

View Article

How to handle a POSTed file to an ASP.NET Core application from Microsoft Flow

I have a Microsoft Flow setup with the following stepsWhen a file is created (SharePoint) (this is pointing to a specific document libraryHttp (Http), Method: Post, Uri (pointing to my app), Body: File...

View Article
Browsing all 9386 articles
Browse latest View live


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